CLayoutFrame::OnFrameSizeChanged
function · ui · orchestration
- Address
0x768cf0· 44 bytes, up to0x768d1b- Meaning
- Lays out every dependent frame
- Confidence
- verified, proof two
- Finding
- ui/anchors#resolving-and-the-changed-callback
Finding: Resolving and the changed callback in ui: anchors and layout
Resolving a frame calculates its rectangle. On failure it clears flag 1 (valid), sets flag 8
(failed) and answers 0. On success it clears flags 4 and 8; when the rectangle was valid and every
edge moved by less than 10⁻⁵ it answers 1 and stops. Otherwise it stores the new rectangle at
+0x40, sets flag 1, calls slot 0 with the old rectangle and answers flag 1, which slot 0 may
clear. CLayoutFrame's own slot 0 lays out every dependent.
The derivation is in the doc.
Callers 3
- CSimpleFrame::OnFrameSizeChanged ui
- CSimpleTexture::OnFrameSizeChanged ui
- CSimpleFontString::OnFrameSizeChanged ui
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.