The AbstractView class is the base class for all screens handled by the ViewStack class.
More...
#include <modm/ui/menu/abstract_view.hpp>
|
const uint8_t | identifier |
|
bool | alive |
|
The AbstractView class is the base class for all screens handled by the ViewStack class.
- Author
- Thorsten Lajewski
modm::AbstractView::AbstractView |
( |
modm::ViewStack * |
stack, |
|
|
uint8_t |
identifier |
|
) |
| |
- Parameters
-
stack | pointer to the stack, the screen should be displayed on. |
identifier | can be used to determine which screen is the currently displayed on the graphicDisplay |
virtual bool modm::AbstractView::hasChanged |
( |
| ) |
|
|
pure virtual |
hasChanged indicates the current displayed view has changed. This function prevents unnecessary drawing of the display
- Returns
- if true the display has to be redrawn.
Implemented in modm::StandardMenu, and modm::ChoiceMenu.
bool modm::AbstractView::isAlive |
( |
| ) |
const |
The documentation for this class was generated from the following files:
- abstract_view.hpp
- abstract_view.cpp