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.cpp
- Committer:
- pyeh9
- Date:
- 2013-03-05
- Revision:
- 1:84d263c8932d
- Parent:
- 0:577f0ec71f4c
- Child:
- 6:819049708d51
File content as of revision 1:84d263c8932d:
#include "mbed.h" #include "Menu.h" #include "Selection.h" Menu::Menu(char *id) : menuID(id) { selections.clear(); } void Menu::add(const Selection &toAdd) { selections.push_back(toAdd); }