Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_serialize.h
Go to the documentation of this file.
1#pragma once
2
4
5#include "nbgl_obj.h"
6
7#define NBGL_SERIALIZE_OK 0
8#define NBGL_SERIALIZE_ERROR 1
9
14
16 nbgl_obj_t *obj,
17 uint8_t *out,
18 size_t *w_cnt,
19 size_t max_len);
Included by every low-level NBGL header, to forbid them in apollo app code.
API to draw all basic graphic objects.
struct PACKED__ nbgl_obj_s nbgl_obj_t
Common structure for all graphical objects.
uint8_t nbgl_serializeNbglEvent(nbgl_serialized_event_type_e type, nbgl_obj_t *obj, uint8_t *out, size_t *w_cnt, size_t max_len)
nbgl_serialized_event_type_e
@ NBGL_DRAW_OBJ
@ NBGL_REFRESH_AREA