|
cryptnox-pos 1.0.0
Standalone USDC payment terminal firmware (ESP32 + Cryptnox smart card)
|
Colours, the LVGL theme and the shared layout metrics. More...
#include "ui_internal.h"Go to the source code of this file.
Macros | |
| #define | TAB_SEG_INSET 5 /* pill inset inside the 42px bar, top+bottom */ |
| #define | TAB_SEG_GAP 4 /* gap between segments */ |
| #define | SCROLLBAR_W 4 /* hairline, not the default block */ |
Functions | |
| static void | theme_styles_init (void) |
| static void | theme_apply (lv_theme_t *th, lv_obj_t *obj) |
| void | theme_init (void) |
| Install the theme. After lv_disp_drv_register(), before any object. | |
Variables | |
| static lv_theme_t | s_theme |
| static lv_style_t | s_st_tabbar |
| static lv_style_t | s_st_tab |
| static lv_style_t | s_st_tab_sel |
| static lv_style_t | s_st_tabview |
| static lv_style_t | s_st_scrollbar |
| static lv_style_t | s_st_track |
| static lv_style_t | s_st_ink |
| static lv_style_t | s_st_field |
| static lv_style_t | s_st_key |
Colours, the LVGL theme and the shared layout metrics.
Definition in file ui_theme.cpp.
| #define SCROLLBAR_W 4 /* hairline, not the default block */ |
Definition at line 26 of file ui_theme.cpp.
Referenced by theme_styles_init().
| #define TAB_SEG_GAP 4 /* gap between segments */ |
Definition at line 25 of file ui_theme.cpp.
Referenced by theme_styles_init().
| #define TAB_SEG_INSET 5 /* pill inset inside the 42px bar, top+bottom */ |
Definition at line 24 of file ui_theme.cpp.
Referenced by theme_styles_init().
|
static |
Definition at line 111 of file ui_theme.cpp.
References s_st_field, s_st_ink, s_st_key, s_st_scrollbar, s_st_tab, s_st_tab_sel, s_st_tabbar, s_st_tabview, and s_st_track.
Referenced by theme_init().
| void theme_init | ( | void | ) |
Install the theme. After lv_disp_drv_register(), before any object.
Copied from the active theme and parented to it, so the default styling still runs first and this only adds on top.
Definition at line 157 of file ui_theme.cpp.
References font_inter_14, s_theme, theme_apply(), and theme_styles_init().
Referenced by ui_task().
|
static |
Definition at line 39 of file ui_theme.cpp.
References BTN_RADIUS, COL_ACCENT, COL_ACTION, COL_BG, COL_BORDER, COL_DIM, COL_SURFACE, COL_TEXT, font_inter_14_medium, s_st_field, s_st_ink, s_st_key, s_st_scrollbar, s_st_tab, s_st_tab_sel, s_st_tabbar, s_st_tabview, s_st_track, SCROLLBAR_W, TAB_SEG_GAP, and TAB_SEG_INSET.
Referenced by theme_init().
|
static |
Definition at line 36 of file ui_theme.cpp.
Referenced by theme_apply(), and theme_styles_init().
|
static |
Definition at line 35 of file ui_theme.cpp.
Referenced by theme_apply(), and theme_styles_init().
|
static |
Definition at line 37 of file ui_theme.cpp.
Referenced by theme_apply(), and theme_styles_init().
|
static |
Definition at line 33 of file ui_theme.cpp.
Referenced by theme_apply(), and theme_styles_init().
|
static |
Definition at line 30 of file ui_theme.cpp.
Referenced by theme_apply(), and theme_styles_init().
|
static |
Definition at line 31 of file ui_theme.cpp.
Referenced by theme_apply(), and theme_styles_init().
|
static |
Definition at line 29 of file ui_theme.cpp.
Referenced by theme_apply(), and theme_styles_init().
|
static |
Definition at line 32 of file ui_theme.cpp.
Referenced by theme_apply(), and theme_styles_init().
|
static |
Definition at line 34 of file ui_theme.cpp.
Referenced by theme_apply(), and theme_styles_init().
|
static |
Definition at line 28 of file ui_theme.cpp.
Referenced by theme_init().