mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Handle background-painting of Box in seperate function
This commit is contained in:
parent
ff0b3518fa
commit
d13526e1e7
Notes:
sideshowbarker
2024-07-18 17:41:43 +09:00
Author: https://github.com/TobyAsE
Commit: d13526e1e7
Pull-request: https://github.com/SerenityOS/serenity/pull/7115
Reviewed-by: https://github.com/awesomekling
2 changed files with 37 additions and 30 deletions
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue