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 Peihsun Yeh

Library to display menus on TextLCDs. Interaction with functions Up,Down and Select (Buttons or RPG) Based on menu-library from pyeh9

Revision:
9:c9df0b33d176
Parent:
8:fbaeab73fe1a
diff -r fbaeab73fe1a -r c9df0b33d176 Menu.cpp
--- 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);
 }