benilla-re systems structs docs

CSimpleButton::RegisterForClicks

function · ui · orchestration

Address
0x779730 · 16 bytes, up to 0x77973f
Meaning
Stores the click mask
Confidence
verified, proof one
Finding
ui/button#registerforclicks-and-click

Finding: RegisterForClicks and Click in ui: Button and CheckButton

RegisterForClicks replaces the mask with the union of its arguments: LeftButtonDown 0x1, MiddleButtonDown 0x2, RightButtonDown 0x4, Button4Down 0x8, Button5Down 0x10, and the Up names the same bits shifted left by 8, ignoring case. An unknown name adds nothing, and no argument registers nothing. Click(name) runs slot 0x94 for LeftButton, MiddleButton or RightButton, ignoring case; no argument or a value neither a string nor a number means LeftButton, and any other string 0, which the click names UNKNOWN. A number counts as a string, so Click(1) compares "1" and runs as UNKNOWN. It does not test the state itself.

The derivation is in the doc.

Callers 3

Callees 0

None by a direct call or jump.

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