GUITexCoordDescriptor Class Reference

#include <glwx.h>

List of all members.

Public Member Functions

 GUITexCoordDescriptor (const int type=WT_UNKNOWN)
 GUITexCoordDescriptor (const GUITexCoordDescriptor &copy)
GUITexCoordDescriptoroperator= (const GUITexCoordDescriptor &copy)
void loadXMLSettings (const TiXmlElement *element)
void setType (int type)
int getType ()
void setTexCoords (float x, float y, float z, float w)
void setTexCoords (const Tuple4f &texCoords)
const Tuple4f & getTexCoords ()

Static Public Member Functions

static void setTextureWidth (int width)
static void setTextureHeight (int height)
static int getTextureWidth ()
static int getTextureHeight ()

Private Member Functions

void setType (const std::string &type)

Private Attributes

Tuple4f texCoords
int widgetType


Detailed Description

Definition at line 412 of file glwx.h.


Constructor & Destructor Documentation

GUITexCoordDescriptor::GUITexCoordDescriptor ( const int  type = WT_UNKNOWN  ) 

Definition at line 15 of file GUITexCoordDescriptor.cpp.

References texCoords, and widgetType.

GUITexCoordDescriptor::GUITexCoordDescriptor ( const GUITexCoordDescriptor copy  ) 

Definition at line 21 of file GUITexCoordDescriptor.cpp.

References operator=().


Member Function Documentation

void GUITexCoordDescriptor::setType ( const std::string &  type  )  [private]

Definition at line 53 of file GUITexCoordDescriptor.cpp.

References widgetType, Logger::writeErrorLog(), WT_BUTTON, WT_CHECK_BOX, WT_CHECK_BOX_MARK, WT_CHECK_RB_MARK, WT_LABEL, WT_MATERIAL_SURFACE, WT_PANEL, WT_RADIO_BUTTON, WT_SEPARATOR, WT_SLIDER, WT_TEXT_AREA, and WT_UNKNOWN.

Referenced by loadXMLSettings().

GUITexCoordDescriptor & GUITexCoordDescriptor::operator= ( const GUITexCoordDescriptor copy  ) 

Definition at line 26 of file GUITexCoordDescriptor.cpp.

References texCoords, and widgetType.

Referenced by GUITexCoordDescriptor().

void GUITexCoordDescriptor::setTextureWidth ( int  width  )  [static]

Definition at line 5 of file GUITexCoordDescriptor.cpp.

References textureGUIDimensions().

Referenced by GUIFrame::loadXMLSettings().

void GUITexCoordDescriptor::setTextureHeight ( int  height  )  [static]

Definition at line 10 of file GUITexCoordDescriptor.cpp.

References textureGUIDimensions().

Referenced by GUIFrame::loadXMLSettings().

int GUITexCoordDescriptor::getTextureWidth (  )  [static]

Definition at line 104 of file GUITexCoordDescriptor.cpp.

References textureGUIDimensions().

int GUITexCoordDescriptor::getTextureHeight (  )  [static]

Definition at line 109 of file GUITexCoordDescriptor.cpp.

References textureGUIDimensions().

void GUITexCoordDescriptor::loadXMLSettings ( const TiXmlElement *  element  ) 

Definition at line 82 of file GUITexCoordDescriptor.cpp.

References setTexCoords(), setType(), and textureGUIDimensions().

Referenced by GUIFrame::loadXMLSettings().

void GUITexCoordDescriptor::setType ( int  type  ) 

Definition at line 37 of file GUITexCoordDescriptor.cpp.

References widgetType, WT_BUTTON, WT_CHECK_BOX, WT_CHECK_BOX_MARK, WT_CHECK_RB_MARK, WT_RADIO_BUTTON, WT_SLIDER, and WT_UNKNOWN.

int GUITexCoordDescriptor::getType (  ) 

Definition at line 77 of file GUITexCoordDescriptor.cpp.

References widgetType.

Referenced by GUIFrame::addOrReplaceTexCoordsInfo().

void GUITexCoordDescriptor::setTexCoords ( float  x,
float  y,
float  z,
float  w 
)

Definition at line 114 of file GUITexCoordDescriptor.cpp.

References texCoords.

Referenced by loadXMLSettings().

void GUITexCoordDescriptor::setTexCoords ( const Tuple4f &  texCoords  ) 

Definition at line 120 of file GUITexCoordDescriptor.cpp.

References texCoords.

const Tuple4f & GUITexCoordDescriptor::getTexCoords (  ) 

Definition at line 125 of file GUITexCoordDescriptor.cpp.

References texCoords.

Referenced by GUIFrame::addOrReplaceTexCoordsInfo(), GUISlider::render(), GUICheckBox::render(), and GUISlider::renderVertical().


Member Data Documentation

Tuple4f GUITexCoordDescriptor::texCoords [private]

Definition at line 418 of file glwx.h.

Referenced by getTexCoords(), GUITexCoordDescriptor(), operator=(), and setTexCoords().

int GUITexCoordDescriptor::widgetType [private]

Definition at line 419 of file glwx.h.

Referenced by getType(), GUITexCoordDescriptor(), operator=(), and setType().


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