Vinícius Alves
/
MenuLCD_copy
Então PARA...
menbed/include/menbedMenu.h@0:92357d1220f3, 2017-05-19 (annotated)
- Committer:
- ViniR
- Date:
- Fri May 19 13:07:52 2017 +0000
- Revision:
- 0:92357d1220f3
Ent?o PARA...
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ViniR | 0:92357d1220f3 | 1 | #ifndef _MENBEDMENU_H_ |
ViniR | 0:92357d1220f3 | 2 | #define _MENBEDMENU_H_ |
ViniR | 0:92357d1220f3 | 3 | |
ViniR | 0:92357d1220f3 | 4 | #include <vector> |
ViniR | 0:92357d1220f3 | 5 | |
ViniR | 0:92357d1220f3 | 6 | #include "mbed.h" |
ViniR | 0:92357d1220f3 | 7 | #include "menbedMenuItem.h" |
ViniR | 0:92357d1220f3 | 8 | |
ViniR | 0:92357d1220f3 | 9 | class MenbedMenuItem; |
ViniR | 0:92357d1220f3 | 10 | |
ViniR | 0:92357d1220f3 | 11 | class MenbedMenu { |
ViniR | 0:92357d1220f3 | 12 | public: |
ViniR | 0:92357d1220f3 | 13 | MenbedMenu *parentMenu; |
ViniR | 0:92357d1220f3 | 14 | int8_t parentSelectedItemIndex; |
ViniR | 0:92357d1220f3 | 15 | uint8_t parentTopOfScreenItemIndex; |
ViniR | 0:92357d1220f3 | 16 | vector<MenbedMenuItem*> menuItems; |
ViniR | 0:92357d1220f3 | 17 | |
ViniR | 0:92357d1220f3 | 18 | MenbedMenu (uint8_t nItems, MenbedMenuItem *items[]); |
ViniR | 0:92357d1220f3 | 19 | }; |
ViniR | 0:92357d1220f3 | 20 | |
ViniR | 0:92357d1220f3 | 21 | #endif /* _MENBEDMENU_H_ */ |