Embedded SDK
Embedded SDK
lib_nbgl
include
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
8
typedef
enum
nbgl_serialized_event_type_e
{
9
NBGL_DRAW_OBJ
= 0,
10
NBGL_REFRESH_AREA
11
}
nbgl_serialized_event_type_e
;
12
13
uint8_t
nbgl_serializeNbglEvent
(
nbgl_serialized_event_type_e
type,
14
nbgl_obj_t
*obj,
15
uint8_t
*out,
16
size_t
*w_cnt,
17
size_t
max_len);
nbgl_obj.h
API to draw all basic graphic objects.
nbgl_obj_t
struct PACKED__ nbgl_obj_s nbgl_obj_t
Common structure for all graphical objects.
nbgl_serializeNbglEvent
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)
Definition:
nbgl_serialize.c:421
nbgl_serialized_event_type_e
nbgl_serialized_event_type_e
Definition:
nbgl_serialize.h:8
NBGL_DRAW_OBJ
@ NBGL_DRAW_OBJ
Definition:
nbgl_serialize.h:9
NBGL_REFRESH_AREA
@ NBGL_REFRESH_AREA
Definition:
nbgl_serialize.h:10
uint8_t
unsigned char uint8_t
Definition:
usbd_conf.h:53
Generated by
1.9.1