|
modm API documentation
|
Public Member Functions | |
| IAbstractView (uint8_t identifier) | |
| virtual void | update () |
| update The update function of the top most display gets called as often as possible. Only the update of the top view in each ViewStack gets called. | |
| virtual bool | hasChanged () = 0 |
| hasChanged indicates the current displayed view has changed. This function prevents unnecessary drawing of the display More... | |
| virtual void | draw () = 0 |
| draw determine the output on the Graphic Display | |
| virtual void | shortButtonPress (modm::MenuButtons::Button) |
| shortButtonPress handle the action for the pressed button | |
| bool | isAlive () const |
| isAlive tells the ViewStack if it should remove this screen. More... | |
| void | remove () |
| remove the view from the screen. The viewStack handles the deletion. | |
| uint8_t | getIdentifier () |
| getIdentifier of the view. | |
| virtual void | onRemove () |
| onRemove will be called right before the view gets deleted, can be reimplemented to reset external data. | |
Friends | |
| template<typename T > | |
| class | ViewStack |
|
inline |
| identifier | can be used to determine which screen is the currently displayed on the graphicDisplay |
|
pure virtual |
hasChanged indicates the current displayed view has changed. This function prevents unnecessary drawing of the display
Implemented in modm::StandardMenu< Allocator >, and modm::ChoiceMenu< Allocator >.
|
inline |