1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +00:00

LibWeb: Handle background-painting of Box in seperate function

This commit is contained in:
Tobias Christiansen 2021-05-15 20:54:01 +02:00 committed by Andreas Kling
parent ff0b3518fa
commit d13526e1e7
2 changed files with 37 additions and 30 deletions

View file

@ -111,6 +111,7 @@ public:
virtual void paint(PaintContext&, PaintPhase) override;
virtual void paint_border(PaintContext& context);
virtual void paint_background(PaintContext& context);
Vector<LineBox>& line_boxes() { return m_line_boxes; }
const Vector<LineBox>& line_boxes() const { return m_line_boxes; }