29 lines
549 B
C++
29 lines
549 B
C++
#ifndef __screen_menu
|
|
#define __screen_menu
|
|
|
|
#include "include/screenids.h"
|
|
#include "../screen.h"
|
|
#include "../Control.h"
|
|
|
|
|
|
/*
|
|
* Menu screen
|
|
* Shows the menu which allows access to the calibration and
|
|
* manual adjustment screens.
|
|
*/
|
|
class MenuScreen : public BaseScreen
|
|
{
|
|
public:
|
|
MenuScreen(ScreenManager* screenManager, Adafruit_GFX* display) : BaseScreen(screenManager, display) { }
|
|
|
|
void onShow();
|
|
void onButton(Button button);
|
|
void onTick();
|
|
|
|
ScreenId screenId() { return ScreenId::Menu; };
|
|
|
|
private:
|
|
};
|
|
|
|
#endif
|