benilla-re systems structs docs

Frame::GetBackdropBorderColor

function · ui · primitive

Address
0x777f60 · 358 bytes, up to 0x7780c5
Signature
int __fastcall (lua_State *L)
Meaning
Implements the Frame method GetBackdropBorderColor, its pair in the table 0x878ec0
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/backdrop#reading-a-backdrop-back
Test
ui::luabind_777_get_backdrop_color

Finding: Reading a backdrop back in ui: the frame backdrop

GetBackdrop([table]) returns nothing for a frame without a backdrop; otherwise it fills the table given as argument 2, or a new one, and returns it. The keys are bgFile, edgeFile (empty strings when unset), tile (the number 1, or nil when tiling is off), tileSize, edgeSize and insets, with lengths converted back to interface units. GetBackdropColor and GetBackdropBorderColor return the four components r, g, b, a as the byte times the float 0x3b80806e (0.00392156, at 0x81c6b4), not divided by 255, so 255 reads back as 0.9999978 and not 1.0, or nothing without a backdrop.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 6

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