benilla-re systems structs docs

CSimpleCheckbox::RunClick

function · ui · orchestration

Address
0x785550 · 47 bytes, up to 0x78557e
Meaning
Toggles the check, then runs the button's click
Confidence
verified, proof one
Finding
ui/button#checkbutton

Finding: CheckButton in ui: Button and CheckButton

SetChecked(checked, force) stores the flag unless unchanged and not forced, hides both checked textures and, when checked, shows the disabled one if the button is disabled and has it, else the checked one. Enabling or disabling refreshes this. A click toggles the check before running the button's click, so Click() toggles even a disabled check button, which then runs no script. A double click does not toggle: the second release of a quick pair runs OnDoubleClick alone, so the pair toggles once. Lua's SetChecked reads its argument as a flag with default 1, so no argument checks; GetChecked returns 1 or nil.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 2

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