Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_front.h
Go to the documentation of this file.
1
6
7#ifndef NBGL_FRONT_H
8#define NBGL_FRONT_H
9
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16/*********************
17 * INCLUDES
18 *********************/
19#include "nbgl_types.h"
20
21/*********************
22 * DEFINES
23 *********************/
24
25/**********************
26 * TYPEDEFS
27 **********************/
28
29/**********************
30 * GLOBAL PROTOTYPES
31 **********************/
33void nbgl_frontDrawLine(const nbgl_area_t *area, uint8_t dotStartIdx, color_t lineColor);
35 const uint8_t *buffer,
36 nbgl_transformation_t transformation,
37 nbgl_color_map_t colorMap);
39 const uint8_t *buffer,
40 nbgl_color_map_t colorMap,
41 const uint8_t *uzlib_chunk_buffer);
43 const uint8_t *buffer,
44 uint32_t buffer_len,
45 color_t fore_color,
46 uint8_t nb_skipped_bytes);
49 nbgl_post_refresh_t post_refresh);
50void nbgl_frontControlAreaMasking(uint8_t mask_index, nbgl_area_t *masked_area_or_null);
51
52/**********************
53 * MACROS
54 **********************/
55
56#ifdef __cplusplus
57} /* extern "C" */
58#endif
59
60#endif /* NBGL_FRONT_H */
void nbgl_frontDrawLine(const nbgl_area_t *area, uint8_t dotStartIdx, color_t lineColor)
void nbgl_frontControlAreaMasking(uint8_t mask_index, nbgl_area_t *masked_area_or_null)
void nbgl_frontDrawImage(const nbgl_area_t *area, const uint8_t *buffer, nbgl_transformation_t transformation, nbgl_color_map_t colorMap)
void nbgl_frontDrawImageFile(const nbgl_area_t *area, const uint8_t *buffer, nbgl_color_map_t colorMap, const uint8_t *uzlib_chunk_buffer)
void nbgl_frontDrawImageRle(const nbgl_area_t *area, const uint8_t *buffer, uint32_t buffer_len, color_t fore_color, uint8_t nb_skipped_bytes)
void nbgl_frontRefreshArea(const nbgl_area_t *area, nbgl_refresh_mode_t mode, nbgl_post_refresh_t post_refresh)
void nbgl_frontDrawRect(const nbgl_area_t *area)
Included by every low-level NBGL header, to forbid them in apollo app code.
common types for Graphical Library
color_t
Definition nbgl_types.h:153
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:395
nbgl_post_refresh_t
Post refresh modes.
Definition nbgl_types.h:364
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:402
struct PACKED__ nbgl_area_s nbgl_area_t
Represents a rectangle area of the screen.
nbgl_refresh_mode_t
different modes of refresh for nbgl_refreshSpecial()
Definition nbgl_types.h:338