CSimpleMessageFrame::LayoutLines
function · ui · primitive
- Address
0x785ea0· 786 bytes, up to0x7861b1- Signature
void __thiscall (CSimpleMessageFrame *this)- Meaning
- Sets the line count from the inner height over a row and brings the line holders and their anchors to it
- Confidence
- verified, proof one
- Finding
- ui/messagemembers#message-frame-layout
- Test
ui::glue_785ea0_header,ui::glue_785ea0_quantize,ui::glue_785ea0_sum_divide,ui::glue_785ea0_tail
Finding: Message frame layout in ui: message frame members
0x785ea0 lays the lines out when flag 1 of +0x60 is set. The inner rectangle +0x320 to +0x32c is the insets +0x330 to +0x33c times the scale added to the frame's rectangle. A row is the pixel-aligned (0x766750) font height times the scale plus the aligned spacing. The line count +0x318 is the inner height
over a row, truncated, and one more when the whole rows leave less than 2^-22 over; with a row of 0 or less it is 0. Lines past the count are deactivated and the holder array is brought to the count.
The derivation is in the doc.
Callers 4
- CSimpleMessageFrame::SetInsets ui
- CSimpleMessageFrame::RelayoutOnFlags ui
- CSimpleMessageFrame::SetInsertMode ui
- CSimpleMessageFrame::OnFrameSizeChanged ui
Callees 12
- __ftol crt
- PixelAlignY ui
- CLayoutFrame::SetPoint ui
- LinkFontFollower ui
- CSimpleFontString::SetFixedLength ui
- CScriptRegion::SetRegionParent ui
- MessageLineHolderConstruct ui
- CSimpleMessageFrame::DeactivateLine ui
- MessageLineHolderRelease ui
- Quantum21786880 ui
- RoundUp7868c0 ui
- MessageLineHoldersSetCapacity ui
Calls and jumps by a bare address, from tables/calls.tsv.