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: Navigator.cpp
- Revision:
- 9:c9df0b33d176
- Parent:
- 8:fbaeab73fe1a
- Child:
- 10:2b6ddf53b05e
--- a/Navigator.cpp Fri Jan 16 22:23:34 2015 +0000 +++ b/Navigator.cpp Fri Mar 13 18:44:49 2015 +0000 @@ -57,9 +57,9 @@ { Menu *lastMenu; - if(activeMenu->selections[_cursorPos].fun != NULL) { + if(activeMenu->selections[_cursorPos].userAction != NULL) { //execute function - (activeMenu->selections[_cursorPos].fun)(); + (activeMenu->selections[_cursorPos].userAction)(); // refresh the Menu //printMenu(); //printCursor();