refactor(color): use LVGL styles and objects for UI, legacy cleanup (#4407)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user