benilla-re systems structs docs

XmlReadInset

function · ui · primitive

Address
0x6f20a0 · 806 bytes, up to 0x6f23c5
Meaning
Reads four length attributes of an XML element into out values
Confidence
verified, proof one
Finding
ui/backdrop#the-xml-element
Test
ui::glue_6f1_metric_scale_divide

Finding: The XML element in ui: the frame backdrop

A <Backdrop> reads bgFile, edgeFile and tile as attributes and then its children TileSize, EdgeSize, BackgroundInsets, Color and BorderColor. Any other child logs Unknown child node in %s element: %s and loading goes on. A length is the val of the element or of an AbsValue child, converted from interface units, or the val of a RelValue child, stored as it is; with none the loader logs No "val" attribute in element: %s. The insets read left, right, top and bottom the same way, with AbsInset and RelInset children. A colour reads r, g, b and a clamped to 0 to 1; a missing r, g or b is 0 and a missing a is 1.

The derivation is in the doc.

Callers 5

Callees 5

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