You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #ifndef _ABSTRACTMENUMODE_H_
- #define _ABSTRACTMENUMODE_H_
- #include "AppMode.h"
-
- class AbstractMenuMode : public AppMode
- {
- public:
- virtual void start();
- virtual void loop();
- virtual void finish();
-
- protected:
- virtual char* getTitle();
- virtual char** getOptions();
- virtual int getOptionsSize();
- virtual void onOptionSelected(int option);
- virtual int getOptionsX();
- virtual int getOptionsFont();
-
- private:
- int cursor = 0;
- };
-
- #endif
|