benilla-re systems structs docs

UiScaleChanged

function · ui · primitive

Address
0x490770 · 115 bytes, up to 0x4907e2
Signature
uint8_t __thiscall (void *this, const char *value, void *userdata)
Meaning
Applies a new uiScale text to UIParent when useUiScale is on, capped for narrow windows
Confidence
verified, proof one
Finding
ui/uiscale#applying-a-scale
Test
ui::glue_490770_eps_gates

Finding: Applying a scale in ui: The interface scale

A change of uiScale is applied only while useUiScale is on. The value is capped, on windows whose aspect a is under 4/3, to 0.75·a; it is then raised to 0.64 if it is not above that, and passed to UIParent:SetScale with the force flag, after which the layout queue is drained. A change of useUiScale to on applies the current uiScale the same way; a change to off applies the automatic scale. With UIParent absent nothing is set.

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.