benilla-re systems structs docs

Button::Disable

function · ui · primitive

Address
0x77ffd0 · 214 bytes, up to 0x7800a5
Signature
int __fastcall (lua_State *L)
Meaning
Implements the Button method Disable, its pair in the table 0x879d00
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/button#enabling-and-disabling

Finding: Enabling and disabling in ui: Button and CheckButton

Enabling (slot 0x90 with 1) moves a disabled button to NORMAL and, when the mouse is over it, runs its enter notify. Disabling first runs the leave notify when the mouse is over it, turns the HIGHLIGHT layer off and sets state 0; it does nothing to a button already disabled. Hiding an enabled, unlocked button sets NORMAL. IsEnabled returns the number 1 or 0, never nil, so 0 is true in Lua.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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