1
0
mirror of https://github.com/Dejvino/lilybook.git synced 2024-11-14 20:33:28 +00:00
lilybook/main/modes/AbstractMenuMode.h
2020-02-02 17:14:45 +01:00

23 lines
405 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);
private:
int cursor = 0;
};
#endif