CSimpleMessageScrollFrame::OnFrameUpdate
function · ui · primitive
- Address
0x788460· 328 bytes, up to0x7885a7- Meaning
- Counts down each shown line's visible and fade times and fades or hides it, while at the bottom
- Confidence
- verified, proof one
- Finding
- ui/messageframe#fading-a-scrolling-frame
- Test
ui::glue_788_788460_alpha_step
Finding: Fading a scrolling frame in ui: MessageFrame and ScrollingMessageFrame
Each update, a scrolling frame with fading on, at the bottom and showing lines counts each shown
line down: first its visible time; when that runs out a line with no fade time is hidden, else the
fade runs, its alpha trunc(left / frame fade time · 255); a line whose fade runs out is hidden.
Scrolled up, the clock stops.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 5
- __ftol crt
- CSimpleFrame::OnFrameUpdate ui
- CScriptRegion::SetVertexColor ui
- CScriptRegion::Unregister ui
- CSimpleMessageScrollFrame::RebuildLinkButtons ui
Calls and jumps by a bare address, from tables/calls.tsv.