mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
LibWeb: Move painting of background images to common location
For now, painting of background color is kept separate. The ICB needs to perform a "translate" call between painting the color and background, whereas other divs must not make that call.
This commit is contained in:
parent
1333fa7cf7
commit
735829f694
3 changed files with 32 additions and 43 deletions
|
@ -153,6 +153,8 @@ protected:
|
|||
|
||||
virtual void did_set_rect() { }
|
||||
|
||||
void paint_background_image(PaintContext&, const Gfx::Bitmap&, CSS::Repeat, Gfx::IntRect);
|
||||
|
||||
Vector<LineBox> m_line_boxes;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue