benilla-re systems structs docs

CSimpleMessageScrollFrame::OnRectChanged

function · ui · primitive

Address
0x788310 · 289 bytes, up to 0x788430
Signature
void __thiscall (CSimpleMessageScrollFrame *this)
Meaning
Recomputes the four edges and lays the lines out again when the size changed by 1e-5 or more
Confidence
inferred
Finding
ui/messagemembers#scroll-frame-layout
Test
ui::glue_788_788310_rect_changed

Finding: Scroll frame layout in ui: message frame members

0x788310 is the callback for a changed rectangle: it recomputes the four edges into +0x36c to +0x378 and, when the width or height changed by 1e-5 or more, frees the line nodes and lays the lines out again with 0x788750. 0x788750 places the shown lines: it counts the lines that fit by dividing the height by each line's measured height (0x7729b0) and anchors a node per line (0x77fd10, 0x767c70, 0x7680e0), showing it (0x77fcb0) or hiding it (0x77fc60).

The derivation is in the doc.

Callers 2

Callees 2

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