benilla-re systems structs docs

OnDisplaySizeChanged

function · ui · primitive

Address
0x492e90 · 218 bytes, up to 0x492f69
Signature
uint32_t __thiscall (void *this)
Meaning
Applies the interface scale for a new window size, then signals DISPLAY_SIZE_CHANGED or reloads the interface
Confidence
verified, proof one
Finding
ui/videoverbs#after-a-size-change

Finding: After a size change in ui: the video option verbs

When the window size changes, the top frame calls the host callback at its +0x1130, which is 0x492e90. With the useUiScale option clear it applies the automatic scale for the new size and signals DISPLAY_SIZE_CHANGED (event 511). With it set, it sets the UIParent scale from uiScale, capped for aspects below 4:3, and, when the configured aspect changed by more than 0.001, reloads the interface and signals nothing. It returns 1.

The derivation is in the doc.

Callers 1

Callees 5

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