CSimpleSlider::SetValue
function · ui · primitive
- Address
0x789930· 302 bytes, up to0x789a5d- Meaning
- Sets a slider's value clamped to its range and rounded to its step
- Confidence
- verified, proof one
- Finding
- ui/xmltypes#slider-and-statusbar-values
- Test
ui::glue_789930_set_value,ui::glue_789a60_step_write_requantizes_and_fires
Finding: Slider and StatusBar values in ui: what each widget type reads from XML
Slider reads drawLayer (default OVERLAY, 3) for its thumb, then each ThumbTexture. Only when
both minValue and maxValue are present does it set the range, then valueStep and
defaultValue when present; orientation is read either way. StatusBar sets its range and then
defaultValue under the same condition.
The derivation is in the doc.
Callers 4
- CSimpleSlider::LoadXML ui
- CSimpleSlider::SetMinMaxValues ui
- CSimpleSlider::OnMouseMove ui
- Slider::SetValue ui
Callees 2
- __ftol crt
- FrameScriptExecuteVarArgs ui
Calls and jumps by a bare address, from tables/calls.tsv.