diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-10 11:12:06 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-11 00:21:49 +0100 |
commit | 7af03df4c3aa50acb5d73fbc69b1181cfbbed536 (patch) | |
tree | db1fcaa293bbd1313c2777c1895067de84a58156 /Userland/Applications/ClockSettings | |
parent | 9f5cbcaad39aa9df43694140613fdd8b3b2fe5b2 (diff) | |
download | serenity-7af03df4c3aa50acb5d73fbc69b1181cfbbed536.zip |
LibWeb: Make Painting::Box virtual and add Painting::BoxWithLines
BlockContainer paint boxes are the only ones that have line boxes
associated, so let's not waste memory on line boxes in all the other
types of boxes.
This also adds Layout::Box::paint_box() and the more tightly typed
Layout::BlockContainer::paint_box() to get at the paint box from the
corresponding layout box.
Diffstat (limited to 'Userland/Applications/ClockSettings')
0 files changed, 0 insertions, 0 deletions