load theme on start
This commit is contained in:
parent
905063344e
commit
285890cb9c
@ -181,6 +181,10 @@ int main(void)
|
||||
|
||||
lv_disp_t * disp = lv_disp_drv_register(&disp_drv);
|
||||
|
||||
// load the default theme
|
||||
lv_theme_t * th = lv_theme_default_init(lv_disp_get_default(), lv_color_hex(0x2BAEE1), lv_color_hex(0x001361), true, LV_FONT_DEFAULT);
|
||||
lv_disp_set_theme(lv_disp_get_default(), th);
|
||||
|
||||
// initialize LVGL touchscreen input
|
||||
lv_indev_drv_t indev_drv;
|
||||
lv_indev_drv_init(&indev_drv);
|
||||
|
Loading…
x
Reference in New Issue
Block a user