3 #ifndef _STATICDISPLAYAPP_H_
4 #define _STATICDISPLAYAPP_H_
25 void redraw(uint8_t orientation);
Used for displaying static content at any screen orientation.
Definition: StaticDisplayApp.h:13
virtual void onExit()
Called when the application exits.
Definition: StaticDisplayApp.cpp:29
virtual bool handleButton(IButton *button)
Handle button presses.
Definition: StaticDisplayApp.cpp:37
virtual void drawPortrait()
Draws the portrait version of the content.
Definition: StaticDisplayApp.h:30
void redraw(uint8_t orientation)
Redraws the content at a given orientation.
Definition: StaticDisplayApp.cpp:72
StaticDisplayApp(char *name)
Creates a new static content application.
Definition: StaticDisplayApp.cpp:9
char * name()
Gets the name of the application.
Definition: App.h:40
virtual void drawLandscape()
Draws the landscape version of the content.
Definition: StaticDisplayApp.h:37
virtual void onEntry()
Called when the application is entered.
Definition: StaticDisplayApp.cpp:21
Used to encapsulate an individual application.
Definition: App.h:15