benilla-re systems structs docs

LayoutCacheSaveFrame

function · ui · primitive

Address
0x490e60 · 799 bytes, up to 0x49117e
Meaning
Saves one frame's position and size as a layout record, rounded to device units
Confidence
verified, proof two
Finding
ui/layoutcache#which-frames-are-saved
Test
ui::glue_4c0_490e60_round_pos_legs

Finding: Which frames are saved in ui: the layout cache

The writer walks every frame of the top's list in registration order and writes a frame that has a name, whose user-placed bit 0x1000 of +0xb4 is set and that is movable (0x100) or resizable (0x200). A frame failing any of the four writes nothing. The user-placed bit is set by dragging, by a record being applied and by SetUserPlaced, which raises Frame %s is not movable or resizable for a frame that is neither. Nothing clears it but SetUserPlaced(false), and it governs nothing but this file.

The derivation is in the doc.

Callers 1

Callees 8

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