CLayoutFrame::ApplyDragDelta
function · ui · primitive
- Address
0x768710· 1331 bytes, up to0x768c42- Meaning
- Moves or resizes a frame by a cursor difference at a point, clamped to its resize bounds
- Confidence
- verified, proof one
- Finding
- ui/resizebounds#the-drag
- Test
ui::geo_768710
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 1
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.