user config

Fork of Menu by Peihsun Yeh

required for StormXalike

Revision:
1:84d263c8932d
Parent:
0:577f0ec71f4c
--- a/Selection.cpp	Thu Feb 28 22:19:37 2013 +0000
+++ b/Selection.cpp	Tue Mar 05 20:33:27 2013 +0000
@@ -2,9 +2,5 @@
 #include "Selection.h"
 #include "TextLCD.h"
 
-Selection::Selection(void (*fun)(), int position, char* text)
-{
-    fun = fun;
-    selText = text;
-    pos = position;
-}
+Selection::Selection(void (*fun)(), int position, Menu *child, char* text) : 
+    fun(fun), selText(text), pos(position), childMenu(child) {}