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 | |
void | push (modm::AbstractView *view) |
push new view on top of stack the new view will be displayed instead of the old one More... | |
void | shortButtonPress (modm::MenuButtons::Button button) |
shortButtonPress pass the button press to the current top view More... | |
Protected Attributes | |
modm::ColorGraphicDisplay * | display |
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.
|
inheritedinline |
push new view on top of stack the new view will be displayed instead of the old one
view | next displayed view |
|
inline |
Push new view on top of stack the new view will be displayed instead of the old one.
|
inherited |
shortButtonPress pass the button press to the current top view
button | the pressed button |