#include <switch.h>
Inheritance diagram for Switch:
Public Member Functions | |
virtual bool | Activate (void) |
Object is activated, that is it gains the focus. | |
virtual void | Deactivate (void) |
Object looses focus. | |
virtual void | Display (void) |
Protected Member Functions | |
void | KeyCallback (uint8_t key) |
Callback function for menu hooks. |
Definition at line 46 of file switch.h.
|
Object is activated, that is it gains the focus. Derived objects will overwrite this function to install menu hooks and set keypad leds. Reimplemented from VisibleObject. Definition at line 58 of file switch.cc. References VisibleObject::Activate(), keys_set_leds(), and keys_set_repeat_mask(). |
|
Callback function for menu hooks. If an object installed a menu hook then this method will be called if the appropriate key was pressed. Reimplemented from VisibleObject. |