XmlReadValue
function · ui · primitive
- Address
0x6f1d60· 328 bytes, up to0x6f1ea7- Meaning
- Converts a length attribute of an XML element and stores it, or a relative value unconverted
- 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 3
Callees 5
- GetScaledScreenAspect screencoord
- MultiplyByScreenScaleX screencoord
- SStrCmpI storm
- SStrToFloat storm
- GetXMLAttribute ui
Calls and jumps by a bare address, from tables/calls.tsv.