|
Dilbert
Firmware for the Dilbert interactive badge.
|
Simple demo/test of the buttons. More...
#include <ButtonTestApp.h>


Public Member Functions | |
| ButtonTestApp () | |
| Creates a buton test application. | |
| virtual void | onEntry () |
| Called when the application is entered. More... | |
| virtual bool | handleButton (IButton *button) |
| Handle button presses. More... | |
Public Member Functions inherited from App | |
| App (char *name) | |
| Creates a new instance of a badge application. More... | |
| char * | name () |
| Gets the name of the application. More... | |
| void | setBackgroundColour (uint16_t colour) |
| Sets the background fill colour of the display for this application. More... | |
| virtual void | create () |
| Creates the application. More... | |
| virtual void | run () |
| Called in a loop while the application is active. More... | |
| virtual void | exit () |
| Exits the application. | |
| virtual void | onExit () |
| Called when the application exits. More... | |
| virtual void | destroy () |
| Destroys the application. More... | |
Additional Inherited Members | |
Protected Attributes inherited from App | |
| Dilbert * | m_badge |
| Pointer to badge driver. | |
| AppManager * | m_manager |
| Pointer to application manager. | |
| char * | m_name |
| Name of application. | |
| bool | m_ready |
| If the application has been created. | |
| uint16_t | m_backgroundColour |
| Background colour. | |
Simple demo/test of the buttons.
|
inlinevirtual |
Handle button presses.
| button | Button that has changed |
Reimplemented from App.
|
inlinevirtual |
Called when the application is entered.
Initial state should be set here, particularly for the display.
Reimplemented from App.
1.8.6