|
Back to Table of contents |
General information |
type: struct
inherits: GlowWidgetParams
module: glowScrollBarWidgetGlowScrollBarParams encloses parameters for construction of a GlowScrollBarWidget.
GLOW programs which use scroll bars may need to use GlowScrollBarParams to construct a scroll bar.
Data |
General widget parameter data
These fields are inherited from GlowWidgetParams. Note that their default values may be different from the generic widget parameters.int width
Width of the widget. Initial default is 120.int height
Height of the widget. Initial default is 20.int x
X location of the upper left of the widget, in pixel coordinates of the parent widget. Initial default is 0.int y
Y location of the upper left of the widget, in pixel coordinates of the parent widget. Initial default is 0.long refcon
Reference constant for this widget. Initial default 0.bool clipping
Should the widget clip to its rectangle when drawing children. Initial default is false.Parameter data specific to scroll bars
long min
Initial minimum value. Default is 0.long max
Initial maximum value. Default is 1.long span
Initial indicator span. Default is 1.long initialTop
Initial top value. Default is 0.int firstDelay
Delay in milliseconds between the first and second "hit" on a button or part region. Default is 400.int firstDelay
Delay in milliseconds between subsequent "hits" on a button or part region. Default is 50.long arrowStep
Amount to change value when button is depressed. Default is 1.long pageStep
Amount to change value when page region is depressed. Default is GlowScrollBarWidget::spanPageStep.GlowScrollBarReceiver* receiver
Receiver for scroll bar events. Initial default is 0.Color parameter data
GlowColor stripColor
GlowColor indicatorColor
GlowColor shadowColor
GlowColor buttonColor
GlowColor buttonIconColor
GlowColor hiliteStripColor
GlowColor hiliteIndicatorColor
GlowColor hiliteButtonColor
GlowColor hiliteButtonIconColor
GlowColor disableStripColor
GlowColor disableIndicatorColor
GlowColor disableButtonColor
GlowColor disableButtonIconColor
GlowColor disableOutlineColor
GlowColor lightBevelColor
GlowColor darkBevelColor
Static Data |
Defaults
static GlowScrollBarParams defaults
Default parameters. These are copied every time a new GlowScrollBarParams is constructed.
Methods |
Constructor
GlowScrollBarParams(void)
Constructs a new parameter block, copying defaults
|
Back to Table of contents |
The GLOW Toolkit