benilla-re systems structs docs

CSimpleFrame::SetParentScale

function · ui · primitive

Address
0x76ac50 · 62 bytes, up to 0x76ac8d
Meaning
Stores the parent's effective scale and recomputes the effective scale
Confidence
verified, proof two
Finding
ui/visibility#scale
Test
ui::glue769_76ac50_setter_delta_abs

Finding: Scale in ui: visibility, alpha and scale

A frame keeps its own scale at +0xb8 and its parent's effective scale at +0xbc, both 1.0 at construction. Setting either ignores a change below 2⁻²² unless forced, then recomputes the effective scale, +0xbc · +0xb8 rounded to a float. When that differs from the layout scale by 2⁻²² or more, or when forced, it becomes the layout scale of the frame unless it is exactly 0, which the layout setter refuses and leaves the layout scale as it was; it is passed as the layout scale of each region, and as the parent scale of each child, 0 included.

The derivation is in the doc.

Callers 2

Callees 0

None by a direct call or jump.

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