Cosmetics

This commit is contained in:
Bertrand Songis
2019-10-04 19:05:32 +02:00
parent 9dd219d33c
commit 8ad093ea86
19 changed files with 72 additions and 72 deletions
+1 -1
View File
@@ -1637,7 +1637,7 @@ const luaR_value_entry opentxConstants[] = {
{ "STRING", ZoneOption::String },
{ "CUSTOM_COLOR", CUSTOM_COLOR },
{ "DEFAULT_COLOR", DEFAULT_COLOR },
{ "TEXT_BGCOLOR", TEXT_BGCOLOR },
{ "DEFAULT_BGCOLOR", DEFAULT_BGCOLOR },
{ "FOCUS_COLOR", FOCUS_COLOR },
{ "FOCUS_BGCOLOR", FOCUS_BGCOLOR },
{ "LINE_COLOR", LINE_COLOR },
+2 -2
View File
@@ -53,7 +53,7 @@ static int luaLcdClear(lua_State *L)
{
if (luaLcdAllowed) {
#if defined(COLORLCD)
LcdFlags color = luaL_optunsigned(L, 1, TEXT_BGCOLOR);
LcdFlags color = luaL_optunsigned(L, 1, DEFAULT_BGCOLOR);
lcd->clear(color);
#else
lcdClear();
@@ -778,7 +778,7 @@ Set a color for specific area
@param area (unsigned number) specific screen area in the list bellow
* `CUSTOM_COLOR`
* `DEFAULT_COLOR`
* `TEXT_BGCOLOR`
* `DEFAULT_BGCOLOR`
* `FOCUS_COLOR`
* `FOCUS_BGCOLOR`
* `LINE_COLOR`