benilla-re systems structs docs

CSimpleSlider::OnFrameUpdate

function · ui · primitive

Address
0x789aa0 · 253 bytes, up to 0x789b9c
Meaning
Places the slider's thumb along the track by the value's fraction
Confidence
verified, proof one
Finding
ui/slider#the-sliders-thumb
Test
ui::glue_789aa0_thumb_offset

Finding: The slider's thumb in ui: Slider and StatusBar

On its update, a slider with a range, a value and a thumb places the thumb when asked: its fraction (value − minimum)/span, 0 for a span below 2^−22, moves the thumb's LEFT from the slider's LEFT by the fraction of the slider's width less the thumb's, or for a vertical slider the thumb's TOP down from the slider's TOP by the fraction of the height less the thumb's.

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.