LibWeb: Split Paintable into Paintable and PaintableBox

To prepare for paintable inline content, we take the basic painting
functionality and hoist it into a base class.
This commit is contained in:
Andreas Kling 2022-03-10 15:50:57 +01:00
commit 053766d79c
Notes: sideshowbarker 2024-07-18 05:37:06 +09:00
34 changed files with 133 additions and 95 deletions

View file

@ -11,7 +11,7 @@
namespace Web::Painting {
class ButtonPaintable final : public Paintable {
class ButtonPaintable final : public PaintableBox {
public:
static NonnullOwnPtr<ButtonPaintable> create(Layout::ButtonBox const&);