lv_theme_simple.h

Functions

lv_theme_t *lv_theme_simple_init(lv_display_t *disp)

Initialize the theme

参数:

disp -- pointer to display to attach the theme

返回:

a pointer to reference this theme later

bool lv_theme_simple_is_inited(void)

Check if the theme is initialized

返回:

true if default theme is initialized, false otherwise

lv_theme_t *lv_theme_simple_get(void)

Get simple theme

返回:

a pointer to simple theme, or NULL if this is not initialized

void lv_theme_simple_deinit(void)

Deinitialize the simple theme