My final year project
Dependencies: BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter
Screens/SquareScreen.hpp
- Committer:
- Generic
- Date:
- 2016-10-19
- Revision:
- 55:d1a00f344351
- Parent:
- 54:75dc5c3b7cfc
- Child:
- 56:c9389039ecc9
File content as of revision 55:d1a00f344351:
#ifndef SQUARE_SCREEN_HPP #define SQUARE_SCREEN_HPP #include "Screen.hpp" #include "Map.hpp" class SquareScreen : public Screen { public: SquareScreen(int *nextScreen, float *xSP, float *ySP, int *ballOnPlate, bool *started); void Draw(); void Process(); private: Label _lbTitle; Button _btBack; Button _btReset; Canvas _cSquare; Button _btStart; Button _btStop; float *_xSP; float *_ySP; int *_ballOnPlate; bool *_started; int x1, y1; int x2, y2; int x3, y3; int x4, y5; Map _xMapper; Map _yMapper; }; #endif