Lucas Borges
/
MenuLCD_Copy
this locks like shit
Fork of MenuLCD_copy by
Diff: menbed/include/menbedMenu.h
- Revision:
- 0:92357d1220f3
diff -r 000000000000 -r 92357d1220f3 menbed/include/menbedMenu.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/menbed/include/menbedMenu.h Fri May 19 13:07:52 2017 +0000 @@ -0,0 +1,21 @@ +#ifndef _MENBEDMENU_H_ +#define _MENBEDMENU_H_ + +#include <vector> + +#include "mbed.h" +#include "menbedMenuItem.h" + +class MenbedMenuItem; + +class MenbedMenu { +public: + MenbedMenu *parentMenu; + int8_t parentSelectedItemIndex; + uint8_t parentTopOfScreenItemIndex; + vector<MenbedMenuItem*> menuItems; + + MenbedMenu (uint8_t nItems, MenbedMenuItem *items[]); +}; + +#endif /* _MENBEDMENU_H_ */ \ No newline at end of file