Frame::SetBackdropBorderColor
function · ui · primitive
- Address
0x7780d0· 545 bytes, up to0x7782f0- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Frame method SetBackdropBorderColor, its pair in the table 0x878ec0
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/backdrop#the-two-colours
- Test
ui::luabind_777_set_backdrop_color
Finding: The two colours in ui: the frame backdrop
The background colour applies to the background texture alone and the border colour to all eight edge textures,
never the background. Each is stored in the object and set on its textures as their vertex colour. A script sets
them with SetBackdropColor(r, g, b[, a]) and SetBackdropBorderColor(r, g, b[, a]): each channel is clamped to 0 to 1
with a missing alpha 1, and packed as alpha, red, green, blue bytes rounded as ×255 + 0.5. A frame without a
backdrop keeps nothing, so a colour set before SetBackdrop is lost, and a new object starts white.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 9
- __ftol crt
- lua_settop lua
- lua_type lua
- lua_isnumber lua
- lua_tonumber lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- CSimpleBackdrop::SetBorderColor ui
Calls and jumps by a bare address, from tables/calls.tsv.