Custom menu

Fork of Menu by Peihsun Yeh

Revision:
4:396eff5be1a1
Parent:
3:3fceb6ff921e
--- a/Selection.h	Thu Feb 26 11:57:11 2015 +0000
+++ b/Selection.h	Tue Mar 03 03:57:46 2015 +0000
@@ -7,8 +7,8 @@
 
 class Selection {
     public:
-        Selection(void (*)(), int, Menu *, const char *);
-        void (*fun)();   // pointer to a function to execute 
+        Selection(FunctionPointer *fun, int, Menu *, const char *);
+        FunctionPointer *fun;   // pointer to a function to execute
         const char* selText;   // selection text
         int pos;         // selection position
         Menu *childMenu;