mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:27:35 +00:00
LibWeb: Rename Painting::Box => Paintable
Calling this "Box" made it very confusing to look at code that used both Layout::Box and Painting::Box. Let's try calling it Paintable instead.
This commit is contained in:
parent
7af03df4c3
commit
f6497b64ac
32 changed files with 64 additions and 64 deletions
|
@ -15,7 +15,7 @@
|
|||
#include <LibWeb/Layout/FormattingContext.h>
|
||||
#include <LibWeb/Painting/BackgroundPainting.h>
|
||||
#include <LibWeb/Painting/BorderPainting.h>
|
||||
#include <LibWeb/Painting/Box.h>
|
||||
#include <LibWeb/Painting/Paintable.h>
|
||||
#include <LibWeb/Painting/ShadowPainting.h>
|
||||
|
||||
namespace Web::Layout {
|
||||
|
@ -34,7 +34,7 @@ Box::~Box()
|
|||
{
|
||||
}
|
||||
|
||||
void Box::set_paint_box(OwnPtr<Painting::Box> paint_box)
|
||||
void Box::set_paint_box(OwnPtr<Painting::Paintable> paint_box)
|
||||
{
|
||||
m_paint_box = move(paint_box);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue