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
- Committer:
- charly
- Date:
- 2015-03-16
- Revision:
- 10:2b6ddf53b05e
- Parent:
- 9:c9df0b33d176
File content as of revision 10:2b6ddf53b05e:
#include "mbed.h" #include "MenuItem.h" #include "TextLCD.h" MenuItem::MenuItem(void (*userAction)(), int position, Menu *child, char* text, uint8_t itemMode, menu_data * menu_parameter) : userAction(userAction), selText(text), pos(position), childMenu(child), itemMode(itemMode), menu_parameter(menu_parameter) {}