lv_xml_component_private.h

Typedefs

typedef void *(*lv_xml_component_process_cb_t)(lv_obj_t *parent, const char *data, const char **attrs)

Functions

void lv_xml_component_init(void)

Initialize the components system.

void lv_xml_component_ctx_init(lv_xml_component_ctx_t *ctx)

Initialize the linked lists of a component context

Parameters:

ctx – pointer to a component contexts

struct _lv_xml_component_ctx_t

Public Members

const char *name
lv_ll_t style_ll
lv_ll_t const_ll
lv_ll_t param_ll
lv_ll_t gradient_ll
lv_ll_t subjects_ll
lv_ll_t font_ll
lv_ll_t image_ll
lv_ll_t event_ll
const char *view_def
struct _lv_widget_processor_t *root_widget
uint32_t is_widget
struct _lv_xml_component_ctx_t *next
struct lv_xml_const_t

Public Members

const char *name
const char *value
struct lv_xml_subject_t

Public Members

const char *name
lv_subject_t *subject
struct lv_xml_param_t

Public Members

const char *name
const char *def
const char *type
struct lv_xml_grad_t

Public Members

const char *name
lv_grad_dsc_t grad_dsc