[Horus] Themes introduction

This commit is contained in:
Bertrand Songis
2016-02-11 22:58:43 +01:00
parent 1da4df143c
commit 02f06706c2
34 changed files with 555 additions and 161 deletions
+2 -8
View File
@@ -88,13 +88,7 @@ void drawMainViewTopBar()
const int ALTITUDE_H = 30;
const int PADDING = 4;
// Background
lcdDrawSolidFilledRect(0, 0, LCD_W, MENU_HEADER_HEIGHT, HEADER_BGCOLOR);
lcdDrawBitmapPattern(0, 0, LBM_TOPMENU_POLYGON, TITLE_BGCOLOR);
lcdDrawBitmapPattern(4, 10, LBM_TOPMENU_OPENTX, MENU_TITLE_COLOR);
// Date & Time
drawTopmenuDatetime();
theme->drawTopbarBackground(NULL);
// USB icon
if (usbPlugged()) {
@@ -193,7 +187,7 @@ void onMainViewMenu(const char *result)
chainMenu(menuStatisticsView);
}
else if (result == STR_SETUP_SCREENS) {
pushMenu(menuSetupScreensView);
pushMenu(menuScreensTheme);
}
else if (result == STR_ABOUT_US) {
chainMenu(menuAboutView);