benilla-re systems structs docs

CreateFrameFromXML

function · ui · primitive

Address
0x6ee280 · 632 bytes, up to 0x6ee4f7
Signature
CSimpleFrame * __fastcall (XMLNode *node, CSimpleFrame *parent, CStatus *status)
Meaning
Creates a frame of a node's type under the parent attribute or argument and loads the node into it
Confidence
verified, proof one
Finding
ui/framexml#creating-a-frame-from-xml

Finding: Creating a frame from XML in ui: loading the interface from toc and XML files

0x6ee280(node, parent, status) finds the factory by the element's tag, ignoring case; an unknown tag reports Unknown frame type: %s. The parent is the frame named by the node's parent, or by the first parent up its inherits chain; a name that finds no frame reports Couldn't find frame parent: %s and leaves the frame parentless; with no parent, or an empty one on the node or a template up the chain, the argument is used. The factory constructs the frame under that parent, before it is named. Then the node is applied in three steps: name and loading flag, the frame's load, and the finishing step that creates the child frames and runs OnLoad.

The derivation is in the doc.

Callers 4

Callees 7

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