CSimpleTop::StartMovingOrSizingAt
function · ui · primitive
- Address
0x765320· 358 bytes, up to0x765485- Meaning
- Chooses a sizing point by the cursor's third of the frame, else the centre, and starts the move or size
- Confidence
- inferred
- Finding
- ui/input#moving-and-sizing
- Test
ui::geo_765320
Finding: Moving and sizing in ui: input, hit testing and focus
The top keeps the frame being moved or sized, the kind (1 a modifier drag, 2 a
title-region press, 3 a script's StartMoving or StartSizing), the point and the last cursor
position, and applies each mouse move's difference to the frame's anchor. Point 4, the centre,
moves; any other point sizes from that corner or edge. A release ends kinds 1 and 2 only. A
modifier press with the flag +0xcf8 set picks the topmost hit frame of strata 7 to 0, then its
toplevel ancestor, and moves it, or sizes it with the key-1 modifier, when movable (0x100) or
resizable (0x200); sizing picks the corner or edge by which third of the frame holds the cursor.
The derivation is in the doc.
Callers 2
Callees 4
- CSimpleTop::StartMovingOrSizing ui
- CLayoutFrame::Resize ui
- CLayoutFrame::IsResizePending ui
- CLayoutFrame::GetRect ui
Calls and jumps by a bare address, from tables/calls.tsv.