class GmButton |
Class description
![]() | GmButton () Standard constructor |
![]() | applyLayout (float minX, float minY, float minZ, float maxX, float maxY, float maxZ) Repositions and resizes this component based on parameters passed into the method. |
![]() | getBorderWidth () Gets the width of the border around the button. |
![]() | getState () Gets the state of the button. |
![]() | getText () Gets the text that is currently associated with this widget |
![]() | getTextColor () Gets the text color that is currently assigned to the text. |
![]() | getTextJustification (GmTypes::JustificationType& horizontal, GmTypes::JustificationType& vertical) Gets the type of justification for the text in this widget. |
![]() | getTextPointSize () Gets the size of the text in points. |
![]() | mousePressEvent (GmEvent* event) Event processing function to process a mouse press event. |
![]() | mouseReleaseEvent (GmEvent* event) Event processing function to process a mouse release event. |
![]() | setAbsoluteGeometry (float x, float y, float z, float width, float height, float depth) Sets the absolute geometry to use for this drawable object. |
![]() | setBorderWidth (float borderWidth) Sets the width of the border around the button. |
![]() | setCoordType (GmTypes::CoordinateType coordType) Sets the coordinate type for this object. |
![]() | setDepth (float depth) Sets the depth of the drawable object in units. |
![]() | setHeight (float height) Sets the height of the drawable object in units. |
![]() | setPosition (float x, float y, float z) Sets the position of the drawable. |
![]() | setPosition (GlmPoint3* point) Sets the position of the drawable. |
![]() | setRelativeGeometry (float x, float y, float width, float height) Sets the relative geometry to use for this drawable object. |
![]() | setRelativeGeometry (float x, float y, float z, float width, float height, float depth) Sets the relative geometry to use for this drawable object. |
![]() | setState (GmTypes::ButtonStateType state) Sets the state of the button. |
![]() | setText (char* text) Sets the text of this text widget to the given text. |
![]() | setTextColor (float r, float g, float b, float a) Sets the display color of the text to the given red, green, blue and alpha values. |
![]() | setTextColor (GlmColor4* color) Sets the display color of the text. |
![]() | setTextJustification (GmTypes::JustificationType horizontal, GmTypes::JustificationType vertical) Sets the horizontal and vertical text justification for the widget text. |
![]() | setTextPointSize (float pointSize) Sets the point size of the text, this will affect the size at which the font is rendered for the text string. |
![]() | setVisible (bool visible) Sets the visibility of the drawable object. |
![]() | setWidth (float width) Sets the width of the drawable object in units. |
![]() | ~GmButton () Virtual destructor |
![]() | mBorderWidth The width of the border around the button |
![]() | mState The state of the button. |
![]() | mTextWidget Some text for labeling the button |
Class description
Alphabetic index HTML hierarchy of classes or Java