class GmScrollbar |
A scrollbar.
GmScrollbar () 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 float | getBorderWidth () Gets the width of the border around the scrollbar. |
virtual GmTypes::OrientationType | getOrientation () Get the current orientation of the scrollbar. |
virtual void | mousePressEvent (GmEvent* event) Event processing function to process a mouse release event. |
virtual void | setBaseColor (GlmColor4* color) Sets the base color of the object. |
virtual void | setBaseColor (float r, float g, float b, float a) Sets the base color of the object. |
virtual void | setBorderWidth (float borderWidth) Sets the width of the border around the scrollbar. |
virtual void | setCurrentValue (float currentValue) Set the currently set value for the range. |
virtual void | setDepth (float depth) Sets the depth of the drawable object in units. |
virtual void | setHeight (float height) Sets the height of the drawable object in units. |
virtual void | setOrientation (GmTypes::OrientationType orientation) Set the current orientation of the scrollbar. |
virtual void | setPosition (float x, float y, float z) Sets the position of the drawable. |
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 | setRelativeGeometry (float x, float y, float width, float height) Sets the relative geometry to use for this drawable object. |
virtual void | setWidth (float width) Sets the width of the drawable object in units. |
virtual void | widgetEvent (GmEvent::WidgetEventType* widgetEvent) Called whenever a sub-component radio button is selected. |
virtual | ~GmScrollbar () Virtual destructor |
float | mBorderWidth The width of the border around the scrollbar |
GmGraphicButton* | mDecrementButton A button to decrement the value of the scrollbar |
GmGraphicButton* | mIncrementButton A button to increment the value of the scrollbar |
bool | mNeedRefresh Allows notification for realignment of scrollbar subcomponents. |
GmTypes::OrientationType | mOrientation The orientation of the scrollbar. |
GmGraphicButton* | mPositionButton A button to show the current position of scrollbar |
virtual void | refresh () Refreshes the positions of the three scrollbar components |
virtual void | render2d (GmTypes::RenderOptionType renderOptions) Renders this scrollbar to a 2D image buffer. |
virtual void | render2dSelect (GmTypes::RenderOptionType renderOptions) Renders this scrollbar to a 2D selection buffer. |
A scrollbar. Scrollbars provide a way for the user to visually slide between a defined range. They are commonly used in conjunction with text areas, list boxes, etc.
Alphabetic index HTML hierarchy of classes or Java