benilla-re systems structs docs

CSimpleMessageScrollFrame::RecolourLines

function · ui · orchestration

Address
0x788250 · 89 bytes, up to 0x7882a8
Meaning
Recolours the lines with an id, doing nothing for id 0
Confidence
verified, proof one
Finding
ui/messageframe#a-scrolling-frames-addmessage

Finding: A scrolling frame's AddMessage in ui: MessageFrame and ScrollingMessageFrame

AddMessage(text, r, g, b, id) does nothing for an absent, nil or empty text. With r, g and b all numbers, each is clamped to 0 to 1 (NaN to 1) and becomes trunc(v·255 + 0.5); the alpha is always 255, and the id is argument 6. Without all three, the colour is the frame font's and the id is argument 3. An absent or non-number id is 0, and UpdateColorByID ignores id 0.

The derivation is in the doc.

Callers 1

Callees 1

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