2020-01-31 09:36:36 +00:00
|
|
|
#ifndef __screen_menu
|
|
|
|
#define __screen_menu
|
|
|
|
|
2020-02-01 15:55:33 +00:00
|
|
|
#include "include/screenids.h"
|
2020-01-31 09:36:36 +00:00
|
|
|
#include "../screen.h"
|
2020-01-31 15:50:19 +00:00
|
|
|
#include "../Control.h"
|
2020-01-31 09:36:36 +00:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Menu screen
|
|
|
|
* Shows the menu which allows access to the calibration and
|
|
|
|
* manual adjustment screens.
|
|
|
|
*/
|
|
|
|
class MenuScreen : public BaseScreen
|
|
|
|
{
|
|
|
|
public:
|
2020-02-01 15:55:33 +00:00
|
|
|
MenuScreen(ScreenManager* screenManager, Adafruit_GFX* display) : BaseScreen(screenManager, display) { }
|
2020-01-31 09:36:36 +00:00
|
|
|
|
|
|
|
void onShow();
|
|
|
|
void onButton(Button button);
|
|
|
|
void onTick();
|
|
|
|
|
2020-02-01 15:55:33 +00:00
|
|
|
ScreenId screenId() { return ScreenId::Menu; };
|
|
|
|
|
2020-01-31 09:36:36 +00:00
|
|
|
private:
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|