CSimpleFrame::UpdateScale
function · ui · primitive
- Address
0x76ac90· 182 bytes, up to0x76ad45- Meaning
- Multiplies the two scales and passes a changed result to the layout, regions and children
- Confidence
- verified, proof two
- Finding
- ui/visibility#scale
- Test
ui::effective_scale
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 2
Calls and jumps by a bare address, from tables/calls.tsv.