GetToplevelAncestor
function · ui · orchestration
- Address
0x766fe0· 45 bytes, up to0x76700c- Meaning
- Returns the frame, else its nearest ancestor, with the toplevel bit, or 0
- Confidence
- inferred
- Finding
- ui/input#moving-and-sizing
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 1
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.