lv_theme_simple.h

Functions

lv_theme_t *lv_theme_simple_init(lv_display_t *disp)

Initialize the theme

Parameters:

disp – pointer to display to attach the theme

Returns:

a pointer to reference this theme later

bool lv_theme_simple_is_inited(void)

Check if the theme is initialized

Returns:

true if default theme is initialized, false otherwise

lv_theme_t *lv_theme_simple_get(void)

Get simple theme

Returns:

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

void lv_theme_simple_deinit(void)

Deinitialize the simple theme