benilla-re systems structs docs

CSimpleFontString::SetShadowColor

function · ui · orchestration

Address
0x7723c0 · 41 bytes, up to 0x7723e8
Meaning
Stores a changed shadow colour and refreshes the attached font
Confidence
verified, proof one
Finding
ui/fontmethods#shadow-offsets-and-spacing

Finding: Shadow offsets and spacing in ui: font accessors from Lua

SetShadowOffset(x, y) needs two numbers and raises Usage: %s:SetShadowOffset(x, y) otherwise; SetSpacing(s) needs one and raises Usage: %s:SetSpacing(spacing). A stored spacing within 2^-22 of the new one is kept when the spacing group's set bit 0x1000 is already set (0x79fb9a). On a FontString, SetShadowColor only stores the colour; SetShadowOffset(0, 0) clears the shadow bit 0x100 of +0x120, and any other offset sets it, so a shadow is drawn only after a nonzero offset.

The derivation is in the doc.

Callers 1

Callees 1

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