vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
APGUI::ItemsGroup Class Reference

Group of GUI Items. More...

#include <ItemsGroup.h>

Inheritance diagram for APGUI::ItemsGroup:

Public Member Functions

 ItemsGroup (string name)
 
 ~ItemsGroup ()
 
string getName ()
 returns name of this Items group More...
 
void addItem (GUI_Item *newItem)
 add new item to group More...
 
void reset ()
 
void setActiveMember (GUI_Item *activeItem)
 

Protected Attributes

string _name
 
std::vector< GUI_Item * > _members
 

Detailed Description

Group of GUI Items.

FIXME for now - only Icons may be members of itemGroup

Can change states of its member members states may be (default state) mutually exclusive = only one group member can be active at time

Author
Jiri Chmelik
Date
2011

Constructor & Destructor Documentation

APGUI::ItemsGroup::ItemsGroup ( string  name)
APGUI::ItemsGroup::~ItemsGroup ( )

Member Function Documentation

void APGUI::ItemsGroup::addItem ( GUI_Item newItem)

add new item to group

string APGUI::ItemsGroup::getName ( void  )
inline

returns name of this Items group

void APGUI::ItemsGroup::reset ( )
void APGUI::ItemsGroup::setActiveMember ( GUI_Item activeItem)

Member Data Documentation

std::vector<GUI_Item *> APGUI::ItemsGroup::_members
protected
string APGUI::ItemsGroup::_name
protected

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