1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

add spinbox to mono theme

This commit is contained in:
Gabor Kiss-Vamosi 2020-04-14 14:10:23 +02:00
parent 4c2fcebedb
commit c757860472

View File

@ -336,6 +336,15 @@ static void ta_init(void)
#endif
}
static void spinbox_init(void)
{
#if LV_USE_SPINBOX
theme.style.spinbox.bg = &light_frame;
theme.style.spinbox.cursor = NULL; /*Let library to calculate the cursor's style*/
#endif
}
static void list_init(void)
{
#if LV_USE_LIST != 0
@ -495,6 +504,7 @@ lv_theme_t * lv_theme_mono_init(uint16_t hue, lv_font_t * font)
mbox_init();
page_init();
ta_init();
spinbox_init();
list_init();
ddlist_init();
roller_init();