NV14 implementation partially merged with actual Flysky version.

This commit is contained in:
Jakub
2020-01-05 15:48:13 +01:00
parent b12e55b2b7
commit fef09a5f74
55 changed files with 2945 additions and 1613 deletions
+1
View File
@@ -60,5 +60,6 @@
#define BARGRAPH2_COLOR COLOR(BARGRAPH2_COLOR_INDEX)
#define BARGRAPH_BGCOLOR COLOR(BARGRAPH_BGCOLOR_INDEX)
#define SCROLLBOX_COLOR COLOR(SCROLLBOX_COLOR_INDEX)
#define BATTERY_CHARGE_COLOR COLOR(BATTERY_CHARGE_COLOR_INDEX)
#endif // _COLORS_H_
+2 -1
View File
@@ -68,7 +68,8 @@ class FrskyTheme: public ThemeBase
lcdColorTable[OVERLAY_COLOR_INDEX] = BLACK;
lcdColorTable[BARGRAPH1_COLOR_INDEX] = RED;
lcdColorTable[BARGRAPH2_COLOR_INDEX] = RGB(167, 167, 167);
lcdColorTable[BARGRAPH_BGCOLOR_INDEX] = RGB(222, 222, 222);
lcdColorTable[BARGRAPH_BGCOLOR_INDEX] = RGB(222, 222, 222);;
lcdColorTable[BATTERY_CHARGE_COLOR_INDEX] = GREEN;
}
void loadMenuIcon(uint8_t index, const char * filename, uint32_t color=MENU_COLOR) const