CSimpleFrame::JoinShownRects
function · ui · primitive
- Address
0x786f80· 381 bytes, up to0x7870fc- Meaning
- Joins a frame's rectangle with its shown regions' and its shown children's
- Confidence
- verified, proof one
- 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 1
Callees 1
Calls and jumps by a bare address, from tables/calls.tsv.