diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-02-09 14:31:05 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2024-02-09 17:14:25 +0100 |
commit | b5e416f8cd52f69ff1edd832ee10bac550544ef6 (patch) | |
tree | 2df592038ba092e67f458fd9945999add7d50056 /docs/mana.6 | |
parent | 1b041ecccfbe44a4f50ffc086e3996e2b6eea4f7 (diff) | |
download | Mana-b5e416f8cd52f69ff1edd832ee10bac550544ef6.tar.gz Mana-b5e416f8cd52f69ff1edd832ee10bac550544ef6.tar.bz2 Mana-b5e416f8cd52f69ff1edd832ee10bac550544ef6.tar.xz Mana-b5e416f8cd52f69ff1edd832ee10bac550544ef6.zip |
Some cleanups in UpdaterWindow and BrowserBox
Doing some cleanups before working towards optimizing this code.
Removed needless additional wrapping code in BrowserBox::addRow, since
the text will be relayouted anyway.
Simplified layouting code a little. For example, there's no need to keep
track of the number of wrapped lines.
Use more optimal data structures, like an std::deque for the text rows
and a plain std::vector for the line parts. Both have less fragmentation
than an std::list.
Diffstat (limited to 'docs/mana.6')
0 files changed, 0 insertions, 0 deletions