this locks like shit

Dependencies:   MenuLCD mbed

Fork of MenuLCD_copy by Vinícius Alves

Revision:
0:92357d1220f3
diff -r 000000000000 -r 92357d1220f3 menbed/menbedMenu.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/menbed/menbedMenu.cpp	Fri May 19 13:07:52 2017 +0000
@@ -0,0 +1,13 @@
+#include "mbed.h"
+#include "include/menbedMenuItem.h"
+#include "include/menbedMenu.h"
+
+MenbedMenu::MenbedMenu (uint8_t nItems, MenbedMenuItem *items[])
+{
+    parentMenu = NULL;
+    parentSelectedItemIndex = -1;
+    parentTopOfScreenItemIndex = 0;
+
+    for (int i = 0; i<nItems; i++)
+        menuItems.push_back (items[i]);
+}