/lvgl-3.7.0/src/extra/themes/default/ |
D | lv_theme_default.c | 20 #define RADIUS_DEFAULT (disp_size == DISP_LARGE ? lv_disp_dpx(theme.disp, 12) : lv_disp_dpx(theme.d… 33 #define BORDER_WIDTH lv_disp_dpx(theme.disp, 2) 34 #define OUTLINE_WIDTH lv_disp_dpx(theme.disp, 3) 36 …e == DISP_LARGE ? lv_disp_dpx(theme.disp, 24) : disp_size == DISP_MEDIUM ? lv_disp_dpx(theme.disp,… 37 …e == DISP_LARGE ? lv_disp_dpx(theme.disp, 14) : disp_size == DISP_MEDIUM ? lv_disp_dpx(theme.disp,… 38 …ze == DISP_LARGE ? lv_disp_dpx(theme.disp, 8) : disp_size == DISP_MEDIUM ? lv_disp_dpx(theme.disp,… 174 static lv_theme_t theme; variable 199 …if(theme.flags & MODE_DARK) return lv_color_mix(lv_palette_darken(LV_PALETTE_GREY, 2), color, opa); in grey_filter_cb() 214 color_scr = theme.flags & MODE_DARK ? DARK_COLOR_SCR : LIGHT_COLOR_SCR; in style_init() 215 color_text = theme.flags & MODE_DARK ? DARK_COLOR_TEXT : LIGHT_COLOR_TEXT; in style_init() [all …]
|
/lvgl-3.7.0/src/extra/themes/basic/ |
D | lv_theme_basic.c | 56 static lv_theme_t theme; variable 152 theme.disp = disp; in lv_theme_basic_init() 153 theme.font_small = LV_FONT_DEFAULT; in lv_theme_basic_init() 154 theme.font_normal = LV_FONT_DEFAULT; in lv_theme_basic_init() 155 theme.font_large = LV_FONT_DEFAULT; in lv_theme_basic_init() 156 theme.apply_cb = theme_apply; in lv_theme_basic_init() 160 if(disp == NULL || lv_disp_get_theme(disp) == &theme) { in lv_theme_basic_init() 166 return (lv_theme_t *)&theme; in lv_theme_basic_init()
|
/lvgl-3.7.0/src/core/ |
D | lv_theme.c | 75 void lv_theme_set_apply_cb(lv_theme_t * theme, lv_theme_apply_cb_t apply_cb) in lv_theme_set_apply_cb() argument 77 theme->apply_cb = apply_cb; in lv_theme_set_apply_cb()
|
D | lv_theme.h | 76 void lv_theme_set_apply_cb(lv_theme_t * theme, lv_theme_apply_cb_t apply_cb);
|
D | lv_disp.c | 132 disp->theme = th; in lv_disp_set_theme() 149 return disp->theme; in lv_disp_get_theme()
|
/lvgl-3.7.0/env_support/cmsis-pack/ |
D | README.md | 82 /*A simple, impressive and very complete theme*/ 96 /*A very simple theme that is a good starting point for a custom theme*/ 99 /*A theme designed for monochrome displays*/
|
/lvgl-3.7.0/docs/overview/ |
D | style.md | 102 …l use the value based upon the current theme, but for now it just selects the internal default reg… 305 Themes are a collection of styles. If there is an active theme LVGL applies it on every created wid… 308 Every display can have a different theme. For example, you could have a colorful theme on a TFT and… 310 To set a theme for a display, two steps are required: 311 1. Initialize a theme 312 2. Assign the initialized theme to a display. 314 …ization functions can have different prototypes. This example shows how to set the "default" theme: 321 lv_disp_set_theme(display, th); /*Assign the theme to the display*/ 325 The included themes are enabled in `lv_conf.h`. If the default theme is enabled by `LV_USE_THEME_DE… 330 If a custom theme is created, a parent theme can be selected. The parent theme's styles will be add… [all …]
|
/lvgl-3.7.0/src/extra/themes/mono/ |
D | lv_theme_mono.c | 65 static lv_theme_t theme; variable 182 theme.disp = disp; in lv_theme_mono_init() 183 theme.font_small = LV_FONT_DEFAULT; in lv_theme_mono_init() 184 theme.font_normal = LV_FONT_DEFAULT; in lv_theme_mono_init() 185 theme.font_large = LV_FONT_DEFAULT; in lv_theme_mono_init() 186 theme.apply_cb = theme_apply; in lv_theme_mono_init() 190 if(disp == NULL || lv_disp_get_theme(disp) == &theme) lv_obj_report_style_change(NULL); in lv_theme_mono_init() 194 return (lv_theme_t *)&theme; in lv_theme_mono_init()
|
/lvgl-3.7.0/docs/ |
D | requirements.txt | 24 sphinx-rtd-theme==0.5.2
|
D | CHANGELOG.md | 546 - fix(theme): make the basic theme even more simpler [`62d6f3c`](https://github.com/lvgl/lvgl/commi… 561 - fix(theme): fix mono theme init [`5ec6694`](https://github.com/lvgl/lvgl/commit/5ec6694f7874f3c99… 563 - fix(theme): in the basic theme show the textarea cursor only in focuses state [`bb03fb1`](https:/… 565 - fix(theme) add disabled style to textarea in the default theme [`00f6759`](https://github.com/lvg… 575 - fix(theme): properly disable transitions if LV_THEME_DEFAULT_TRANSITION_TIME==0 [`242112b`](https… 586 - example(slider): make lv_example_slider_3 work with dark theme too [`4a766c5`](https://github.com… 780 - fix(theme) make the basic theme really basic [`a369f18`](https://github.com/littlevgl/lvgl/commit… 782 - fix(theme): add arc, spinner and colorwheel to basic theme [`adc218a`](https://github.com/littlev… 787 - fix(theme): fix theme initialization issue introduced in 6e0072479 [`d231644`](https://github.com… 790 - fix(theme): fix crash in lv_theme_basic_init [`ca5f04c`](https://github.com/littlevgl/lvgl/commit… [all …]
|
/lvgl-3.7.0/tests/ |
D | README.md | 57 - use the default theme, with the default color (don't set a theme manually)
|
/lvgl-3.7.0/examples/styles/ |
D | index.rst | 85 Extending the current theme
|
/lvgl-3.7.0/docs/widgets/extra/ |
D | calendar.md | 25 - today has a thicker border with the theme's primary color 26 - highlighted days have some opacity with the theme's primary color.
|
/lvgl-3.7.0/src/hal/ |
D | lv_hal_disp.h | 166 struct _lv_theme_t * theme; member
|
D | lv_hal_disp.c | 216 …disp->theme = lv_theme_default_init(disp, lv_palette_main(LV_PALETTE_BLUE), lv_palette_main(LV_PAL… in lv_disp_drv_register() 220 disp->theme = lv_theme_default_get(); in lv_disp_drv_register()
|
/lvgl-3.7.0/ |
D | Kconfig | 561 prompt "Select theme default title font" 565 Select theme default title font 884 bool "A simple, impressive and very complete theme" 898 bool "A very simple theme that is a good starting point for a custom theme" 901 bool "Monochrome theme, suitable for some E-paper & dot matrix displays"
|
/lvgl-3.7.0/demos/ |
D | README.md | 56 Shows how the widgets look like out of the box using the built-in material theme.
|
/lvgl-3.7.0/docs/widgets/core/ |
D | dropdown.md | 35 Alternatively the theme can be extended with the new styles.
|
/lvgl-3.7.0/docs/get-started/ |
D | quick-overview.md | 242 Themes are the default styles for objects. Styles from a theme are applied automatically when objec… 244 The theme for your application is a compile time configuration set in `lv_conf.h`.
|
/lvgl-3.7.0/demos/widgets/ |
D | lv_demo_widgets.py | 64 …theme = lv.theme_material_init(LV_THEME_DEFAULT_COLOR_PRIMARY,LV_THEME_DEFAULT_COLOR_SECONDARY,fla…
|