UseUiScaleChanged
function · ui · primitive
- Address
0x4907f0· 203 bytes, up to0x4908ba- Signature
uint8_t __thiscall (void *this, const char *value, void *userdata)- Meaning
- Applies the uiScale value when useUiScale turns on, else the automatic scale
- Confidence
- verified, proof one
- Finding
- ui/uiscale#applying-a-scale
- Test
ui::glue_48fbf0_finite_diff,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 5
- __ftol crt
- ApplyAutoUiScale ui
- SetUiParentScale ui
- GxCapsScreenSize gx
- SStrToInt storm
Calls and jumps by a bare address, from tables/calls.tsv.