load theme on start

This commit is contained in:
leo 2023-08-09 13:18:26 +02:00
parent 429268c8d3
commit 3b20eb03b9
Signed by: leo
GPG Key ID: 0DD993BFB2B307DB
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 905063344eb7f67fe4ed80e8bdf1206c9fda7e6d
Subproject commit 285890cb9cc69dd8cdad002f57cd28bea3d84963

2
main.c
View File

@ -47,7 +47,7 @@ int main(int argc, char** argv){
lv_disp_t * disp = lv_disp_drv_register(&disp_drv);
lv_theme_t * th = lv_theme_default_init(lv_disp_get_default(), lv_color_hex(0x00ff00), lv_color_hex(0xff0000), true, LV_FONT_DEFAULT);
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);
lv_indev_drv_t indev_drv;