benilla-re systems structs docs

CSimpleFrame::OnFrameSizeChanged

function · ui · primitive

Address
0x76b580 · 212 bytes, up to 0x76b653
Meaning
Lays out dependents, computes the hit rectangle and runs the size callback on a size change
Confidence
verified, proof one
Finding
ui/input#hit-test
Test
ui::apply_rect_screen

Finding: Hit test in ui: input, hit testing and focus

A frame contains a point when its rectangle is valid and left ≤ x ≤ right and bottom ≤ y ≤ top hold for its hit rectangle, the layout rectangle moved inward by the hit insets times the layout scale; a NaN coordinate fails. A frame that draws itself (bit 0x2000) is tested against the intersection of its own hit rectangle with that of its nearest ancestor that does not draw itself, and contains nothing without such an ancestor.

The derivation is in the doc.

Callers 5

Callees 3

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