Used for displaying static content at any screen orientation.
More...
#include <StaticDisplayApp.h>
|
void | redraw (uint8_t orientation) |
| Redraws the content at a given orientation. More...
|
|
virtual void | drawPortrait () |
| Draws the portrait version of the content.
|
|
virtual void | drawLandscape () |
| Draws the landscape version of the content.
|
|
Used for displaying static content at any screen orientation.
- Author
- Dan Nixon
StaticDisplayApp::StaticDisplayApp |
( |
char * |
name | ) |
|
Creates a new static content application.
- Parameters
-
bool StaticDisplayApp::handleButton |
( |
IButton * |
button | ) |
|
|
virtual |
Handle button presses.
- Parameters
-
button | Button that has changed |
- Returns
- True if the button was handled in this function
Reimplemented from App.
void StaticDisplayApp::onEntry |
( |
| ) |
|
|
virtual |
Called when the application is entered.
Initial state should be set here, particularly for the display.
Reimplemented from App.
void StaticDisplayApp::onExit |
( |
| ) |
|
|
virtual |
Called when the application exits.
Perform any state cleanup here.
Reimplemented from App.
void StaticDisplayApp::redraw |
( |
uint8_t |
orientation | ) |
|
|
protected |
Redraws the content at a given orientation.
- Parameters
-
orientation | Orientation to draw at |
The documentation for this class was generated from the following files: