Custom menu
Fork of Menu by
Diff: Selection.h
- Revision:
- 4:396eff5be1a1
- Parent:
- 3:3fceb6ff921e
diff -r 3fceb6ff921e -r 396eff5be1a1 Selection.h --- 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;