Home
last modified time | relevance | path

Searched refs:color_primary (Results 1 – 10 of 10) sorted by relevance

/lvgl-2.7.6/src/lv_themes/
Dlv_theme_material.c30 …PR (IS_LIGHT ? lv_color_mix(theme.color_primary, COLOR_BTN, LV_OPA_10) : lv_color_mix(theme…
32 #define COLOR_BTN_CHK (theme.color_primary)
33 #define COLOR_BTN_CHK_PR (lv_color_darken(theme.color_primary, LV_OPA_30))
36 #define COLOR_BTN_BORDER theme.color_primary
37 #define COLOR_BTN_BORDER_PR theme.color_primary
38 #define COLOR_BTN_BORDER_CHK theme.color_primary
39 #define COLOR_BTN_BORDER_CHK_PR theme.color_primary
45 #define COLOR_BG_CHK theme.color_primary
46 #define COLOR_BG_PR_CHK lv_color_darken(theme.color_primary, LV_OPA_20)
215 … theme.color_primary); in basic_init()
[all …]
Dlv_theme_empty.c68 lv_theme_t * lv_theme_empty_init(lv_color_t color_primary, lv_color_t color_secondary, uint32_t fla… in lv_theme_empty_init() argument
81 theme.color_primary = color_primary; in lv_theme_empty_init()
Dlv_theme_template.c72 lv_style_set_scale_end_color(&styles->bg, LV_STATE_DEFAULT, theme.color_primary); in basic_init()
82 lv_style_set_bg_color(&styles->btn, LV_STATE_CHECKED, theme.color_primary); in basic_init()
83 …et_bg_color(&styles->btn, LV_STATE_CHECKED | LV_STATE_PRESSED, lv_color_darken(theme.color_primary, in basic_init()
93 lv_style_set_bg_color(&styles->color, LV_STATE_DEFAULT, theme.color_primary); in basic_init()
94 lv_style_set_line_color(&styles->color, LV_STATE_DEFAULT, theme.color_primary); in basic_init()
104 lv_style_set_scale_end_color(&styles->tick_line, LV_STATE_DEFAULT, theme.color_primary); in basic_init()
347 lv_theme_t * lv_theme_template_init(lv_color_t color_primary, lv_color_t color_secondary, uint32_t … in lv_theme_template_init() argument
365 theme.color_primary = color_primary; in lv_theme_template_init()
Dlv_theme.c87 theme->color_primary = copy->color_primary; in lv_theme_copy()
162 return act_theme->color_primary; in lv_theme_get_color_primary()
Dlv_theme_mono.h44 lv_theme_t * lv_theme_mono_init(lv_color_t color_primary, lv_color_t color_secondary, uint32_t flag…
Dlv_theme_template.h44 lv_theme_t * lv_theme_template_init(lv_color_t color_primary, lv_color_t color_secondary, uint32_t …
Dlv_theme_empty.h44 lv_theme_t * lv_theme_empty_init(lv_color_t color_primary, lv_color_t color_secondary, uint32_t fla…
Dlv_theme_material.h49 lv_theme_t * lv_theme_material_init(lv_color_t color_primary, lv_color_t color_secondary, uint32_t …
Dlv_theme.h158 lv_color_t color_primary; member
Dlv_theme_mono.c103 #define BG_COLOR theme.color_primary.ch.red == 0 ? LV_COLOR_WHITE : LV_COLOR_BLACK
509 lv_theme_t * lv_theme_mono_init(lv_color_t color_primary, lv_color_t color_secondary, uint32_t flag… in lv_theme_mono_init() argument
522 theme.color_primary = color_primary; in lv_theme_mono_init()