benilla-re systems structs docs

ScrollFrame::UpdateScrollChildRect

function · ui · primitive

Address
0x7918b0 · 163 bytes, up to 0x791952
Signature
int __fastcall (lua_State *L)
Meaning
Implements the ScrollFrame method UpdateScrollChildRect, its pair in the table 0x87b3c0
Confidence
verified, proof one
Name from
the community database (idb)
Finding
ui/scrollframe#the-scroll-range

Finding: The scroll range in ui: ScrollFrame

The range is measured on the frame's update after something marks it: a new scroll child, a change of the frame's size, or UpdateScrollChildRect. A change inside the child does not mark it. The child's rectangle, shown or not, is joined with those of its shown regions and then, in turn, with each shown child frame's, which joins its own the same way: every descendant reached through shown frames counts, and nothing under a hidden one. Only resolved rectangles count, and the box's right and top start at 0. Each range is that box's width or height less the frame's, at least 0, divided by the frame's scale. When either range changed, OnScrollRangeChanged runs with both.

The derivation is in the doc.

Callers 0

None by a direct call or jump.

Callees 5

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