feat(color): delay load the built in widgets to improve responsiveness (#6480)
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
#include <cmath>
|
||||
|
||||
#include "edgetx.h"
|
||||
#include "libopenui.h"
|
||||
#include "widget.h"
|
||||
|
||||
#include "lua_api.h"
|
||||
|
||||
@@ -21,7 +21,6 @@
|
||||
|
||||
#define LUA_LIB
|
||||
|
||||
#include "libopenui.h"
|
||||
#include "lua_api.h"
|
||||
#include "lua_widget.h"
|
||||
#include "edgetx.h"
|
||||
|
||||
@@ -37,9 +37,7 @@
|
||||
#include "hal/rgbleds.h"
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(LIBOPENUI)
|
||||
#include "libopenui.h"
|
||||
#include "api_colorlcd.h"
|
||||
#include "standalone_lua.h"
|
||||
#endif
|
||||
|
||||
@@ -34,17 +34,12 @@
|
||||
#include "sdcard.h"
|
||||
#include "api_filesystem.h"
|
||||
#include "switches.h"
|
||||
#include "lib_file.h"
|
||||
|
||||
#if defined(COLORLCD)
|
||||
#include "standalone_lua.h"
|
||||
#endif
|
||||
|
||||
#if defined(LIBOPENUI)
|
||||
#include "libopenui.h"
|
||||
#else
|
||||
#include "lib_file.h"
|
||||
#endif
|
||||
|
||||
extern "C" {
|
||||
#include <lundump.h>
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "switchchoice.h"
|
||||
#include "toggleswitch.h"
|
||||
#include "filechoice.h"
|
||||
#include "keyboard_base.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user