benilla-re systems structs docs

SetUiParentScale

function · ui · orchestration

Address
0x494550 · 56 bytes, up to 0x494587
Signature
void __stdcall (float scale)
Meaning
Raises a scale to at least 0.64, sets it on UIParent with force and drains the layout queue
Confidence
verified, proof one
Finding
ui/uiscale#applying-a-scale

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 4

Callees 2

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