LayoutCacheApplyFrame
function · ui · primitive
- Address
0x4905e0· 316 bytes, up to0x49071b- Meaning
- Applies a saved layout record to a frame, converting its device position and size
- Confidence
- verified, proof two
- Finding
- ui/layoutcache#applying-a-record
- Test
ui::glue_4905e0_device_position
Finding: Applying a record in ui: the layout cache
A record changes only what its frame allows. A level of 0 or more is set with propagation. A movable
frame with X or Y nonzero loses every anchor point and gets one: its top left to the root's top
left at X and Y. A resizable frame with W or H nonzero gets that width and, separately, that
height, each only when nonzero. Each block sets the user-placed bit, and the frame is then laid out
at once. A frame at the corner (0, 0) is therefore never moved, and any authored anchors, a
setAllPoints pair included, are gone.
The derivation is in the doc.
Callers 1
Callees 7
- GetScaledScreenAspect screencoord
- MultiplyByScreenScaleX screencoord
- CLayoutFrame::SetPoint ui
- CLayoutFrame::ClearAllPointsThunk ui
- CLayoutFrame::Resize ui
- CSimpleFrame::SetFrameFlag ui
- CSimpleFrame::SetFrameLevel ui
Calls and jumps by a bare address, from tables/calls.tsv.