Library of Navigator of menu systems
Navigator.h
- Committer:
- pyeh9
- Date:
- 2013-02-28
- Revision:
- 0:8209f74d51a0
File content as of revision 0:8209f74d51a0:
#ifndef NAVIGATOR_H #define NAVIGATOR_H #include "mbed.h" #include "Menu.h" #include "TextLCD.h" #include "RPG.h" class Navigator { private: public: //Navigator(Menu &, RPG &, TextLCD &); Navigator(Menu &, RPG &, TextLCD *lcd); Menu activeMenu; RPG rpg; TextLCD *lcd; int direction; bool selectButton; void poll(); void moveUp(); void moveDown(); void printMenu(); void update(); }; #endif