My final year project

Dependencies:   BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter

Revision:
54:75dc5c3b7cfc
Child:
55:d1a00f344351
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Screens/SquareScreen.hpp	Wed Oct 19 19:53:19 2016 +0200
@@ -0,0 +1,39 @@
+#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