benilla-re systems structs docs

Frame::SetUserPlaced

function · ui · orchestration

Address
0x776a50 · 240 bytes, up to 0x776b3f
Signature
int __fastcall (lua_State *L)
Meaning
Sets or clears the user placed flag of a movable or resizable frame
Confidence
verified, proof two
Name from
the community database (idb)
Finding
ui/framemethods#movable-resizable-user-placed-and-clamped

Finding: Movable, resizable, user placed and clamped in ui: Frame method contracts

SetMovable([flag]) and SetResizable([flag]) set or clear bits 0x100 and 0x200 of the frame flags; IsMovable() and IsResizable() return 1 or nil from them. SetUserPlaced([flag]) sets or clears bit 0x1000 and raises Frame %s is not movable or resizable unless one of the two is set; IsUserPlaced() tests bit 0x1000. SetClampedToScreen([flag]) sets or clears bit 0x10 of the layout flags at +0x60 and resizes; IsClampedToScreen() tests it. The flag argument is read at index 2 and is true when absent.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 7

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