benilla-re systems structs docs

CSimpleButton::OnMouseUp

function · ui · orchestration

Address
0x7792d0 · 287 bytes, up to 0x7793ee
Meaning
Takes a release of a PUSHED button: runs the click or double click, then sets NORMAL unless locked
Confidence
verified, proof one
Finding
ui/button#mouse-presses-and-clicks

Finding: Mouse presses and clicks in ui: Button and CheckButton

A press reaches the button only after the frame's own handler declines it, while the button is enabled, registered for the button's down or up, and under the mouse. A press registered as a down click runs the click at once. Any such press then sets PUSHED unless the state is locked. A release first goes to the frame: one that ends a drag clicks nothing, any other runs OnMouseUp first. Only a PUSHED button clicks: registered as an up click and under the mouse, it runs the click, or the double click (next entry), then sets NORMAL unless locked. A drag start sets NORMAL, unless locked, before the frame's drag.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 3

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