benilla-re systems structs docs

Button::LockHighlight

function · ui · primitive

Address
0x782840 · 217 bytes, up to 0x782918
Signature
int __fastcall (lua_State *L)
Meaning
Implements the Button method LockHighlight, its pair in the table 0x879d00
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/button#button-state-from-lua

Finding: Button state from Lua in ui: Button and CheckButton

SetButtonState(state, lock) takes DISABLED, NORMAL or PUSHED, ignoring case, and sets that state directly through slot 0x9c, with the lock read as a flag (default 0); any other name raises Usage: %s:SetButtonState("state", lock). It bypasses enabling, so DISABLED this way neither runs the leave notify nor turns the highlight off. GetButtonState returns the state's name. LockHighlight and UnlockHighlight lock the HIGHLIGHT layer on or release it; the button then refreshes its label font. A release leaves the layer on while the mouse is over the button.

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.