benilla-re systems structs docs

ParseGradientElement

function · ui · orchestration

Address
0x6f2630 · 182 bytes, up to 0x6f26e5
Meaning
Reads a gradient orientation and its minimum and maximum colours
Confidence
verified, proof one
Finding
ui/texture#a-gradient-element

Finding: A gradient element in ui: texture colour and drawing

A <Gradient> child reads orientation (HORIZONTAL or VERTICAL, ignoring case) and the children MinColor and MaxColor, each parsed like a <Color>. An absent or empty orientation is HORIZONTAL, and an unknown one logs Unknown orientation %s in element %s and is also HORIZONTAL. A colour whose child is missing stays 0, which is transparent black. The element applies the same corner colours as SetGradient (Gradients).

The derivation is in the doc.

Callers 1

Callees 4

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