benilla-re systems structs docs

CSimpleMessageScrollFrame::LayoutLines

function · ui · primitive

Address
0x788750 · 874 bytes, up to 0x788ab9
Signature
void __thiscall (CSimpleMessageScrollFrame *this, int32_t position)
Meaning
Places the shown lines from a ring position, anchoring and showing or hiding a node per line
Confidence
inferred
Finding
ui/messagemembers#scroll-frame-layout
Test
ui::glue_geom_788750_acc_and_sum, ui::glue_geom_788750_bounds_ratios

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 11

Callees 13

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