Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_side.h
Go to the documentation of this file.
1
8#ifndef NBGL_SIDE_H
9#define NBGL_SIDE_H
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15/*********************
16 * INCLUDES
17 *********************/
18#include "nbgl_types.h"
19
20/*********************
21 * DEFINES
22 *********************/
26#define SIDE_SCREEN_WIDTH 96
27
28/**********************
29 * TYPEDEFS
30 **********************/
31
32/**********************
33 * GLOBAL PROTOTYPES
34 **********************/
38 uint8_t *buffer,
39 nbgl_transformation_t transformation,
40 nbgl_color_map_t colorMap);
42
43/**********************
44 * VARIABLES
45 **********************/
46
47extern uint8_t ramBuffer[];
48
49#ifdef __cplusplus
50} /* extern "C" */
51#endif
52
53#endif /* NBGL_SIDE_H */
void nbgl_sideRefreshArea(nbgl_area_t *area, nbgl_post_refresh_t post_refresh)
uint8_t ramBuffer[]
Definition nbgl_obj.c:131
void nbgl_sideDrawHorizontalLine(nbgl_area_t *area, uint8_t mask, color_t lineColor)
void nbgl_sideDrawRect(nbgl_area_t *area)
void nbgl_sideDrawImage(nbgl_area_t *area, uint8_t *buffer, nbgl_transformation_t transformation, nbgl_color_map_t colorMap)
common types for Graphical Library
color_t
Definition nbgl_types.h:120
uint8_t nbgl_transformation_t
Represents the transformation to be applied on the bitmap before rendering This is a bitfield using m...
Definition nbgl_types.h:362
nbgl_post_refresh_t
Post refresh modes.
Definition nbgl_types.h:332
uint8_t nbgl_color_map_t
Represents the color_map to be used for 2BPP image, or the foreground color for 1BPP image.
Definition nbgl_types.h:369
struct PACKED__ nbgl_area_s nbgl_area_t
Represents a rectangle area of the screen.
unsigned char uint8_t
Definition usbd_conf.h:53