Embedded SDK
Embedded SDK
nbgl_serialize.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "nbgl_obj.h"
4 
5 #define NBGL_SERIALIZE_OK 0
6 #define NBGL_SERIALIZE_ERROR 1
7 
12 
14  nbgl_obj_t *obj,
15  uint8_t *out,
16  size_t *w_cnt,
17  size_t max_len);
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
Definition: nbgl_serialize.h:8
@ NBGL_DRAW_OBJ
Definition: nbgl_serialize.h:9
@ NBGL_REFRESH_AREA
unsigned char uint8_t
Definition: usbd_conf.h:53