Cornelius Bezuidenhout / Mbed OS Heiko

Dependencies:   BSP_DISCO_F746NG F746_GUI LCD_DISCO_F746NG SDFileSystem TS_DISCO_F746NG ResistiveTouchController Map CYS8218Controller MedianFilter

Screens/Screen.hpp

Committer:
Kerneels Bezuidenhout
Date:
2016-10-03
Revision:
22:dd9ff475b34c
Parent:
20:70c5b1e499f0
Child:
23:bab197887d5e

File content as of revision 22:dd9ff475b34c:

#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 MAIN_SETTINGS_SCREEN = 2;
  static const int ZERO_PLATE_SCREEN = 3;
  static const int MANUAL_CONTROL_SCREEN = 4;
  static const int AUTOMATIC_CONTROL_SCREEN = 5;
  static const int AUTOMATIC_MORE_SCREEN = 6;
  static const int MANUAL_SETPOINT_SCREEN = 7;
  static const int AUTOMATIC_SETTINS_SCREEN = 8;

  static const int SCREEN_W = 480;
  static const int SCREEN_H = 272;

protected:
    int *_nextScreen;

};
#endif