CSimpleButton::Enable
function · ui · orchestration
- Address
0x779160· 115 bytes, up to0x7791d2- Meaning
- Enables a disabled button to NORMAL, or disables an enabled one, running the hover notifies and the highlight
- 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 2
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.