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
MenuItem.cpp@10:2b6ddf53b05e, 2015-03-16 (annotated)
- Committer:
- charly
- Date:
- Mon Mar 16 21:05:37 2015 +0000
- Revision:
- 10:2b6ddf53b05e
- Parent:
- 9:c9df0b33d176
First version of a Yes/No Question with UserInterface and result.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
charly | 9:c9df0b33d176 | 1 | #include "mbed.h" |
charly | 9:c9df0b33d176 | 2 | #include "MenuItem.h" |
charly | 9:c9df0b33d176 | 3 | #include "TextLCD.h" |
charly | 9:c9df0b33d176 | 4 | |
charly | 10:2b6ddf53b05e | 5 | MenuItem::MenuItem(void (*userAction)(), int position, Menu *child, char* text, uint8_t itemMode, menu_data * menu_parameter) : |
charly | 10:2b6ddf53b05e | 6 | userAction(userAction), selText(text), pos(position), childMenu(child), itemMode(itemMode), menu_parameter(menu_parameter) {} |
charly | 10:2b6ddf53b05e | 7 |