benilla-re systems structs docs

CSimpleFrame

struct · ui · 788 bytes

Vtable
0x81c498
Meaning
Holds a frame: a CScriptRegion and its strata, flags, scripts, regions, layers and children
Confidence
verified, proof one
Finding
ui/frames#construction

Finding: Construction in ui: the frame object model

The constructor builds the CScriptRegion, zeroes the frame fields, sets shown to 1, the state to 1, the stratum to 3, alpha to 255 and both scales to 1.0, builds the lists and the five batches, counts the frame in 0xcf0c1c, takes the top from 0xcf0bd8 and joins its frame list, sets the parent passed to it, switches the first four layers on, and makes itself visible through slot 0x88.

The derivation is in the doc.

Fields 25

offsetsizetypenamemeaningconfidencefinding
0x0000160CScriptRegionm_regionHolds the frame's CScriptRegionverified, proof oneui/frames#vtables-and-the-two-parts
0x00a04CSimpleTop *m_topHolds the top the frame joined at constructionverified, proof twoui/frames#construction
0x00a44CSimpleFrame *m_highlightFrameHolds a frame the enter handler shows and the leave handler hidesverified, proof oneui/frames#frame-fields
0x00a84CScriptRegion *m_titleRegionHolds the title region, whose area starts a move on a pressverified, proof oneui/input#mouse-buttons
0x00ac4uint32_tm_stateHolds 1 after construction and 3 while being destroyedverified, proof twoui/frames#destruction
0x00b04uint32_tm_idHolds the id the XML id attribute and SetID storeverified, proof oneui/frames#loading-from-xml
0x00b44uint32_tm_frameFlagsHolds 1 toplevel, 0x10 overlapped, 0x100 movable, 0x200 resizable, 0x1000 moving, 0x2000 and 0x4000verified, proof oneui/frames#frame-fields
0x00b84floatm_scaleHolds the frame's own scaleverified, proof twoui/visibility#scale
0x00bc4floatm_parentScaleHolds the parent's effective scaleverified, proof twoui/visibility#scale
0x00c04uint32_tm_strataHolds the stratum, 3 at constructionverified, proof twoui/strata#strata-and-their-names
0x00c44uint32_tm_levelHolds the level within the stratumverified, proof twoui/strata#strata-and-their-names
0x00c81uint8_tm_alphaHolds the alpha, 255 at constructionverified, proof twoui/visibility#alpha
0x00cc4uint32_tm_inputKindsHolds a bit per enabled input kind: 0 characters, 1 keys, 2 mouse, 3 wheelverified, proof oneui/input#input-lists
0x00d04uint32_tm_shownHolds whether the frame asks to be shownverified, proof twoui/visibility#showing-a-frame
0x00d44uint32_tm_visibleHolds whether the frame and every ancestor are shownverified, proof twoui/visibility#showing-a-frame
0x00d816float[4]m_hitRectHolds the hit rectangle: bottom, left, top, rightverified, proof oneui/input#hit-test
0x00e816float[4]m_hitInsetsHolds the hit insets: bottom, left, top, rightverified, proof oneui/input#hit-test
0x01144uint32_tm_loadingHolds 1 while the frame loads from XMLverified, proof twoui/visibility#show-and-hide-scripts
0x0118128uint32_t[32]m_scriptsHolds the sixteen script slots OnLoad to OnKeyUp, 8 bytes eachverified, proof twoui/frames#script-slots-by-name
0x019820uint32_t[5]m_layerEnabledHolds whether each draw layer is switched onverified, proof twoui/frames#construction
0x01ac4void *m_backdropHolds the backdrop object, or nullverified, proof oneui/frames#destruction
0x01f84uint32_tm_dirtyLayersHolds a bit per own draw layer to rebuildverified, proof twoui/visibility#parent-change
0x02f812uint32_t[3]m_childrenHolds the list of child frame nodesverified, proof twoui/visibility#parent-change
0x03048uint32_t[2]m_frameLinkHolds the frame's link in the top's frame listverified, proof twoui/frames#construction
0x030c8uint32_t[2]m_strataLinkHolds the frame's link in a level node's listverified, proof twoui/strata#joining-and-leaving-a-level