Library of menu structure
Embed:
(wiki syntax)
Show/hide line numbers
Menu.h
00001 #ifndef MENU_H 00002 #define MENU_H 00003 00004 #include "mbed.h" 00005 #include "Selection.h" 00006 #include <vector> 00007 00008 class Selection; 00009 00010 class Menu { 00011 private: 00012 00013 public: 00014 vector<Selection> selections; 00015 char *menuID; 00016 00017 Menu(char *); 00018 00019 void add(const Selection &toAdd); 00020 char *getText(int); 00021 }; 00022 #endif
Generated on Wed Jul 13 2022 18:45:29 by 1.7.2