您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

25 行
470 B

  1. #ifndef _ABSTRACTMENUMODE_H_
  2. #define _ABSTRACTMENUMODE_H_
  3. #include "AppMode.h"
  4. class AbstractMenuMode : public AppMode
  5. {
  6. public:
  7. virtual void start();
  8. virtual void loop();
  9. virtual void finish();
  10. protected:
  11. virtual char* getTitle();
  12. virtual char** getOptions();
  13. virtual int getOptionsSize();
  14. virtual void onOptionSelected(int option);
  15. virtual int getOptionsX();
  16. virtual int getOptionsFont();
  17. private:
  18. int cursor = 0;
  19. };
  20. #endif