#include <glwx.h>


Public Member Functions | |
| GUIFrame () | |
| ~GUIFrame () | |
| virtual bool | loadXMLSettings (const TiXmlElement *element) |
| void | addOrReplaceTexCoordsInfo (GUITexCoordDescriptor &info) |
| void | setElementsTexture (const char *texturePath) |
| void | setElementsTexture (const Texture &texture) |
| void | setGUIEventListener (GUIEventListener *listener) |
| Texture * | getElementsTexture () |
| virtual GUITexCoordDescriptor * | getTexCoordsInfo (int type) |
| virtual GUIEventListener * | getEventsListener () |
| virtual const Tuple4i & | getWindowBounds () |
| virtual void | forceUpdate (bool update) |
| virtual void | enableGUITexture () |
| virtual void | disableGUITexture () |
| virtual void | render (float tick) |
| virtual void | clear () |
Private Attributes | |
| GUIEventListener * | listener |
| GUITexCoordsInfo | texCoords |
| Texture | elementsTexture |
| Tuple2i | windowSize |
| int | updateCount |
Definition at line 899 of file glwx.h.
| GUIFrame::GUIFrame | ( | ) |
| GUIFrame::~GUIFrame | ( | ) |
| bool GUIFrame::loadXMLSettings | ( | const TiXmlElement * | element | ) | [virtual] |
Reimplemented from GUIPanel.
Definition at line 9 of file GUIFrame.cpp.
References GUIFontManager::addFont(), addOrReplaceTexCoordsInfo(), elementsTexture, Texture::getHeight(), Texture::getWidth(), GUIPanel::loadXMLSettings(), GUITexCoordDescriptor::loadXMLSettings(), Texture::loadXMLSettings(), GUIFontManager::setDefaultFont(), GUITexCoordDescriptor::setTextureHeight(), GUITexCoordDescriptor::setTextureWidth(), and Logger::writeErrorLog().
| void GUIFrame::addOrReplaceTexCoordsInfo | ( | GUITexCoordDescriptor & | info | ) |
Definition at line 75 of file GUIFrame.cpp.
References GUITexCoordDescriptor::getTexCoords(), GUITexCoordDescriptor::getType(), and texCoords.
Referenced by loadXMLSettings().
| void GUIFrame::setElementsTexture | ( | const char * | texturePath | ) |
| void GUIFrame::setElementsTexture | ( | const Texture & | texture | ) |
| void GUIFrame::setGUIEventListener | ( | GUIEventListener * | listener | ) |
| Texture * GUIFrame::getElementsTexture | ( | ) |
| GUITexCoordDescriptor * GUIFrame::getTexCoordsInfo | ( | int | type | ) | [virtual] |
| GUIEventListener * GUIFrame::getEventsListener | ( | ) | [virtual] |
| const Tuple4i & GUIFrame::getWindowBounds | ( | ) | [virtual] |
Reimplemented from GUIRectangle.
Definition at line 142 of file GUIFrame.cpp.
References GUIRectangle::dimensions, and GUIRectangle::windowBounds.
| void GUIFrame::forceUpdate | ( | bool | update | ) | [virtual] |
Reimplemented from GUIPanel.
Definition at line 130 of file GUIFrame.cpp.
References GUIPanel::getTreeHeight(), and updateCount.
Referenced by render(), and GuiWrapper::SetDimensions().
| void GUIFrame::enableGUITexture | ( | ) | [virtual] |
Reimplemented from GUIRectangle.
Definition at line 119 of file GUIFrame.cpp.
References Texture::activate(), elementsTexture, and Texture::getID().
| void GUIFrame::disableGUITexture | ( | ) | [virtual] |
Reimplemented from GUIRectangle.
Definition at line 125 of file GUIFrame.cpp.
References Texture::deactivate(), and elementsTexture.
| void GUIFrame::render | ( | float | tick | ) | [virtual] |
Reimplemented from GUIPanel.
Definition at line 57 of file GUIFrame.cpp.
References GUIPanel::elements, forceUpdate(), updateCount, and GUIRectangle::visible.
Referenced by GuiWrapper::RenderScene().
| void GUIFrame::clear | ( | ) | [virtual] |
Reimplemented from GUIPanel.
Definition at line 135 of file GUIFrame.cpp.
References GUIPanel::clear(), Texture::destroy(), elementsTexture, and texCoords.
Referenced by ~GUIFrame().
GUIEventListener* GUIFrame::listener [private] |
Definition at line 902 of file glwx.h.
Referenced by getEventsListener(), GUIFrame(), and setGUIEventListener().
GUITexCoordsInfo GUIFrame::texCoords [private] |
Reimplemented from GUIClippedRectangle.
Definition at line 903 of file glwx.h.
Referenced by addOrReplaceTexCoordsInfo(), clear(), and getTexCoordsInfo().
Texture GUIFrame::elementsTexture [private] |
Definition at line 904 of file glwx.h.
Referenced by clear(), disableGUITexture(), enableGUITexture(), getElementsTexture(), loadXMLSettings(), and setElementsTexture().
Tuple2i GUIFrame::windowSize [private] |
int GUIFrame::updateCount [private] |
1.5.3