My final year project

Dependencies:   BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter

Revision:
1:43fb2d03c36f
Child:
2:5fded6444350
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Screens/MainMenuScreen.cpp	Sat Oct 01 22:43:20 2016 +0200
@@ -0,0 +1,24 @@
+#include "MainMenuScreen.hpp"
+
+MainMenuScreen::MainMenuScreen(int *nextScreen) :
+  Screen(),
+  _lbTitle(SCREEN_WIDTH/2,0,"Main Menu",Label::CENTER, Font24),
+  _btAutomatic(0,27,((SCREEN_W)/2)-5, SCREEN_H-62, "Automatic", Font20),
+  _btManual((SCREEN_W/2)+5,27,(SCREEN_W/2)-5,SCREEN_H-62,"Manual", Font20),
+  _btSettings(0,SCREEN_H-30,SCREEN_W,30,"Settings",Font20)
+{
+  _nextScreen = nextScreen;
+}
+
+void MainMenuScreen::Draw()
+{
+  _lbTitle.Draw();
+  _btAutomatic.Draw();
+  _btManual.Draw();
+  _btSettings.Draw();
+}
+
+void MainMenuScreen::Process()
+{
+  // TODO Create Automatic, Manual and Settings screens
+}