GUIFrame Class Reference

#include <glwx.h>

Inheritance diagram for GUIFrame:

Inheritance graph
[legend]
Collaboration diagram for GUIFrame:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

Definition at line 899 of file glwx.h.


Constructor & Destructor Documentation

GUIFrame::GUIFrame (  ) 

Definition at line 3 of file GUIFrame.cpp.

References listener, and GUIRectangle::update.

GUIFrame::~GUIFrame (  ) 

Definition at line 148 of file GUIFrame.cpp.

References clear().


Member Function Documentation

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  ) 

Definition at line 104 of file GUIFrame.cpp.

References elementsTexture, and Texture::load2D().

void GUIFrame::setElementsTexture ( const Texture &  texture  ) 

Definition at line 109 of file GUIFrame.cpp.

References elementsTexture.

void GUIFrame::setGUIEventListener ( GUIEventListener *  listener  ) 

Definition at line 94 of file GUIFrame.cpp.

References listener.

Referenced by GuiWrapper::Init().

Texture * GUIFrame::getElementsTexture (  ) 

Definition at line 114 of file GUIFrame.cpp.

References elementsTexture, and Texture::getID().

GUITexCoordDescriptor * GUIFrame::getTexCoordsInfo ( int  type  )  [virtual]

Reimplemented from GUIRectangle.

Definition at line 86 of file GUIFrame.cpp.

References texCoords.

GUIEventListener * GUIFrame::getEventsListener (  )  [virtual]

Reimplemented from GUIRectangle.

Definition at line 99 of file GUIFrame.cpp.

References listener.

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().


Member Data Documentation

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]

Definition at line 905 of file glwx.h.

int GUIFrame::updateCount [private]

Definition at line 906 of file glwx.h.

Referenced by forceUpdate(), and render().


The documentation for this class was generated from the following files:
Generated on Wed Dec 5 20:32:03 2007 for GLWX by  doxygen 1.5.3