Frame::SetBackdrop
function · ui · primitive
- Address
0x7776e0· 1243 bytes, up to0x777bba- Signature
int __fastcall (lua_State *L)- Meaning
- Implements the Frame method SetBackdrop, its pair in the table 0x878ec0
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/backdrop#setbackdrop-from-a-script
- Test
ui::luabind_777_set_backdrop
Finding: SetBackdrop from a script in ui: the frame backdrop
SetBackdrop(table) reads bgFile, edgeFile, tile, tileSize, edgeSize and insets with left, right,
top and bottom from the table and builds a new object. SetBackdrop(nil) removes the backdrop. A
missing or non-number size keeps the default and an inset is 0. The edge mask is 0xff for a nonempty edgeFile
and 0 otherwise. Lengths are interface units, converted as SetWidth converts them. No argument, or one that is
neither nil nor a table, raises the usage message
Usage: %s:SetBackdrop(nil or {bgFile = "bgFile", edgeFile = "edgeFile", tile = false, tileSize = 0, edgeSize = 32, insets = { left = 0, right = 0, top = 0, bottom = 0 }}).
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 19
- GetScaledScreenAspect screencoord
- MultiplyByScreenScaleX screencoord
- AssignSharedString base
- SMemAlloc storm
- GetScriptFlagArg ui
- lua_settop lua
- lua_type lua
- lua_isnumber lua
- lua_tonumber lua
- lua_tostring lua
- lua_touserdata lua
- lua_pushstring lua
- lua_gettable lua
- lua_rawgeti lua
- luaL_error lua
- CLayoutFrame::GetRect ui
- CSimpleFrame::SetBackdrop ui
- CSimpleBackdrop::CSimpleBackdrop ui
- CSimpleBackdrop::ApplyTexCoords ui
Calls and jumps by a bare address, from tables/calls.tsv.