![](/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:
- Kerneels Bezuidenhout
- Date:
- 2016-10-19
- Revision:
- 54:75dc5c3b7cfc
- Child:
- 55:d1a00f344351
File content as of revision 54:75dc5c3b7cfc:
#ifndef SQUARE_SCREEN_HPP #define SQUARE_SCREEN_HPP #include "Screen.h" #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; Button _btReset; 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