CSimpleBackdrop::SetBorderColor
function · ui · orchestration
- Address
0x77f440· 143 bytes, up to0x77f4ce- Meaning
- Stores the border colour and repaints the eight edge textures
- Confidence
- verified, proof one
- Finding
- ui/backdrop#the-two-colours
Finding: The two colours in ui: the frame backdrop
The background colour applies to the background texture alone and the border colour to all eight edge textures,
never the background. Each is stored in the object and set on its textures as their vertex colour. A script sets
them with SetBackdropColor(r, g, b[, a]) and SetBackdropBorderColor(r, g, b[, a]): each channel is clamped to 0 to 1
with a missing alpha 1, and packed as alpha, red, green, blue bytes rounded as ×255 + 0.5. A frame without a
backdrop keeps nothing, so a colour set before SetBackdrop is lost, and a new object starts white.
The derivation is in the doc.
Callers 3
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.