benilla-re systems structs docs

CSimpleSlider::OnMouseMove

function · ui · primitive

Address
0x789ba0 · 200 bytes, up to 0x789c67
Meaning
Sets the value from the cursor's position along the track while dragging
Confidence
verified, proof one
Finding
ui/slider#dragging-a-slider
Test
ui::glue_789ba0_cursor_value

Finding: Dragging a slider in ui: Slider and StatusBar

A press anywhere in the slider starts a drag and sets the value at once, as if the thumb's centre were under the cursor; there is no paging and no grab offset. While dragging, each mouse move sets the value to the minimum plus the span times the cursor's position along the track, from half a thumb inside one end to half a thumb inside the other, through SetValue's clamp and step. A release or a hide ends the drag.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.