Frame::CreateTexture
function · ui · orchestration
- Address
0x773a20· 520 bytes, up to0x773c27- Signature
int __fastcall (lua_State *L)- Meaning
- Creates a texture of the frame with a name, layer and template, the template only from a string
- Confidence
- verified, proof two
- Name from
- the community database (idb)
- Finding
- ui/script#creating-a-frame-from-lua
Finding: Creating a frame from Lua in ui: the script layer and events
CreateFrame(type, name, parent, inherits) raises its usage unless type is a string or number and
parent is absent, nil or a table. name and inherits are read as strings, a number becoming
one, anything else absent; a string inherits must name a template, else it raises. The frame is
created from a node of that type with those attributes. With a parent table the node also gets an
empty parent, so the table is the parent; without one, it is the first parent the inherits
chain gives, an empty one ending the walk with none. CreateTexture and CreateFontString read
inherits only when it is a string, the font string trying a font object first; their layer
defaults to ARTWORK.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 16
- CStatus::~CStatus client
- FindXMLTemplate ui
- DrawLayerNameToId ui
- lua_settop lua
- lua_type lua
- lua_isstring lua
- lua_tostring lua
- lua_touserdata lua
- lua_rawgeti lua
- luaL_error lua
- LockScriptObject ui
- GetBlockPoolData base
- CScriptRegion::SetName ui
- CSimpleTexture::CSimpleTexture ui
- CSimpleTexture::PreLoadXML ui
- CSimpleTexture::AnchorToParent ui
Calls and jumps by a bare address, from tables/calls.tsv.