benilla-re systems structs docs

CSimpleFrame::OnDragStart

function · ui · orchestration

Address
0x76c1e0 · 138 bytes, up to 0x76c269
Meaning
Runs OnDragStart with the name of the lowest held button
Confidence
verified, proof two
Finding
ui/mouse#starting-a-drag

Finding: Starting a drag in ui: which frames take the mouse

A frame drags only for the buttons it registered. A press of a registered button arms the frame with the button and the press point; the next pointer probe of the frame starts the drag once the squared distance of the cursor from that point is at least the squared threshold (a NaN distance never starts it), and calls OnDragStart with the name of the lowest-numbered button held at that moment: LeftButton, MiddleButton, RightButton, Button4 or Button5, else UNKNOWN. The drag starts once per press.

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.