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 ()
 
- Public Member Functions inherited from modm::ViewStack
 ViewStack (modm::ColorGraphicDisplay *display)
 
modm::AbstractViewget ()
 get the top view from the stack More...
 
void push (modm::AbstractView *view)
 push new view on top of stack the new view will be displayed instead of the old one More...
 
modm::ColorGraphicDisplaygetDisplay ()
 getDisplay access underlying GraphicDisplay
 
void pop ()
 pop remove top view from the stack. The removed view is deleted
 
void shortButtonPress (modm::MenuButtons::Button button)
 shortButtonPress pass the button press to the current top view More...
 

Additional Inherited Members

- Protected Attributes inherited from modm::ViewStack
modm::ColorGraphicDisplaydisplay
 
modm::Stack< modm::AbstractView *, modm::LinkedList< modm::AbstractView * > > stack
 

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::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.


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