lv_theme_default.h
API reference for lv_theme_default.h
Summary
Functions
lv_theme_default_get
Get default theme
lv_theme_t * lv_theme_default_get(void)Returns: lv_theme_t * — a pointer to default theme, or NULL if this is not initialized
lv_theme_default_init
Initialize the theme
lv_theme_t * lv_theme_default_init(lv_display_t *disp, lv_color_t color_primary, lv_color_t color_secondary, bool dark, const lv_font_t *font)| Name | Type | Description |
|---|---|---|
disp | lv_display_t * | pointer to display. May be NULL. When NULL the default display is used. |
color_primary | lv_color_t | the primary color of the theme |
color_secondary | lv_color_t | the secondary color for the theme |
dark | bool | |
font | const lv_font_t * | pointer to a font to use. |
Returns: lv_theme_t * — a pointer to reference this theme later
lv_theme_default_is_inited
Check if default theme is initialized
bool lv_theme_default_is_inited(void)Returns: bool — true if default theme is initialized, false otherwise
lv_theme_default_deinit
Deinitialize the default theme
void lv_theme_default_deinit(void)Dependencies
Indirect dependencies
lv_anim.hlv_area.hlv_assert.hlv_bidi.hlv_color.hlv_color_op.hlv_conf_internal.hlv_display.hlv_draw.hlv_draw_arc.hlv_draw_blur.hlv_draw_buf.hlv_draw_image.hlv_draw_label.hlv_draw_line.hlv_draw_rect.hlv_draw_triangle.hlv_event.hlv_ext_data.hlv_flex.hlv_font.hlv_fs.hlv_grad.hlv_grid.hlv_group.hlv_image_decoder.hlv_image_dsc.hlv_indev.hlv_layout.hlv_log.hlv_math.hlv_matrix.hlv_mem.hlv_obj.hlv_obj_class.hlv_obj_draw.hlv_obj_event.hlv_obj_pos.hlv_obj_property.hlv_obj_scroll.hlv_obj_style.hlv_obj_style_gen.hlv_obj_tree.hlv_palette.hlv_profiler.hlv_profiler_builtin.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_symbol_def.hlv_text.hlv_theme_mono.hlv_theme_simple.hlv_timer.hlv_types.h
Last updated on