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:
- 0:577f0ec71f4c
- Child:
- 1:84d263c8932d
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/Menu.cpp Thu Feb 28 22:19:37 2013 +0000
@@ -0,0 +1,15 @@
+#include "mbed.h"
+#include "Menu.h"
+#include "Selection.h"
+
+Menu::Menu()
+{
+ selections.clear();
+}
+
+void Menu::add(const Selection &toAdd)
+{
+ selections.push_back(toAdd);
+}
+
+
