[Horus] Now a fake main view

This commit is contained in:
Bertrand Songis
2015-10-14 23:47:52 +02:00
parent 7982c9d5c7
commit 8c337b721b
3 changed files with 9 additions and 3 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

+2 -2
View File
@@ -40,10 +40,10 @@
#define MENU_HEADER_HEIGHT 45
#define MENU_TITLE_TOP 48
#define MENU_TITLE_HEIGHT 21
#define MENU_BODY_TOP 70
#define MENU_BODY_TOP 69 // MENU_TITLE_TOP + MENU_TITLE_HEIGHT
#define MENU_CONTENT_TOP 72
#define MENU_BODY_HEIGHT 182
#define MENU_FOOTER_TOP 251
#define MENU_FOOTER_TOP 251 // MENU_BODY_TOP + MENU_BODY_HEIGHT
#define MENU_FOOTER_HEIGHT 21
#define MENU_TITLE_LEFT 6
+7 -1
View File
@@ -282,6 +282,10 @@ void onMainViewMenu(const char *result)
void displayTelemetryScreen(int index, unsigned int evt);
const uint16_t LBM_MAINVIEW_FLAT[] = {
#include "../../bitmaps/Horus/mainview_flat.lbm"
};
void menuMainView(evt_t event)
{
// clear the screen
@@ -335,6 +339,8 @@ void menuMainView(evt_t event)
break;
}
lcdDrawBitmap(0, 0, LBM_MAINVIEW_FLAT);
#if 0
displayMainViewIndex();
@@ -350,7 +356,7 @@ void menuMainView(evt_t event)
}
#endif
#if defined(GVARS)
#if 0
if (s_gvar_timer > 0) {
s_gvar_timer--;
displayMessageBox();