#include <glwx.h>


Public Member Functions | |
| GUISeparator (int orientation=OR_HORIZONTAL) | |
| virtual bool | loadXMLSettings (const TiXmlElement *element) |
| virtual void | checkMouseEvents (MouseEvent &evt, int extraInfo) |
| virtual void | checkKeyboardEvents (KeyEvent &evt, int extraInfo) |
| virtual void | render (float) |
| virtual const Tuple4i & | getWindowBounds () |
| virtual const void | computeWindowBounds () |
| void | setOrientation (int orientation) |
| int | getOrientation () |
| void | setRatio (float ratio) |
| float | getRatio () |
Private Attributes | |
| int | orientation |
| float | ratio |
Definition at line 604 of file glwx.h.
| GUISeparator::GUISeparator | ( | int | orientation = OR_HORIZONTAL |
) |
Definition at line 3 of file GUISeparator.cpp.
References orientation, setOrientation(), setRatio(), GUIRectangle::widgetType, and WT_SEPARATOR.
| bool GUISeparator::loadXMLSettings | ( | const TiXmlElement * | element | ) | [virtual] |
Reimplemented from GUIRectangle.
Definition at line 10 of file GUISeparator.cpp.
References ratio, setRatio(), and Logger::writeErrorLog().
Referenced by GUIPanel::loadXMLSettings().
| virtual void GUISeparator::checkMouseEvents | ( | MouseEvent & | evt, | |
| int | extraInfo | |||
| ) | [inline, virtual] |
| virtual void GUISeparator::checkKeyboardEvents | ( | KeyEvent & | evt, | |
| int | extraInfo | |||
| ) | [inline, virtual] |
| void GUISeparator::render | ( | float | tick | ) | [virtual] |
Implements GUIRectangle.
Definition at line 39 of file GUISeparator.cpp.
References OR_VERTICAL, orientation, GUIRectangle::parent, and GUIRectangle::windowBounds.
| const Tuple4i & GUISeparator::getWindowBounds | ( | ) | [virtual] |
Reimplemented from GUIRectangle.
Definition at line 70 of file GUISeparator.cpp.
References GUIRectangle::windowBounds.
| void const GUISeparator::computeWindowBounds | ( | ) | [virtual] |
Reimplemented from GUIRectangle.
Definition at line 53 of file GUISeparator.cpp.
References GUIRectangle::getHeight(), GUIRectangle::getWidth(), GUIRectangle::getWindowBounds(), OR_HORIZONTAL, orientation, GUIRectangle::parent, GUIRectangle::position, ratio, and GUIRectangle::windowBounds.
| void GUISeparator::setOrientation | ( | int | orientation | ) |
Definition at line 29 of file GUISeparator.cpp.
References OR_HORIZONTAL, OR_VERTICAL, and orientation.
Referenced by GUISeparator(), and GUIPanel::loadXMLSettings().
| int GUISeparator::getOrientation | ( | ) |
| void GUISeparator::setRatio | ( | float | ratio | ) |
Definition at line 19 of file GUISeparator.cpp.
References ratio.
Referenced by GUISeparator(), and loadXMLSettings().
| float GUISeparator::getRatio | ( | ) |
int GUISeparator::orientation [private] |
Definition at line 622 of file glwx.h.
Referenced by computeWindowBounds(), getOrientation(), GUISeparator(), render(), and setOrientation().
float GUISeparator::ratio [private] |
Definition at line 623 of file glwx.h.
Referenced by computeWindowBounds(), getRatio(), loadXMLSettings(), and setRatio().
1.5.3