benilla-re systems structs docs

Frame::RegisterForDrag

function · ui · primitive

Address
0x776d60 · 338 bytes, up to 0x776eb1
Signature
int __fastcall (lua_State *L)
Meaning
Stores the mask of the mouse buttons the frame drags with
Confidence
verified, proof two
Name from
the community database (idb)
Finding
ui/framemethods#drag-buttons-and-keyboard-input

Finding: Drag buttons and keyboard input in ui: Frame method contracts

RegisterForDrag(...) takes any number of button names from argument 2 and stores their mask at +0xfc: LeftButton is 1, MiddleButton 2 and RightButton 4, compared without regard to case; any other string adds nothing, and no string clears the mask. EnableKeyboard([flag]) enables or disables both the key bit and the character bit of the input mask; IsKeyboardEnabled() returns 1 when either bit is set.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 8

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