#include <glwx.h>
Public Member Functions | |
| GUITexCoordDescriptor (const int type=WT_UNKNOWN) | |
| GUITexCoordDescriptor (const GUITexCoordDescriptor ©) | |
| GUITexCoordDescriptor & | operator= (const GUITexCoordDescriptor ©) |
| 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 |
Definition at line 412 of file glwx.h.
| GUITexCoordDescriptor::GUITexCoordDescriptor | ( | const int | type = WT_UNKNOWN |
) |
| GUITexCoordDescriptor::GUITexCoordDescriptor | ( | const GUITexCoordDescriptor & | copy | ) |
| 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] |
| int GUITexCoordDescriptor::getTextureHeight | ( | ) | [static] |
| 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 | ) |
| 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().
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().
1.5.3