4 errors
Dependencies: KS0108_PCF8574 mbed
menbed/include/menbedNavigator.h@3:ec80bb6ff5da, 2012-09-11 (annotated)
- Committer:
- GuiTwo
- Date:
- Tue Sep 11 10:21:10 2012 +0000
- Revision:
- 3:ec80bb6ff5da
- Parent:
- 0:936f1c020120
4 errors on vector .cc
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
GuiTwo | 0:936f1c020120 | 1 | #ifndef _MENBEDNAVIGATOR_H_ |
GuiTwo | 0:936f1c020120 | 2 | #define _MENBEDNAVIGATOR_H_ |
GuiTwo | 0:936f1c020120 | 3 | |
GuiTwo | 0:936f1c020120 | 4 | #include "menbedButtonEvent.h" |
GuiTwo | 0:936f1c020120 | 5 | #include "menbedStructure.h" |
GuiTwo | 0:936f1c020120 | 6 | #include "menbedDisplayer.h" |
GuiTwo | 0:936f1c020120 | 7 | #include "menbedMenu.h" |
GuiTwo | 0:936f1c020120 | 8 | |
GuiTwo | 0:936f1c020120 | 9 | class MenbedNavigator { |
GuiTwo | 0:936f1c020120 | 10 | public: |
GuiTwo | 0:936f1c020120 | 11 | MenbedNavigator (MenbedMenu *rootMenu, MenbedDisplayer *displayer); |
GuiTwo | 0:936f1c020120 | 12 | void updateDisplay (void); |
GuiTwo | 0:936f1c020120 | 13 | void handleButtonEvent (MenbedButtonEvent buttonEvent); |
GuiTwo | 0:936f1c020120 | 14 | protected: |
GuiTwo | 0:936f1c020120 | 15 | MenbedMenu *activeMenu; |
GuiTwo | 0:936f1c020120 | 16 | uint8_t numButtons; |
GuiTwo | 0:936f1c020120 | 17 | uint8_t numLines; |
GuiTwo | 0:936f1c020120 | 18 | uint8_t lineLength; |
GuiTwo | 0:936f1c020120 | 19 | MenbedDisplayer *displayer; |
GuiTwo | 0:936f1c020120 | 20 | |
GuiTwo | 0:936f1c020120 | 21 | int8_t selectedItemIndex; |
GuiTwo | 0:936f1c020120 | 22 | uint8_t topOfScreenItemIndex; |
GuiTwo | 0:936f1c020120 | 23 | bool paramEditMode; |
GuiTwo | 0:936f1c020120 | 24 | |
GuiTwo | 0:936f1c020120 | 25 | void selectItem (void); |
GuiTwo | 0:936f1c020120 | 26 | void gotoParent (void); |
GuiTwo | 0:936f1c020120 | 27 | void moveUp (void); |
GuiTwo | 0:936f1c020120 | 28 | void moveDown (void); |
GuiTwo | 0:936f1c020120 | 29 | void incParam (void); |
GuiTwo | 0:936f1c020120 | 30 | void decParam (void); |
GuiTwo | 0:936f1c020120 | 31 | void saveParam (void); |
GuiTwo | 0:936f1c020120 | 32 | void restoreParam (void); |
GuiTwo | 0:936f1c020120 | 33 | void printMenu (char *menuStr); |
GuiTwo | 0:936f1c020120 | 34 | void printItem (MenbedMenuItem *item, char *line, bool itemSel, bool paramSel); |
GuiTwo | 0:936f1c020120 | 35 | bool checkConvSpec (const char *s); |
GuiTwo | 0:936f1c020120 | 36 | }; |
GuiTwo | 0:936f1c020120 | 37 | |
GuiTwo | 0:936f1c020120 | 38 | #endif /* _MENBEDNAVIGATOR_H_ */ |