modm API documentation
modm::gui::GuiViewStack Class Reference

#include <modm/ui/gui/view_stack.hpp>

Inheritance diagram for modm::gui::GuiViewStack:
modm::ViewStack

Public Member Functions

 GuiViewStack (modm::ColorGraphicDisplay *display, modm::gui::inputQueue *queue)
 
modm::gui::Viewget ()
 
void push (modm::gui::View *view)
 
modm::gui::inputQueuegetInputQueue ()
 Get event input queue from GuiViewStack.
 
void pop ()
 
virtual void update ()
 
modm::ColorGraphicDisplaygetDisplay ()
 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::ColorGraphicDisplaydisplay
 

Detailed Description

Stack which handles the displaying of views on the graphic display.

This class also deallocates the views passed to the stack.

Author
Thorsten Lajewski

Member Function Documentation

modm::gui::View* modm::gui::GuiViewStack::get ( )
inline

Get the top view from the stack

Returns
pointer to view from stack
void modm::gui::GuiViewStack::pop ( )

Pop remove top view from the stack. The removed view is deleted.

void modm::ViewStack::push ( modm::AbstractView view)
inheritedinline

push new view on top of stack the new view will be displayed instead of the old one

Parameters
viewnext displayed view
void modm::gui::GuiViewStack::push ( modm::gui::View view)
inline

Push new view on top of stack the new view will be displayed instead of the old one.

void modm::ViewStack::shortButtonPress ( modm::MenuButtons::Button  button)
inherited

shortButtonPress pass the button press to the current top view

Parameters
buttonthe pressed button

The documentation for this class was generated from the following files: