#include <GUI.h>
Inheritance diagram for CGUITabControl:
Public Member Functions | |
virtual void | Initialize () |
virtual int | Create (CGUIElement *pParent, tRect WidgetRect, UINT uiNumTabs=0, CGUIButton *pTabButton=NULL, CCustomFont *pFont=NULL, CTexture *pTexture=NULL, CMaterial *pMaterial=NULL, bool bBorder=false) |
virtual void | ProcessMessage (tGUIMessage &Message) |
virtual void | Draw () |
virtual int | LoadXML (TiXmlNode *pDataNode, CString strFilename) |
virtual int | SaveXML (TiXmlNode *pDataNode, CString strFilename) |
virtual bool | PropertyChanging (const void *pvProperty, void *pvNewValue) |
virtual void | GetProperties (EPropList &PropList) |
virtual void | SetCurSel (int iSelection) |
virtual bool | IsOfType (eEntityType eType) |
A tab control has a list of elements that in turn contain child elements/controls
and each element has an associated button that has to be clicked in order to turn the element
This button goes with name of "TabButton" and element goes with name of "TabElement". Simple.
When button is clicked, it's associated element' children are shown, while all others are hidden.
Definition at line 2070 of file GUI.h.
|
Method details:
References CGUIStatic::Create(), CGUIElement::GetChild(), CGUIElement::IsChild(), CDoubleList< CGUIElement * >::push_back(), CGUIElement::RemoveChild(), CEntity::SetName(), CGUIElement::SetParent(), and CGUIElement::SetType(). |
|
Method details: Draws the widget Reimplemented from CGUIRadioGroup. Definition at line 114 of file GUITabControl.cpp. References CGUIStatic::Draw(). |
|
Method details:
Reimplemented from CGUIRadioGroup. Definition at line 258 of file GUITabControl.cpp. References CGUIRadioGroup::GetProperties(). |
|
Method details: Initializes GUI Border' variables Reimplemented from CGUIRadioGroup. Definition at line 14 of file GUITabControl.cpp. References CGUIElement::SetType(). |
|
Method details: This is an implementation of Custom RTTI Reimplemented from CGUIRadioGroup. Definition at line 212 of file GUITabControl.cpp. References CGUIRadioGroup::IsOfType(). |
|
Method details:
Reimplemented from CGUIRadioGroup. Definition at line 41 of file GUITabControl.cpp. References CDoubleList< CGUIElement * >::begin(), CGUIRadioGroup::GetCurSel(), CEntity::GetID(), CGUIElement::GetType(), CGUIElement::Hide(), CGUIRadioGroup::LoadXML(), CDoubleList< CGUIElement * >::next(), CDoubleList< CGUIElement * >::set_ptr(), CGUIElement::SetType(), and CGUIElement::Show(). |
|
Method details:
Reimplemented from CGUIRadioGroup. Definition at line 119 of file GUITabControl.cpp. References CDoubleList< CGUIElement * >::begin(), CGUIRadioGroup::GetCurSel(), CEntity::GetID(), CGUIElement::GetType(), CGUIElement::Hide(), CGUIElement::IsChild(), CDoubleList< CGUIElement * >::next(), tGUIMessage::pSender, CDoubleList< CGUIElement * >::set_ptr(), SetCurSel(), CGUIButton::SetState(), and CGUIElement::Show(). |
|
Method details:
Reimplemented from CGUIRadioGroup. Definition at line 221 of file GUITabControl.cpp. References CDoubleList< CGUIElement * >::begin(), CGUIElement::GetType(), CGUIRadioGroup::InsertItem(), CDoubleList< CGUIElement * >::next(), CGUIRadioGroup::PropertyChanging(), CDoubleList< CGUIElement * >::set_ptr(), SetCurSel(), and CGUIElement::SetType(). |
|
Method details:
Reimplemented from CGUIRadioGroup. Definition at line 92 of file GUITabControl.cpp. References CGUIRadioGroup::SaveXML(), and TiXmlNode::ToElement(). |
|
Method details:
Reimplemented from CGUIRadioGroup. Definition at line 183 of file GUITabControl.cpp. References CDoubleList< CGUIElement * >::begin(), CGUIElement::GetChildCount(), CGUIElement::GetType(), CDoubleList< CGUIElement * >::next(), and CDoubleList< CGUIElement * >::set_ptr(). Referenced by ProcessMessage(), and PropertyChanging(). |