CSimpleMessageScrollFrame::DrawCallback
function · ui · primitive
- Address
0x787220· 868 bytes, up to0x787583- Signature
void __thiscall (CSimpleMessageScrollFrame *this)- Meaning
- Projects the frame's rectangle, clamps its texture coordinates to 0 to 1 per axis and draws
- Confidence
- inferred
- Finding
- ui/messagemembers#scroll-frame-draw
- Test
ui::glue_787220_clamp01
Finding: Scroll frame draw in ui: message frame members
The scroll frame registers a draw callback for its layer 4: 0x7871c0 runs the frame's emit 0x76b3a0 and, for layer 4, BatchAddCallback with 0x787220. The callback computes the frame's projected rectangle, clamps its texture coordinates to 0 to 1 on each axis (a coordinate below 0 moves the other end down by the same amount and becomes 0;
one above 1 moves the other end up and becomes 1) and draws between the matrices it pushes.
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 10
- ScaleScreenDelta screencoord
- UnscaleScreenXY screencoord
- SetDeviceViewport gx
- SetDeviceProjection gx
- SetDeviceView gx
- GetDeviceViewport gx
- GetDeviceProjection gx
- GetDeviceView gx
- CSimpleFrame::GetHitRect ui
- SetupOrthoTransforms camera
Calls and jumps by a bare address, from tables/calls.tsv.