|
modm API documentation
|
#include <modm/ui/gui/view_stack.hpp>
Public Member Functions | |
| GuiViewStack (modm::ColorGraphicDisplay *display, modm::gui::inputQueue *queue) | |
| modm::gui::View * | get () |
| void | push (modm::gui::View *view) |
| modm::gui::inputQueue * | getInputQueue () |
| Get event input queue from GuiViewStack. | |
| void | pop () |
| virtual void | update () |
| modm::ColorGraphicDisplay & | getDisplay () |
| getDisplay access underlying GraphicDisplay | |
Stack which handles the displaying of views on the graphic display.
This class also deallocates the views passed to the stack.
|
inline |
Get the top view from the stack
| void modm::gui::GuiViewStack::pop | ( | ) |
Pop remove top view from the stack. The removed view is deleted.
|
inline |
Push new view on top of stack the new view will be displayed instead of the old one.