THEME AND FONT

Embed: (wiki syntax)

« Back to documentation index

lv_theme_rb.c File Reference

lv_theme_rb.c File Reference

Go to the source code of this file.

Functions

lv_theme_t * lv_theme_rb_init (uint16_t hue, lv_font_t *font)
 Initialize the default theme.
lv_theme_t * lv_theme_get_rb (void)
 Get a pointer to the theme.

Detailed Description

Definition in file lv_theme_rb.c.


Function Documentation

lv_theme_t* lv_theme_get_rb ( void   )

Get a pointer to the theme.

Returns:
pointer to the theme

Definition at line 591 of file lv_theme_rb.c.

lv_theme_t* lv_theme_rb_init ( uint16_t  hue,
lv_font_t *  font 
)

Initialize the default theme.

Parameters:
hue[0..360] hue value from HSV color space to define the theme's base color
fontpointer to a font (NULL to use the default)
Returns:
pointer to the initialized theme

Definition at line 536 of file lv_theme_rb.c.