COSA
An Object-Oriented Platform for Arduino Programming
|
#include <Menu.hh>
Public Types | |
enum | { NO_KEY = 0, SELECT_KEY, LEFT_KEY, DOWN_KEY, UP_KEY, RIGHT_KEY } |
Public Member Functions | |
Walker (LCD::Device *lcd, item_list_P root) | |
void | on_key_down (uint8_t nr) |
void | begin (bool flag=true) |
Menu::type_t | type () |
Friends | |
IOStream & | operator<< (IOStream &outs, Walker &walker) |
The Menu Walker reacts to key events from the key pad. It maintains a stack with the path to the current position in the menu three.
anonymous enum |
|
inline |
|
inline |
void Menu::Walker::on_key_down | ( | uint8_t | nr | ) |
Menu::type_t Menu::Walker::type | ( | ) |
|
friend |