mirror of
https://github.com/Dejvino/lilybook.git
synced 2024-11-14 20:33:28 +00:00
25 lines
470 B
C++
25 lines
470 B
C++
#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
|