CLayoutFrame::PinToParentOffset
function · ui · primitive
- Address
0x768430· 287 bytes, up to0x76854e- Meaning
- Anchors a point to the parent at the frame's current offset and sets the given size
- Confidence
- verified, proof one
- Finding
- ui/resizebounds#the-drag
- Test
ui::glue_765_768430_edge_rect
Finding: The drag in ui: Frame resize bounds
Dragging a frame by an edge or corner (StartSizing) runs the one code that applies the bounds: each frame,
when the cursor has moved, the screen's top frame passes the change to the frame's layout, which computes the
new width and height per grip, clamps each to the bounds and resizes the frame. The grip is a point name:
corner points change both sizes, edge points one, and the centre point is the move drag, which is never
bounded.
The derivation is in the doc.
Callers 3
Callees 5
- CLayoutFrame::ClearAllPoints ui
- CLayoutFrame::SetPoint ui
- CLayoutFrame::Resize ui
- CLayoutFrame::IsResizePending ui
- CLayoutFrame::GetRect ui
Calls and jumps by a bare address, from tables/calls.tsv.