Fix LUA=N compilation failure
This commit is contained in:
@@ -119,6 +119,7 @@ class FormGridLayoutEx : public FormGridLayout
|
|||||||
uint8_t _lineHeight = PAGE_LINE_HEIGHT;
|
uint8_t _lineHeight = PAGE_LINE_HEIGHT;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if defined(LUA)
|
||||||
void buildLuaUi(std::vector<LuaScript> luaScripts, FormWindow *window, FormGridLayoutEx &grid)
|
void buildLuaUi(std::vector<LuaScript> luaScripts, FormWindow *window, FormGridLayoutEx &grid)
|
||||||
{
|
{
|
||||||
for (auto luaScript : luaScripts) {
|
for (auto luaScript : luaScripts) {
|
||||||
@@ -156,7 +157,7 @@ void buildLuaUi(std::vector<LuaScript> luaScripts, FormWindow *window, FormGridL
|
|||||||
grid.nextLine();
|
grid.nextLine();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void RadioToolsPage::rebuild(FormWindow * window)
|
void RadioToolsPage::rebuild(FormWindow * window)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -21,6 +21,7 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#if defined(LUA)
|
||||||
#include "libopenui.h"
|
#include "libopenui.h"
|
||||||
#include "lua/lua_api.h"
|
#include "lua/lua_api.h"
|
||||||
|
|
||||||
@@ -77,3 +78,4 @@ protected:
|
|||||||
LuaTouchData touch;
|
LuaTouchData touch;
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user