mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-10 19:46:03 +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
Notes:
sideshowbarker
2024-07-17 17:35:04 +09:00
Author: https://github.com/awesomekling
Commit: f6497b64ac
32 changed files with 64 additions and 64 deletions
|
@ -20,10 +20,10 @@ struct LineBoxFragmentCoordinate {
|
|||
|
||||
class Box : public NodeWithStyleAndBoxModelMetrics {
|
||||
public:
|
||||
Painting::Box const* paint_box() const { return m_paint_box.ptr(); }
|
||||
void set_paint_box(OwnPtr<Painting::Box>);
|
||||
Painting::Paintable const* paint_box() const { return m_paint_box.ptr(); }
|
||||
void set_paint_box(OwnPtr<Painting::Paintable>);
|
||||
|
||||
OwnPtr<Painting::Box> m_paint_box;
|
||||
OwnPtr<Painting::Paintable> m_paint_box;
|
||||
|
||||
bool is_out_of_flow(FormattingContext const&) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue