Merge pull request #466 from EdgeTX/luaDefaultTextColour

LcdColorIndex - Make default colour first entry
This commit is contained in:
Raphael Coeffic
2021-07-18 12:45:57 +02:00
committed by GitHub
3 changed files with 3 additions and 1 deletions
+3 -1
View File
@@ -27,6 +27,9 @@
// TODO common code, not in target // TODO common code, not in target
enum LcdColorIndex enum LcdColorIndex
{ {
// this one first for when colour is not set
DEFAULT_COLOR_INDEX,
ALARM_COLOR_INDEX, ALARM_COLOR_INDEX,
BARGRAPH1_COLOR_INDEX, BARGRAPH1_COLOR_INDEX,
BARGRAPH2_COLOR_INDEX, BARGRAPH2_COLOR_INDEX,
@@ -38,7 +41,6 @@ enum LcdColorIndex
CURVE_CURSOR_COLOR_INDEX, CURVE_CURSOR_COLOR_INDEX,
CUSTOM_COLOR_INDEX, CUSTOM_COLOR_INDEX,
DEFAULT_BGCOLOR_INDEX, DEFAULT_BGCOLOR_INDEX,
DEFAULT_COLOR_INDEX,
DISABLE_COLOR_INDEX, DISABLE_COLOR_INDEX,
EDIT_MARKER_COLOR_INDEX, EDIT_MARKER_COLOR_INDEX,
FIELD_BGCOLOR_INDEX, FIELD_BGCOLOR_INDEX,
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB