mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:47:44 +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
|
@ -35,7 +35,7 @@
|
|||
#include <LibWeb/Layout/TableRowGroupBox.h>
|
||||
#include <LibWeb/Layout/TreeBuilder.h>
|
||||
#include <LibWeb/Namespace.h>
|
||||
#include <LibWeb/Painting/Box.h>
|
||||
#include <LibWeb/Painting/Paintable.h>
|
||||
|
||||
namespace Web::DOM {
|
||||
|
||||
|
|
|
@ -1010,7 +1010,7 @@ size_t Node::length() const
|
|||
return child_count();
|
||||
}
|
||||
|
||||
Painting::Box const* Node::paint_box() const
|
||||
Painting::Paintable const* Node::paint_box() const
|
||||
{
|
||||
if (!layout_node())
|
||||
return nullptr;
|
||||
|
|
|
@ -158,7 +158,7 @@ public:
|
|||
const Layout::Node* layout_node() const { return m_layout_node; }
|
||||
Layout::Node* layout_node() { return m_layout_node; }
|
||||
|
||||
Painting::Box const* paint_box() const;
|
||||
Painting::Paintable const* paint_box() const;
|
||||
|
||||
void set_layout_node(Badge<Layout::Node>, Layout::Node*) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue