class GmGraphicButton |
Class description
GmGraphicButton () Standard constructor | |
virtual void | 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. |
virtual void | mousePressEvent (GmEvent* event) Event processing function to process a mouse press event. |
virtual void | mouseReleaseEvent (GmEvent* event) Event processing function to process a mouse release event. |
virtual void | setAbsoluteGeometry (float x, float y, float z, float width, float height, float depth) Sets the absolute geometry to use for this drawable object. |
virtual void | setPressedIconFile (char* filename) Pure virtual method that loads the pressed graphic file into the icon. |
virtual void | setRelativeGeometry (float x, float y, float width, float height) Sets the relative geometry to use for this drawable object. |
virtual void | setRelativeGeometry (float x, float y, float z, float width, float height, float depth) Sets the relative geometry to use for this drawable object. |
virtual void | setUnpressedIconFile (char* filename) Pure virtual method that loads the unpressed graphic file into the icon. |
virtual | ~GmGraphicButton () Virtual destructor |
GmIcon* | mPressedIcon The icon to use while the button is pressed |
GmIcon* | mUnpressedIcon The icon to use while the button is not pressed |
virtual void | render2d (GmTypes::RenderOptionType renderOptions) Renders this button to a 2D image buffer. |
virtual void | render2dSelect (GmTypes::RenderOptionType renderOptions) Renders this button to a selection buffer. |
virtual void | setIconGeometry () Sets the geometry of the pressed and unpressed icons |
Class description
Alphabetic index HTML hierarchy of classes or Java