CSimpleFontString::UpdateFrameAlpha
function · ui · primitive
- Address
0x772180· 189 bytes, up to0x77223c- Meaning
- Passes the alpha-scaled colour to its font, and with a shadow the shadow colour and scaled offset
- Confidence
- verified, proof one
- Finding
- ui/fontstring#shadow
- Test
ui::textglue_scale_mul
Finding: Shadow in ui: FontString and Font
A string with bit 0x100 draws a second time in its shadow colour, at its shadow offset times its layout scale. The shadow's alpha is the shadow colour's alpha times the parent frame's alpha, over 255, rounded down.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 4
- TextBlockSetShadow unassigned
- 0x44d650 unassigned
- CopyColor gx
- CScriptRegion::UpdateFrameAlpha ui
Calls and jumps by a bare address, from tables/calls.tsv.