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

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

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
 

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: