Snoke
Screen Class Reference

#include <screen.h>

Inheritance diagram for Screen:
Collaboration diagram for Screen:

Public Member Functions

virtual void draw ()
 
Widgetfirst ()
 
Widgetnext (Widget *current)
 
Widgetprevious (Widget *current)
 
 Screen ()
 

Protected Attributes

Widgetroot
 

Detailed Description

Manages the widget tree

Parameters
{Widget*}root - pointer to the first vertex of screen widget tree

Definition at line 10 of file screen.h.

Constructor & Destructor Documentation

Screen::Screen ( )

Definition at line 137 of file screen.cpp.

Member Function Documentation

void Screen::draw ( )
virtual

Drawing screen method

Reimplemented in MainMenu.

Definition at line 7 of file screen.cpp.

Here is the caller graph for this function:

Widget * Screen::first ( )

Returns first widget of the screen

Returns
{Widget*}

Definition at line 14 of file screen.cpp.

Here is the caller graph for this function:

Widget * Screen::next ( Widget start)

Finds next focusable widget in tree

Parameters
{Widget*}start - start point for searching
Returns
{Widget*}

Definition at line 24 of file screen.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Widget * Screen::previous ( Widget start)

Finds previous focusable widget in tree

Parameters
{Widget*}start - start point for searching
Returns
{Widget*}

Definition at line 79 of file screen.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

Widget* Screen::root
protected

Definition at line 13 of file screen.h.


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