ui
tkui
MSlider
MSlider.ui::Slider
New(float min, max, value, step) : ui::Slider
-
NewVertical(float min, max, value, step) : ui::Slider
- beginXFMTag(ui::AbstractXMLForm form, HashTable attributes) : int
-
calcMinimumSizeX()
-
calcMinimumSizeY()
-
calcPreferredSizeX()
-
calcPreferredSizeY()
-
cancelSliderTimer()
-
consumeAction(ui::Action ac) : int
-
decrementPosition() : int
- Subtract stepSizeDec from current slider value
getBorderSize()
-
getKnobSize() : float
- Query the size of the slider knob
getMaximumPosition() : float
- Query the maximum slider position
getMinimumPosition() : float
- Query the minimum slider position
getMoveDirection() : int
- Return direction of last slider movement, -1=up/left, 0=none, 1=right/down
getProvidedActionNames() : StringArray
-
getStepSizeDec() : float
- Query the default position change dec size.
getStepSizeInc() : float
- Query the default position change inc size.
getValue() : float
-
handleMouseClick()
-
handleValueChanged()
-
handleValueChanging()
-
incrementPosition() : int
- Add stepSizeInc to current slider value
initSlider(float min, max, value, step)
-
isFlipped() : int
-
isKnobSizeAdaptive() : int
-
isMouseFocusLocked() : int
-
isTabCycleMember() : int
-
isVertical() : int
- Query orientation of the slider; true=vertical, false=horizontal
onDraw()
-
onKey(Key k) : int
-
onKeyboardFocusLost(int bQuiet)
-
onMouse(ui::MouseEvent ev) : int
-
onMouseBeginDrag(ui::MouseEvent dragStart, ev) : int
-
onMouseClick(ui::MouseEvent ev) : int
-
onMouseEnter(ui::MouseEvent ev) : int
-
onMouseHold(ui::MouseEvent ev) : int
-
onMouseLeave(ui::MouseEvent ev) : int
-
onTabFocus()
-
recalcKnobSize()
-
setBorderSize(int bs)
-
setEnableAdaptiveKnobSize(int b)
-
setFlip(int b)
-
setKnobSize(float size)
- Set the size of the slider knob (in pixels)
setMaximumPosition(float max)
- Set the maximum slider position
setMinimumPosition(float min)
- Set the minimum slider position
setRange(float min, max)
-
setRelativeKnobSize(float visible)
- Set the size of the slider knob (visible range of values)
setStepSize(float val)
- Set the default position change inc/dec size.
setStepSizeDec(float s)
- Set the default position change dec size.
setStepSizeInc(float s)
- Set the default position change inc size.
setValue(float value)
-
setValueGrabbed(float value)
-
setVertical(int b)
- Enable vertical orientation instead of horizontal (default)
Slider()
-
validateValue()
- String
ACTION_VALUECHANGED
-
String
ACTION_VALUECHANGING
-
String
DELEGATE_GETSTEPSIZEDEC
-
String
DELEGATE_GETSTEPSIZEINC
-
float
MAX_KNOB_SIZE
-
float
MIN_HEIGHT
-
float
MIN_WIDTH
-
Function New | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Returns | ||||||||||||||||||||||||||||||
Function NewVertical | ||||||||||||||||||||||||||||||
Signature | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Arguments | ||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||
Returns | ||||||||||||||||||||||||||||||
Method beginXFMTag | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Method calcMinimumSizeX | |||
Signature | |||
|
Method calcMinimumSizeY | |||
Signature | |||
|
Method calcPreferredSizeX | |||
Signature | |||
|
Method calcPreferredSizeY | |||
Signature | |||
|
Method cancelSliderTimer | |||
Signature | |||
|
Method consumeAction | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
| ||||||||||
Returns | ||||||||||
|
Method decrementPosition | |||||
Subtract stepSizeDec from current slider value | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getBorderSize | |||
Signature | |||
|
Method getKnobSize | |||||
Query the size of the slider knob | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getMaximumPosition | |||||
Query the maximum slider position | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getMinimumPosition | |||||
Query the minimum slider position | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getMoveDirection | |||||
Return direction of last slider movement, -1=up/left, 0=none, 1=right/down | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getProvidedActionNames | |||||
Signature | |||||
| |||||
Returns | |||||
Method getStepSizeDec | |||||
Query the default position change dec size. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getStepSizeInc | |||||
Query the default position change inc size. | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method getValue | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method handleMouseClick | |||
Signature | |||
|
Method handleValueChanged | |||
Signature | |||
|
Method handleValueChanging | |||
Signature | |||
|
Method incrementPosition | |||||
Add stepSizeInc to current slider value | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method initSlider | |||||||||||||||||||||||||
Signature | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
Arguments | |||||||||||||||||||||||||
|
Method isFlipped | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isKnobSizeAdaptive | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isMouseFocusLocked | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isTabCycleMember | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method isVertical | |||||
Query orientation of the slider; true=vertical, false=horizontal | |||||
Signature | |||||
| |||||
Returns | |||||
|
Method onDraw | |||
Signature | |||
|
Method onKeyboardFocusLost | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method onMouse | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
|
Method onMouseBeginDrag | ||||||||||||||||||||
Signature | ||||||||||||||||||||
| ||||||||||||||||||||
Arguments | ||||||||||||||||||||
| ||||||||||||||||||||
Returns | ||||||||||||||||||||
|
Method onMouseClick | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
|
Method onMouseEnter | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
|
Method onMouseHold | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
|
Method onMouseLeave | ||||||||||
Signature | ||||||||||
| ||||||||||
Arguments | ||||||||||
Returns | ||||||||||
|
Method onTabFocus | |||
Signature | |||
|
Method recalcKnobSize | |||
Signature | |||
|
Method setBorderSize | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setEnableAdaptiveKnobSize | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setFlip | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setKnobSize | |||||
Set the size of the slider knob (in pixels) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setMaximumPosition | |||||
Set the maximum slider position | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setMinimumPosition | |||||
Set the minimum slider position | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setRange | |||||||||||||||
Signature | |||||||||||||||
| |||||||||||||||
Arguments | |||||||||||||||
|
Method setRelativeKnobSize | |||||
Set the size of the slider knob (visible range of values) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setStepSize | |||||
Set the default position change inc/dec size. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setStepSizeDec | |||||
Set the default position change dec size. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setStepSizeInc | |||||
Set the default position change inc size. | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setValue | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setValueGrabbed | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method setVertical | |||||
Enable vertical orientation instead of horizontal (default) | |||||
Signature | |||||
| |||||
Arguments | |||||
|
Method Slider | |||
Signature | |||
|
Method validateValue | |||
Signature | |||
|
Constant ACTION_VALUECHANGED (String) | |
Constant ACTION_VALUECHANGING (String) | |
Constant DELEGATE_GETSTEPSIZEDEC (String) | |
Constant DELEGATE_GETSTEPSIZEINC (String) | |
Constant MAX_KNOB_SIZE (float) | |
Constant MIN_HEIGHT (float) | |
Constant MIN_WIDTH (float) | |
auto-generated by "DOG", the TkScript document generator. Mon, 28/Dec/2015 14:27:06