benilla-re systems structs docs

CSimpleStatusBar::SetValue

function · ui · orchestration

Address
0x7832d0 · 173 bytes, up to 0x78337c
Meaning
Clamps a status bar value to its range and runs OnValueChanged for a change
Confidence
verified, proof one
Finding
ui/slider#a-status-bars-value

Finding: A status bar's value in ui: Slider and StatusBar

SetMinMaxValues(a, b) stores the smaller of the two as the minimum and b as the maximum, so a reversed pair gives an empty range at b, and runs OnValueChanged again for the current value. SetValue clamps to the range, with no step; an unchanged value does nothing, any other is stored and OnValueChanged runs with it. The fill is (value − minimum)/(maximum − minimum), or 0 for an empty range.

The derivation is in the doc.

Callers 1

Callees 1

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