Library to display menus on TextLCDs. Interaction with functions Up,Down and Select (Buttons or RPG) Based on menu-library from pyeh9
Fork of Menu by
Library to display menus on TextLCDs. Interaction with functions Up,Down and Select (Buttons or RPG) Based on menu-library from pyeh9
Menu.h
- Committer:
- charly
- Date:
- 2015-01-16
- Revision:
- 8:fbaeab73fe1a
- Parent:
- 6:819049708d51
- Child:
- 9:c9df0b33d176
File content as of revision 8:fbaeab73fe1a:
#ifndef MENU_H #define MENU_H #include "mbed.h" #include "Selection.h" #include <vector> class Selection; class Menu { private: public: vector<Selection> selections; char *menuID; // currently selected Item in Menu (used to return to this point from submenu) int CurrentSelection; Menu(char *); void add(const Selection &toAdd); void changeText(int position, char *newText); char *getText(int); }; #endif