refactor(color): use LVGL styles and objects for UI, legacy cleanup (#4407)

This commit is contained in:
philmoz
2024-04-05 17:33:14 +10:00
committed by GitHub
parent 5ff5c2ab8e
commit f28c1150ed
392 changed files with 18929 additions and 19492 deletions
+10
View File
@@ -174,7 +174,13 @@ struct CustomFunctionsContext {
};
#include "strhelpers.h"
#if defined(COLORLCD)
#include "gui_common.h"
#include "menus.h"
#include "popups.h"
#else
#include "gui.h"
#endif
#if !defined(SIMU)
#define assert(x)
@@ -194,6 +200,10 @@ inline bool SPLASH_NEEDED()
#define SPLASH_TIMEOUT (g_eeGeneral.splashMode == -4 ? 1500 : (g_eeGeneral.splashMode <= 0 ? (400-g_eeGeneral.splashMode * 200) : (400 - g_eeGeneral.splashMode * 100)))
extern void startSplash();
extern void waitSplash();
extern void cancelSplash();
extern uint8_t heartbeat;
#define LEN_STD_CHARS 40