benilla-re systems structs docs

CLayoutFrame

struct · ui · 116 bytes

Vtable
0x81c400
Meaning
Holds a laid-out object's anchor points, dependents, flags, rectangle, size, scale and queue link
Confidence
verified, proof one
Finding
ui/anchors#construction-and-the-xml-anchors

Finding: Construction and the XML anchors in ui: anchors and layout

The constructor zeroes the points, rectangle, size, bounds and links, empties the dependents list and sets the scale to 1.0. The XML loader reads <Size>, setAllPoints, and each <Anchor> of <Anchors>: point, relativePoint (defaulting to point), relativeTo (defaulting to the parent), and <Offset>. An unknown point, a missing relative frame or a frame anchored to itself is reported and skipped. The points are set without layout; the loader lays the frame out once at the end.

The derivation is in the doc.

Fields 12

offsetsizetypenamemeaningconfidencefinding
0x00004void **__vfptrHolds the vtable 0x81c400 or a derived class's layout vtableverified, proof twoui/anchors#construction-and-the-xml-anchors
0x000436void *[9]m_pointsHolds the anchor point of each index 0 to 8, or nullverified, proof twoui/anchors#point-slots-and-point-names
0x00284uint32_tm_resolvingHolds a bit per edge resolver while it runs: 1 left, 2 top, 4 right, 8 bottom, 0x10 and 0x20 centresverified, proof twoui/anchors#edge-resolution-from-points
0x002c12uint32_t[3]m_dependentsHolds the list of frames anchored to this one: link offset and terminatorverified, proof oneui/anchors#dependents
0x00381uint8_tm_retriesHolds the passes a queued frame may still fail, 6 when queuedverified, proof twoui/anchors#invalidation-and-the-layout-queue
0x003c4uint32_tm_flagsHolds 1 valid, 2 deferred, 4 pending, 8 failed and 0x10 clamped to screenverified, proof twoui/anchors#resolving-and-the-changed-callback
0x004016float[4]m_rectHolds the resolved bottom, left, top and rightverified, proof twoui/anchors#rectangle-calculation-and-screen-clamp
0x00504floatm_widthHolds the width before scalingverified, proof twoui/anchors#size-scale-and-stored-rectangle
0x00544floatm_heightHolds the height before scalingverified, proof twoui/anchors#size-scale-and-stored-rectangle
0x00584floatm_layoutScaleHolds the scale sizes and point offsets are multiplied by, 1.0 at constructionverified, proof twoui/anchors#size-scale-and-stored-rectangle
0x005c16float[4]m_resizeBoundsHolds the minimum and maximum size a user resize may reachverified, proof oneui/frames#loading-from-xml
0x006c8uint32_t[2]m_queueLinkHolds the frame's link in the layout queueverified, proof twoui/anchors#invalidation-and-the-layout-queue