4 errors
Dependencies: KS0108_PCF8574 mbed
menbedNavigator.h
00001 #ifndef _MENBEDNAVIGATOR_H_ 00002 #define _MENBEDNAVIGATOR_H_ 00003 00004 #include "menbedButtonEvent.h" 00005 #include "menbedStructure.h" 00006 #include "menbedDisplayer.h" 00007 #include "menbedMenu.h" 00008 00009 class MenbedNavigator { 00010 public: 00011 MenbedNavigator (MenbedMenu *rootMenu, MenbedDisplayer *displayer); 00012 void updateDisplay (void); 00013 void handleButtonEvent (MenbedButtonEvent buttonEvent); 00014 protected: 00015 MenbedMenu *activeMenu; 00016 uint8_t numButtons; 00017 uint8_t numLines; 00018 uint8_t lineLength; 00019 MenbedDisplayer *displayer; 00020 00021 int8_t selectedItemIndex; 00022 uint8_t topOfScreenItemIndex; 00023 bool paramEditMode; 00024 00025 void selectItem (void); 00026 void gotoParent (void); 00027 void moveUp (void); 00028 void moveDown (void); 00029 void incParam (void); 00030 void decParam (void); 00031 void saveParam (void); 00032 void restoreParam (void); 00033 void printMenu (char *menuStr); 00034 void printItem (MenbedMenuItem *item, char *line, bool itemSel, bool paramSel); 00035 bool checkConvSpec (const char *s); 00036 }; 00037 00038 #endif /* _MENBEDNAVIGATOR_H_ */
Generated on Fri Jul 15 2022 01:44:50 by 1.7.2