#include <GUI.h>
Inheritance diagram for CGUIListBox:
Public Member Functions | |
virtual void | Initialize () |
virtual int | Create (CGUIElement *pParent, tRect WidgetRect, CTexture *pTexture=NULL, CMaterial *pMaterial=NULL, bool bBorder=false, CGUIButton *pDefaultEntryBtn=NULL) |
virtual bool | PropertyChanging (const void *pvProperty, void *pvNewValue) |
virtual void | GetProperties (EPropList &PropList) |
virtual void | Draw () |
virtual int | LoadXML (TiXmlNode *pDataNode, CString strFilename) |
virtual int | SaveXML (TiXmlNode *pDataNode, CString strFilename) |
virtual int | Resize (tRect &NewRect) |
virtual void | ProcessMessage (tGUIMessage &Message) |
virtual void | SetCurSel (int iSelection) |
int | GetCurSel () |
virtual CGUIElement * | InsertItem (CString &strItemText, UINT uiInsertAfter=0) |
virtual bool | IsOfType (eEntityType eType) |
This control represents a simple list box. NOTE: All of its entries MUST be CGUIButton (or CGUIButton-derived) widgets.
Definition at line 1666 of file GUI.h.
|
Method details:
References CGUIElement::Create(), CGUIElement::GetChild(), CGUIElement::IsChild(), CDoubleList< CGUIElement * >::push_back(), CGUIElement::RemoveChild(), Resize(), and CGUIElement::SetParent(). |
|
Method details: Draws the widget Reimplemented from CGUIElement. Definition at line 102 of file GUIListBox.cpp. References CDoubleList< CGUIElement * >::begin(), CGUIElement::Draw(), CGUIElement::GetChild(), CDoubleList< CGUIElement * >::next(), CGUIElement::RemoveChild(), and CDoubleList< CGUIElement * >::set_ptr(). |
|
Method details:
|
|
Method details:
Reimplemented from CGUIElement. Definition at line 320 of file GUIListBox.cpp. References CDoubleList< CGUIElement * >::begin(), CGUIElement::GetProperties(), CGUIElement::GetType(), CDoubleList< CGUIElement * >::next(), and CDoubleList< CGUIElement * >::set_ptr(). |
|
Method details: Initializes ListBox' variables Reimplemented from CGUIElement. Definition at line 21 of file GUIListBox.cpp. References CGUIElement::SetType(). |
|
Method details:
References CGUIButton::Create(), CGUIElement::GetRect(), CGUIButton::LoadXML(), CDoubleList< CGUIElement * >::push_back(), Resize(), and CGUIStatic::SetText(). Referenced by PropertyChanging(). |
|
Method details: This is an implementation of Custom RTTI Reimplemented from CGUIElement. Definition at line 292 of file GUIListBox.cpp. References CGUIElement::IsOfType(). |
|
Method details:
Reimplemented from CGUIElement. Definition at line 50 of file GUIListBox.cpp. References TiXmlElement::Attribute(), CEntity::GetID(), CEntity::GetName(), CSingleton< CGlobalLogger >::GetSingleton(), CGUIElement::LoadXML(), SetCurSel(), and CLogger::Write(). |
|
Method details:
Reimplemented from CGUIElement. Definition at line 118 of file GUIListBox.cpp. References CGUIElement::GetChild(), CGUIElement::GetChildCount(), CGUIElement::GetRect(), CGUIElement::GetType(), CGUIElement::IsChild(), tGUIMessage::pSender, Resize(), and SetCurSel(). |
|
Method details:
Reimplemented from CGUIElement. Definition at line 300 of file GUIListBox.cpp. References InsertItem(), CGUIElement::PropertyChanging(), and SetCurSel(). |
|
Method details:
Reimplemented from CGUIElement. Definition at line 157 of file GUIListBox.cpp. References CGUIElement::GetChild(), CGUIElement::GetChildCount(), CGUIStatic::GetFont(), CGUIStatic::GetLineCount(), CGUIStatic::GetLineLength(), CBitmapFont::GetQuadHeight(), CGUIElement::GetRect(), CGUIElement::GetType(), CGUIElement::Hide(), CGUIStatic::HideText(), CGUIElement::Resize(), CGUIElement::SetRect(), CGUIElement::Show(), and CGUIStatic::ShowText(). Referenced by Create(), InsertItem(), and ProcessMessage(). |
|
Method details:
Reimplemented from CGUIElement. Definition at line 76 of file GUIListBox.cpp. References CGUIElement::SaveXML(), TiXmlElement::SetAttribute(), and TiXmlNode::ToElement(). |
|
Method details:
References CDoubleList< CGUIElement * >::begin(), CGUIElement::GetType(), CDoubleList< CGUIElement * >::next(), and CDoubleList< CGUIElement * >::set_ptr(). Referenced by LoadXML(), ProcessMessage(), and PropertyChanging(). |