Menu system broken
Dependencies: ANSITermMenuSystem
Fork of menuSystemMbed by
Diff: MainMenu.h
- Revision:
- 4:1178a1905490
- Parent:
- 0:a5ece7312edc
- Child:
- 5:92389cf2106d
diff -r bdf42b6c15f4 -r 1178a1905490 MainMenu.h --- a/MainMenu.h Fri Mar 08 17:37:11 2013 +0000 +++ b/MainMenu.h Tue Apr 16 18:42:03 2013 +0000 @@ -14,18 +14,26 @@ class MainMenu { static const int MAXITEMS = 5; menuItem menuItem[MAXITEMS]; + string Title; int highlightedItem; int maxitems; + int selecteditem; + bool selectionstatus; public: MainMenu(); void setMaxItems(int max); void setMenuItem(int locID, int menuID,const char * menuText, int x, int y); + void setTitle(string); + string getTitle(); void highlightNextItem(); void highlightPrevItem(); void printMenu(); int getHighlightedItem(); + void removeselection(); ////// Ask Brad ------------------------------------- + void selection(); ////// Ask Brad ------------------------------------- void erase(); + void setselectstatus(); }; #endif /* defined(__menuSystem__MainMenu__) */