![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
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-26
- Revision:
- 62:58e846621435
- Parent:
- 59:e60ea936d9a2
File content as of revision 62:58e846621435:
#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, float *x, float *y); void Draw(); void Process(); private: void DrawShape(); Label _lbTitle; Button _btBack; Button _btReset; Canvas _cSquare; Button _btStart; Button _btStop; float *_xSP; float *_ySP; int *_ballOnPlate; bool *_started; float *_x; float *_y; int _xPoints[4]; int _yPoints[4]; Map _xMapper; Map _yMapper; int _currentPoint; }; #endif