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
Diff: Menu.cpp
- Revision:
- 9:c9df0b33d176
- Parent:
- 8:fbaeab73fe1a
--- a/Menu.cpp Fri Jan 16 22:23:34 2015 +0000
+++ b/Menu.cpp Fri Mar 13 18:44:49 2015 +0000
@@ -1,6 +1,6 @@
#include "mbed.h"
#include "Menu.h"
-#include "Selection.h"
+#include "MenuItem.h"
Menu::Menu(char *id) : menuID(id)
{
@@ -8,7 +8,7 @@
CurrentSelection = 0;
}
-void Menu::add(const Selection &toAdd)
+void Menu::add(const MenuItem &toAdd)
{
selections.push_back(toAdd);
}
