#include <GUI.h>
Inheritance diagram for CGUIElement:
Public Member Functions | |
CGUIElement () | |
virtual void | Initialize () |
virtual int | Create (CGUIElement *pParent, tRect WidgetRect, CTexture *pTexture=NULL, CMaterial *pMaterial=NULL, bool bBorder=false) |
virtual bool | PropertyChanging (const void *pvProperty, void *pvNewValue) |
virtual void | GetProperties (EPropList &PropList) |
virtual int | LoadXML (TiXmlNode *pDataNode, CString strFilename) |
virtual int | SaveXML (TiXmlNode *pDataNode, CString strFilename) |
virtual void | Draw () |
virtual void | Destroy () |
virtual void | ProcessMessages () |
virtual void | ProcessMessage (tGUIMessage &Message) |
virtual int | Resize (tRect &NewRect) |
virtual int | OnKeyDown (UINT uiKeyCode) |
virtual int | OnKeyUp (UINT uiKeyCode) |
virtual int | OnMove (UINT x, UINT y) |
virtual int | OnMouseMove (UINT x, UINT y) |
virtual int | OnLMouseDown (UINT x, UINT y) |
virtual int | OnLMouseUp (UINT x, UINT y) |
virtual int | OnRMouseDown (UINT x, UINT y) |
virtual int | OnRMouseUp (UINT x, UINT y) |
UINT | GetWidth () |
void | SetWidth (UINT uiWidth) |
UINT | GetHeight () |
void | SetHeight (UINT uiHeight) |
CGUIElement * | GetChild (UINT uiIndex) |
CGUIElement * | GetChild (eGUIControlType eWidgetType) |
CGUIElement * | GetChild (TiXmlElement *pXMLElement) |
UINT | GetChildCount () |
void | RemoveChild (CGUIElement *pChild) |
void | HideSiblings (int iDeep=-1) |
void | ShowSiblings (int iDeep=-1) |
void | SetZOrder (UINT uiZOrder) |
UINT | GetZOrder () |
bool | Visible () |
void | Hide () |
void | Show () |
CGUIElement * | GetParent () |
void | SetParent (CGUIElement *pParent) |
void | SetTexture (CTexture *pTexture) |
CTexture * | GetTexture () |
void | SetMaterial (CMaterial *pMaterial) |
CMaterial * | GetMaterial () |
void | SetTexCoord (UINT uiIndex, float U, float V) |
tVERTEX2f & | GetTexCoord (UINT index) |
CGUI * | GetGUI () |
void | SetRect (tRect &NewRect) |
tRect & | GetRect () |
void | SetGUI (CGUI *pGUI) |
eGUIControlType & | GetType () |
void | SetType (eGUIControlType eWidgetType) |
void | SetFlag (eGUIFlag eFlag, bool bSet) |
bool | IsFlagSet (eGUIFlag eFlag) |
bool | IsChild (CGUIElement *pElement) |
virtual bool | IsOfType (eEntityType eType) |
bool | IsAutoCalc () |
void | SetAutoCalc (bool bAutoCalc) |
Protected Attributes | |
bool | m_bAutoCalc |
CString | m_strElementType |
UINT | m_iChildren |
CString | m_strRectangle |
bool | m_bAllowMoveX |
bool | m_bAllowMoveY |
bool | m_bAllowSizeX |
bool | m_bAllowSizeY |
CString | m_strMaterialName |
int | m_iMaterialIndex |
COLORREF | m_MaterialAmbient |
COLORREF | m_MaterialDiffuse |
COLORREF | m_MaterialSpecular |
COLORREF | m_MaterialEmissive |
int | m_iMaterialShininess |
COLORREF | m_ActiveColor |
COLORREF | m_InactiveColor |
bool | m_bActive |
CString | m_strTextureName |
CString | m_strTextureFilename |
int | m_iTextureIndex |
eGUIControlType | m_eControlType |
Widget Core Attributes. | |
CGUIElement * | m_pParent |
CGUI * | m_pGUI |
tRect | m_Rect |
DWORD | m_dwFlags |
CMaterial * | m_pMaterial |
CTexture * | m_pTexture |
tVERTEX2f | m_TexCoord [4] |
bool | m_bVisible |
This has properties of an XML Resource and is also a representation of a tree/node chain. It handles all basic inputs/outputs from various controls by default, or they can be overriden by derived classes.
Definition at line 238 of file GUI.h.
|
Destructor Definition at line 4 of file GUIElement.cpp. References Initialize(), m_iMaterialIndex, m_iMaterialShininess, m_iTextureIndex, m_pMaterial, m_pParent, m_pTexture, m_strElementType, CEntity::SetEntityType(), and SetType(). Referenced by CGUIProgressBar::Create(). |
|
Method details:
References GetGUI(), m_pMaterial, m_pTexture, SetParent(), and SetRect(). Referenced by CGUIWindow::Create(), CGUIStatic::Create(), CGUIProgressBar::Create(), CGUIListBox::Create(), and CGUIBorder::Create(). |
|
Method details: Destroys the widget - e.g Pre-destructor (resets variables) Reimplemented from CXMLResource.
Reimplemented in CGUI, CGUIStatic, CGUITextBox, CGUIButton, and CGUIMenuEntry. Definition at line 1136 of file GUIElement.cpp. References CDoubleList< CGUIElement * >::erase(). Referenced by CGUIStatic::Destroy(), CGUI::Destroy(), and PropertyChanging(). |
|
Method details: Draws the widget Reimplemented in CGUI, CGUIBorder, CGUIStatic, CGUITextBox, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, CGUITabControl, and CGUIWindow. Definition at line 515 of file GUIElement.cpp. References CDoubleList< CGUIElement * >::begin(), CTexture::Bind(), CMaterial::GetAmbient(), CTexture::IsMasked(), m_pMaterial, m_pTexture, m_Rect, m_TexCoord, CDoubleList< CGUIElement * >::next(), CDoubleList< CGUIElement * >::set_ptr(), and Visible(). Referenced by CGUIWindow::Draw(), CGUIStatic::Draw(), CGUIRadioGroup::Draw(), CGUIListBox::Draw(), CGUIDropList::Draw(), CGUIBorder::Draw(), and CGUI::Draw(). |
|
Method details: (DEPRICATED)
|
|
Method details:
References CDoubleList< CGUIElement * >::begin(), GetType(), CDoubleList< CGUIElement * >::next(), and CDoubleList< CGUIElement * >::set_ptr(). |
|
|
Method details:
References CDoubleList< CGUIElement * >::size(). Referenced by CGUIDropList::Collapse(), CGUIMenuEntry::Draw(), CGUIDropList::Expand(), GetChild(), GetZOrder(), CGUIWindow::LoadXML(), CGUIScrollBar::LoadXML(), CGUIProgressBar::LoadXML(), CGUIMenu::ProcessMessage(), CGUIListBox::ProcessMessage(), CGUIDropList::ProcessMessage(), CGUIWindow::Resize(), CGUIListBox::Resize(), CGUIDropList::Resize(), CGUITabControl::SetCurSel(), and CGUIRadioGroup::SetCurSel(). |
|
Method details:
References GetParent(), and GetType(). Referenced by Create(), CGUIWindow::Maximize(), OnLMouseDown(), OnLMouseUp(), CGUIButton::OnLMouseUp(), OnMouseMove(), OnMove(), ProcessMessages(), Resize(), and CGUIScrollBar::SetCurPos(). |
|
Method details:
References m_Rect. Referenced by CGUIProgressBar::Draw(), CGUIStatic::DrawText(), CGUIWindow::Minimize(), CGUIWindow::Resize(), CGUIScrollBar::Resize(), CGUIScrollBar::SetCurPos(), CGUIScrollBar::SetRange(), and CGUIProgressBar::SetRange(). |
|
Method details:
References m_pMaterial. |
|
Method details:
References m_pParent. Referenced by GetGUI(), GetZOrder(), CGUIMenuEntry::InsertItem(), CGUIScrollBar::LoadXML(), CGUIProgressBar::LoadXML(), CGUIBorder::OnMouseMove(), CGUIMenuEntry::ProcessMessage(), CGUIBorder::ProcessMessage(), CGUIMenuEntry::PropertyChanging(), CGUIBorder::Resize(), SaveXML(), and SetZOrder(). |
|
Method details:
Reimplemented from CXMLResource.
Reimplemented in CGUI, CGUIBorder, CGUIStatic, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, and CGUITabControl. Definition at line 1024 of file GUIElement.cpp. References CDoubleList< T >::at(), CMaterial::GetAmbient(), CMaterial::GetDiffuse(), CMaterial::GetEmissive(), CEntity::GetName(), CXMLResource::GetProperties(), CMaterial::GetShininess(), CSingleton< CTextureManager >::GetSingleton(), CSingleton< CMaterialManager >::GetSingleton(), CMaterial::GetSpecular(), CTexture::GetTextureFilename(), m_ActiveColor, m_bAllowMoveX, m_bAllowMoveY, m_bAllowSizeX, m_bAllowSizeY, m_bAutoCalc, m_bVisible, m_iChildren, m_iMaterialIndex, m_iMaterialShininess, m_InactiveColor, m_iTextureIndex, m_MaterialAmbient, m_MaterialDiffuse, m_MaterialEmissive, m_MaterialSpecular, m_pMaterial, m_pTexture, m_Rect, m_strElementType, m_strRectangle, m_strTextureFilename, m_strTextureName, m_TexCoord, CDoubleList< T >::size(), and CDoubleList< CGUIElement * >::size(). Referenced by CGUIStatic::GetProperties(), CGUIListBox::GetProperties(), CGUIBorder::GetProperties(), and CGUI::GetProperties(). |
|
Method details:
References m_Rect. Referenced by CGUIBorder::Create(), CGUIMenuEntry::Draw(), CGUIStatic::DrawText(), CGUIButton::GetCurrentAnimation(), CGUIRadioGroup::InsertItem(), CGUIMenuEntry::InsertItem(), CGUIListBox::InsertItem(), CGUIDropList::InsertItem(), CGUIScrollBar::LoadXML(), CGUIProgressBar::LoadXML(), CGUIMenu::LoadXML(), CGUIWindow::Maximize(), CGUIWindow::Minimize(), OnLMouseDown(), CGUIScrollBar::OnLMouseUp(), OnLMouseUp(), CGUIButton::OnLMouseUp(), CGUIBorder::OnMouseMove(), CGUIMenuEntry::PointInChildRects(), CGUIWindow::ProcessMessage(), CGUIScrollBar::ProcessMessage(), CGUIProgressBar::ProcessMessage(), CGUIMenuEntry::ProcessMessage(), CGUIMenu::ProcessMessage(), CGUIListBox::ProcessMessage(), CGUIDropList::ProcessMessage(), CGUIBorder::ProcessMessage(), CGUIMenuEntry::PropertyChanging(), CGUIDropList::PropertyChanging(), CGUIWindow::Resize(), CGUIScrollBar::Resize(), CGUIProgressBar::Resize(), CGUIListBox::Resize(), CGUIDropList::Resize(), CGUIBorder::Resize(), CGUIWindow::Restore(), CGUIScrollBar::SetCurPos(), CGUIProgressBar::SetCurPos(), and CGUIScrollBar::SetRange(). |
|
Method details:
References m_TexCoord. |
|
Method details:
References m_pTexture. Referenced by CGUIProgressBar::Draw(). |
|
Method details:
References m_eControlType. Referenced by CGUIDropList::Collapse(), CGUIScrollBar::Create(), CGUIMenuEntry::Create(), CGUIRadioGroup::Draw(), CGUIProgressBar::Draw(), CGUIMenuEntry::Draw(), CGUIDropList::Expand(), GetChild(), GetGUI(), CGUIRadioGroup::GetProperties(), CGUIMenuEntry::GetProperties(), CGUIListBox::GetProperties(), CGUIDropList::GetProperties(), CGUIMenuEntry::HideSiblingsText(), CGUIWindow::LoadXML(), CGUITabControl::LoadXML(), CGUIScrollBar::LoadXML(), CGUIProgressBar::LoadXML(), CGUIDropList::LoadXML(), OnLMouseDown(), CGUIBorder::OnLMouseDown(), CGUIScrollBar::OnLMouseUp(), OnLMouseUp(), CGUIButton::OnLMouseUp(), OnMouseMove(), OnMove(), CGUIMenuEntry::PointInChildRects(), CGUIWindow::ProcessMessage(), CGUITabControl::ProcessMessage(), CGUIScrollBar::ProcessMessage(), CGUIRadioGroup::ProcessMessage(), CGUIProgressBar::ProcessMessage(), CGUIListBox::ProcessMessage(), CGUIDropList::ProcessMessage(), CGUITabControl::PropertyChanging(), CGUIWindow::Resize(), CGUIScrollBar::Resize(), CGUIProgressBar::Resize(), CGUIMenuEntry::Resize(), CGUIListBox::Resize(), Resize(), CGUIDropList::Resize(), CGUIScrollBar::SaveXML(), CGUIProgressBar::SaveXML(), SaveXML(), CGUIScrollBar::SetCurPos(), CGUITabControl::SetCurSel(), CGUIRadioGroup::SetCurSel(), CGUIListBox::SetCurSel(), CGUIDropList::SetCurSel(), CGUIScrollBar::SetRange(), CGUIProgressBar::SetRange(), and CGUIMenuEntry::ShowSiblingsText(). |
|
Method details:
References m_Rect. Referenced by CGUIProgressBar::Draw(), CGUIStatic::DrawText(), CGUIScrollBar::Resize(), CGUIDropList::Resize(), CGUIScrollBar::SetCurPos(), CGUIScrollBar::SetRange(), and CGUIProgressBar::SetRange(). |
|
Method details:
References GetChild(), GetChildCount(), and GetParent(). |
|
Method details: Hides this widgetDefinition at line 853 of file GUIElement.cpp. References m_bVisible. Referenced by CGUIWindow::Close(), HideSiblings(), CGUITabControl::LoadXML(), CGUIWindow::Minimize(), CGUITabControl::ProcessMessage(), and CGUIListBox::Resize(). |
|
Method details:
References CDoubleList< CGUIElement * >::begin(), Hide(), CDoubleList< CGUIElement * >::next(), and CDoubleList< CGUIElement * >::set_ptr(). Referenced by CGUIWindow::Close(), CGUIMenuEntry::Collapse(), CGUIWindow::Draw(), CGUIRadioGroup::Draw(), and CGUIMenuEntry::LoadXML(). |
|
Method details: Initializes GUI Element' variables Reimplemented in CGUI, CGUIBorder, CGUIStatic, CGUITextBox, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, CGUITabControl, and CGUIWindow. Definition at line 23 of file GUIElement.cpp. References m_bAllowMoveX, m_bAllowMoveY, m_bAllowSizeX, m_bAllowSizeY, m_bAutoCalc, m_bVisible, m_dwFlags, m_pGUI, m_pMaterial, m_pTexture, m_TexCoord, tVERTEX2f::x, and tVERTEX2f::y. Referenced by CGUIElement(). |
|
Method details:
References m_bAutoCalc. Referenced by CGUIMenuEntry::GetProperties(), PropertyChanging(), and CGUIMenuEntry::Resize(). |
|
Method details:
References CDoubleList< CGUIElement * >::begin(), CDoubleList< CGUIElement * >::next(), and CDoubleList< CGUIElement * >::set_ptr(). Referenced by CGUIWindow::Create(), CGUITabControl::Create(), CGUIScrollBar::Create(), CGUIProgressBar::Create(), CGUIListBox::Create(), CGUIDropList::Create(), CGUIWindow::ProcessMessage(), CGUITabControl::ProcessMessage(), CGUIScrollBar::ProcessMessage(), CGUIListBox::ProcessMessage(), and CGUIDropList::ProcessMessage(). |
|
Method details:
References m_bAllowMoveX, m_bAllowMoveY, m_bAllowSizeX, and m_bAllowSizeY. |
|
Method details: This is an implementation of Custom RTTI Reimplemented from CXMLResource.
Reimplemented in CGUI, CGUIBorder, CGUIStatic, CGUITextBox, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, CGUITabControl, and CGUIWindow. Definition at line 1141 of file GUIElement.cpp. References CXMLResource::IsOfType(). Referenced by CGUIWindow::IsOfType(), CGUIStatic::IsOfType(), CGUIListBox::IsOfType(), CGUIBorder::IsOfType(), and CGUI::IsOfType(). |
|
Method details:
Reimplemented from CXMLResource.
Reimplemented in CGUI, CGUIBorder, CGUIStatic, CGUITextBox, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, CGUITabControl, and CGUIWindow. Definition at line 69 of file GUIElement.cpp. References TiXmlElement::Attribute(), TiXmlNode::FirstChild(), CEntity::GetID(), CEntity::GetName(), CSingleton< CMaterialManager >::GetSingleton(), CSingleton< CTextureManager >::GetSingleton(), CSingleton< CGlobalLogger >::GetSingleton(), TiXmlNode::IterateChildren(), CMaterialManager::LoadResource(), CTextureManager::LoadResource(), CXMLResource::LoadXML(), m_bAllowMoveX, m_bAllowMoveY, m_bAllowSizeX, m_bAllowSizeY, m_dwFlags, m_pMaterial, m_pTexture, m_Rect, m_strElementType, m_TexCoord, TiXmlNode::pcValue(), CDoubleList< CGUIElement * >::push_back(), Resize(), SetParent(), and CLogger::Write(). Referenced by CGUIWindow::LoadXML(), CGUIStatic::LoadXML(), CGUIListBox::LoadXML(), CGUIBorder::LoadXML(), CGUI::LoadXML(), and PropertyChanging(). |
|
Method details:
|
|
Method details:
|
|
Method details:
Reimplemented in CGUI, and CGUIBorder. Definition at line 370 of file GUIElement.cpp. References CDoubleList< CGUIElement * >::end(), GetGUI(), GetRect(), GetType(), CGUI::Lock(), CDoubleList< CGUIElement * >::prev(), CDoubleList< CGUIElement * >::set_ptr(), and CGUI::SetActiveElement(). Referenced by CGUIBorder::OnLMouseDown(), and CGUI::OnLMouseDown(). |
|
Method details:
Reimplemented in CGUI, CGUIBorder, CGUIButton, and CGUIScrollBar. Definition at line 395 of file GUIElement.cpp. References CDoubleList< CGUIElement * >::end(), GetGUI(), GetRect(), GetType(), CGUI::PostMessage(), CDoubleList< CGUIElement * >::prev(), and CDoubleList< CGUIElement * >::set_ptr(). Referenced by CGUIScrollBar::OnLMouseUp(), CGUIButton::OnLMouseUp(), CGUIBorder::OnLMouseUp(), and CGUI::OnLMouseUp(). |
|
Method details:
Reimplemented in CGUIBorder. Definition at line 419 of file GUIElement.cpp. References CDoubleList< CGUIElement * >::end(), CGUI::GetActiveElement(), CMouse::GetCursorPos(), GetGUI(), CInputEngine::GetMouse(), CMouse::GetPrevCursorPos(), CSingleton< CInputEngine >::GetSingleton(), GetType(), CGUI::IsLocked(), m_Rect, OnMove(), CDoubleList< CGUIElement * >::prev(), CDoubleList< CGUIElement * >::set_ptr(), Visible(), tVERTEX2d::x, and tVERTEX2d::y. Referenced by CGUIBorder::OnMouseMove(), and CGUI::Update(). |
|
Method details:
References GetGUI(), GetType(), m_bAllowMoveX, m_bAllowMoveY, m_Rect, CGUI::PostMessage(), and Visible(). Referenced by OnMouseMove(). |
|
Method details:
|
|
Method details:
|
|
Method details:
Reimplemented in CGUI, CGUIBorder, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, CGUITabControl, and CGUIWindow. Definition at line 692 of file GUIElement.cpp. Referenced by CGUIEventHandler::Dispatch(), and ProcessMessages(). |
|
Method details: Processes messages from the GUI Event Handler Reimplemented in CGUI. Definition at line 697 of file GUIElement.cpp. References CDoubleList< CGUIElement * >::begin(), GetGUI(), CGUI::GetMessage(), CGUI::GetMessageCount(), CDoubleList< CGUIElement * >::next(), ProcessMessage(), and CDoubleList< CGUIElement * >::set_ptr(). Referenced by CGUI::ProcessMessages(). |
|
Method details:
Reimplemented from CXMLResource.
Reimplemented in CGUI, CGUIBorder, CGUIStatic, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, and CGUITabControl. Definition at line 957 of file GUIElement.cpp. References Destroy(), CTextureManager::GetResource(), CMaterialManager::GetResource(), CSingleton< CTextureManager >::GetSingleton(), CSingleton< CMaterialManager >::GetSingleton(), IsAutoCalc(), LoadXML(), m_bAutoCalc, m_iMaterialIndex, m_iTextureIndex, m_pMaterial, m_pTexture, m_Rect, m_strRectangle, m_TexCoord, CXMLResource::PropertyChanging(), Resize(), and tVERTEX2f::x. Referenced by CGUIStatic::PropertyChanging(), CGUIListBox::PropertyChanging(), CGUIBorder::PropertyChanging(), and CGUI::PropertyChanging(). |
|
Method details:
References CDoubleList< CGUIElement * >::begin(), CDoubleList< CGUIElement * >::next(), CDoubleList< CGUIElement * >::remove(), and CDoubleList< CGUIElement * >::set_ptr(). Referenced by CGUIWindow::Create(), CGUITabControl::Create(), CGUIScrollBar::Create(), CGUIProgressBar::Create(), CGUIMenuEntry::Create(), CGUIListBox::Create(), CGUIDropList::Create(), CGUIWindow::Draw(), CGUIProgressBar::Draw(), CGUIListBox::Draw(), CGUIDropList::Draw(), CGUIWindow::LoadXML(), CGUIDropList::LoadXML(), CGUIWindow::Resize(), and CGUIScrollBar::Resize(). |
|
Method details:
Reimplemented in CGUIBorder, CGUIStatic, CGUITextBox, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, and CGUIWindow. Definition at line 605 of file GUIElement.cpp. References GetChild(), GetGUI(), GetType(), m_bAllowSizeX, m_bAllowSizeY, m_Rect, and CGUI::PostMessage(). Referenced by CGUIMenuEntry::InsertItem(), LoadXML(), CGUIBorder::OnMouseMove(), CGUIMenuEntry::PropertyChanging(), PropertyChanging(), CGUIWindow::Resize(), CGUIStatic::Resize(), CGUIListBox::Resize(), and CGUIDropList::Resize(). |
|
Method details:
Reimplemented from CXMLResource.
Reimplemented in CGUI, CGUIBorder, CGUIStatic, CGUITextBox, CGUIButton, CGUIScrollBar, CGUIProgressBar, CGUIDropList, CGUIListBox, CGUIMenuEntry, CGUIMenu, CGUIRadioGroup, CGUITabControl, and CGUIWindow. Definition at line 255 of file GUIElement.cpp. References CDoubleList< CGUIElement * >::begin(), CEntity::GetID(), CEntity::GetName(), GetParent(), GetType(), TiXmlNode::InsertEndChild(), m_ActiveColor, m_bAllowMoveX, m_bAllowMoveY, m_bAllowSizeX, m_bAllowSizeY, m_InactiveColor, m_pMaterial, m_pTexture, m_Rect, m_strElementType, m_TexCoord, CDoubleList< CGUIElement * >::next(), TiXmlDocument::SaveFile(), CDoubleList< CGUIElement * >::set_ptr(), TiXmlElement::SetAttribute(), TiXmlNode::ToElement(), Visible(), tVERTEX2f::x, and tVERTEX2f::y. Referenced by CGUIWindow::SaveXML(), CGUIStatic::SaveXML(), CGUIRadioGroup::SaveXML(), CGUIListBox::SaveXML(), and CGUI::SaveXML(). |
|
Method details:
References m_bAutoCalc. Referenced by CGUIMenuEntry::LoadXML(). |
|
Method details:
References m_bAllowMoveX, m_bAllowMoveY, m_bAllowSizeX, and m_bAllowSizeY. Referenced by CGUIScrollBar::Create(), CGUIProgressBar::Create(), CGUIMenuEntry::InsertItem(), CGUIWindow::LoadXML(), CGUIProgressBar::LoadXML(), CGUIWindow::Maximize(), CGUIWindow::Minimize(), and CGUIWindow::Restore(). |
|
Method details:
References m_pGUI. |
|
Method details:
References m_Rect. Referenced by CGUIWindow::Minimize(), and CGUIWindow::Resize(). |
|
Method details:
References m_pMaterial. |
|
Method details:
References m_pParent. Referenced by CGUIWindow::Create(), CGUITabControl::Create(), CGUIScrollBar::Create(), CGUIProgressBar::Create(), CGUIListBox::Create(), Create(), CGUIDropList::Create(), and LoadXML(). |
|
Method details:
References m_Rect. Referenced by Create(), CGUIWindow::Maximize(), CGUIWindow::Resize(), CGUIScrollBar::Resize(), CGUIProgressBar::Resize(), CGUIListBox::Resize(), CGUIDropList::Resize(), CGUIBorder::Resize(), CGUIWindow::Restore(), and CGUIScrollBar::SetCurPos(). |
|
Method details:
References m_TexCoord, tVERTEX2f::x, and tVERTEX2f::y. Referenced by CGUIProgressBar::Draw(). |
|
Method details:
References m_pTexture. Referenced by CGUIButton::Draw(). |
|
Method details:
References m_eControlType. Referenced by CGUIElement(), CGUIWindow::Create(), CGUITabControl::Create(), CGUIScrollBar::Create(), CGUIProgressBar::Create(), CGUIWindow::Initialize(), CGUITextBox::Initialize(), CGUITabControl::Initialize(), CGUIScrollBar::Initialize(), CGUIRadioGroup::Initialize(), CGUIProgressBar::Initialize(), CGUIMenuEntry::Initialize(), CGUIMenu::Initialize(), CGUIListBox::Initialize(), CGUIDropList::Initialize(), CGUI::Initialize(), CGUIWindow::LoadXML(), CGUITabControl::LoadXML(), CGUIScrollBar::LoadXML(), CGUIProgressBar::LoadXML(), and CGUITabControl::PropertyChanging(). |
|
Method details:
|
|
Method details:
References GetParent(), CDoubleList< T >::move_to(), and CDoubleList< T >::size(). |
|
Method details: Makes this widget visibleDefinition at line 848 of file GUIElement.cpp. References m_bVisible. Referenced by CGUIMenu::Draw(), CGUITabControl::LoadXML(), CGUITabControl::ProcessMessage(), CGUIListBox::Resize(), CGUIWindow::Restore(), and ShowSiblings(). |
|
Method details:
References CDoubleList< CGUIElement * >::begin(), CDoubleList< CGUIElement * >::next(), CDoubleList< CGUIElement * >::set_ptr(), and Show(). Referenced by CGUIWindow::Draw(), CGUIRadioGroup::Draw(), CGUIMenu::Draw(), and CGUIMenuEntry::Expand(). |
|
Method details:
References m_bVisible. Referenced by CGUIWindow::Draw(), CGUIRadioGroup::Draw(), CGUIProgressBar::Draw(), Draw(), CGUIButton::OnLMouseUp(), OnMouseMove(), OnMove(), CGUIMenuEntry::PointInChildRects(), CGUIMenu::ProcessMessage(), CGUI::ProcessMessage(), CGUIWindow::Resize(), and SaveXML(). |
|
Material' Active Color (RGB) Definition at line 610 of file GUI.h. Referenced by GetProperties(), and SaveXML(). |
|
Is this widget active or inactive Definition at line 612 of file GUI.h. |
|
Flag to allow this widget to move on X Axis (or not) Definition at line 595 of file GUI.h. Referenced by GetProperties(), Initialize(), IsFlagSet(), LoadXML(), OnMove(), SaveXML(), and SetFlag(). |
|
Flag to allow this widget to move on Y Axis (or not) Definition at line 596 of file GUI.h. Referenced by GetProperties(), Initialize(), IsFlagSet(), LoadXML(), OnMove(), SaveXML(), and SetFlag(). |
|
Flag to allow this widget to have Width changed (or not) Definition at line 597 of file GUI.h. Referenced by GetProperties(), Initialize(), IsFlagSet(), LoadXML(), Resize(), SaveXML(), and SetFlag(). |
|
Flag to allow this widget to have Height changed (or not) Definition at line 598 of file GUI.h. Referenced by GetProperties(), Initialize(), IsFlagSet(), LoadXML(), Resize(), SaveXML(), and SetFlag(). |
|
Auto-Calculation flag: used for various purposes Definition at line 588 of file GUI.h. Referenced by GetProperties(), Initialize(), IsAutoCalc(), PropertyChanging(), and SetAutoCalc(). |
|
Is widget visible Definition at line 630 of file GUI.h. Referenced by GetProperties(), Hide(), Initialize(), Show(), and Visible(). |
|
Widget' flags Definition at line 626 of file GUI.h. Referenced by Initialize(), and LoadXML(). |
|
Widget Core Attributes. |
|
Number of children for the widget Definition at line 591 of file GUI.h. Referenced by GetProperties(). |
|
Index of the material from Material Database Definition at line 602 of file GUI.h. Referenced by CGUIElement(), GetProperties(), and PropertyChanging(). |
|
Material' Shininess value Definition at line 608 of file GUI.h. Referenced by CGUIElement(), and GetProperties(). |
|
Material' Inactive Color (RGB) Definition at line 611 of file GUI.h. Referenced by GetProperties(), and SaveXML(). |
|
Texture' index for the Texture Database Definition at line 617 of file GUI.h. Referenced by CGUIElement(), GetProperties(), and PropertyChanging(). |
|
Material' Ambient color (RGB) Definition at line 604 of file GUI.h. Referenced by GetProperties(). |
|
Material' Diffuse color (RGB) Definition at line 605 of file GUI.h. Referenced by GetProperties(). |
|
Material' Emissive color (RGB) Definition at line 607 of file GUI.h. Referenced by GetProperties(). |
|
Material' Specular color (RGB) Definition at line 606 of file GUI.h. Referenced by GetProperties(). |
|
Pointer to the Root GUI Definition at line 624 of file GUI.h. Referenced by Initialize(), and SetGUI(). |
|
Pointer to widget' material Definition at line 627 of file GUI.h. Referenced by CGUIElement(), Create(), Draw(), GetMaterial(), GetProperties(), Initialize(), LoadXML(), PropertyChanging(), SaveXML(), and SetMaterial(). |
|
Pointer to the widget parent Definition at line 623 of file GUI.h. Referenced by CGUIElement(), GetParent(), and SetParent(). |
|
Pointer to widget' texture Definition at line 628 of file GUI.h. Referenced by CGUIElement(), Create(), Draw(), GetProperties(), GetTexture(), Initialize(), LoadXML(), PropertyChanging(), SaveXML(), and SetTexture(). |
|
Widget' Rectangle Definition at line 625 of file GUI.h. Referenced by Draw(), GetHeight(), GetProperties(), GetRect(), GetWidth(), LoadXML(), OnMouseMove(), OnMove(), PropertyChanging(), Resize(), SaveXML(), SetHeight(), and SetRect(). |
|
String with the name for the widget (used for XML) Definition at line 590 of file GUI.h. Referenced by CGUIElement(), GetProperties(), LoadXML(), and SaveXML(). |
|
|
Rectangle string Definition at line 593 of file GUI.h. Referenced by GetProperties(), and PropertyChanging(). |
|
Texture' Filename Definition at line 616 of file GUI.h. Referenced by GetProperties(). |
|
Texture' name Definition at line 615 of file GUI.h. Referenced by GetProperties(). |
|
Widget' texture coordinates Definition at line 629 of file GUI.h. Referenced by Draw(), GetProperties(), GetTexCoord(), Initialize(), LoadXML(), PropertyChanging(), SaveXML(), and SetTexCoord(). |