vrecko
virtual reality framework
|
Group of GUI Items. More...
#include <ItemsGroup.h>
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 |
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
APGUI::ItemsGroup::ItemsGroup | ( | string | name | ) |
APGUI::ItemsGroup::~ItemsGroup | ( | ) |
void APGUI::ItemsGroup::addItem | ( | GUI_Item * | newItem | ) |
add new item to group
|
inline |
returns name of this Items group
void APGUI::ItemsGroup::reset | ( | ) |
void APGUI::ItemsGroup::setActiveMember | ( | GUI_Item * | activeItem | ) |
|
protected |
|
protected |