My final year project
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter
Diff: Screens/Screen.hpp
- Revision:
- 1:43fb2d03c36f
- Parent:
- 0:1523395daf0d
- Child:
- 3:37f3d9c1eae3
--- a/Screens/Screen.hpp Sat Oct 01 19:02:49 2016 +0000 +++ b/Screens/Screen.hpp Sat Oct 01 22:43:20 2016 +0200 @@ -0,0 +1,32 @@ +#ifndef SCREEN_HPP +#define SCREEN_HPP + +#include "ButtonGroup.hpp" +#include "Graph.hpp" +#include "ImageFromSD.hpp" +#include "NumericLabel.hpp" +#include "Trackpad.hpp" +#include "GuiBase.hpp" +#include "Numpad.hpp" +#include "IntNumpad.hpp" + +class Screen : public GuiBase +{ +public: + Screen(); + + virtual void Draw() = 0; + virtual void Process() = 0; + + void Clear(); + + static const int MAIN_MENU_SCREEN = 1; + + static const int SCREEN_W = 480; + static const int SCREEN_H = 272; + +protected: + int *_nextScreen; + +}; +#endif