mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
LibWeb: Rename LayoutNode::render() to paint()
"Paint" matches what we call this in the rest of the system. Let's not confuse things by mixing paint/render/draw all the time. I'm guilty of this in more places.. Also rename RenderingContext => PaintContext.
This commit is contained in:
parent
dec0cd3755
commit
8c82d26668
26 changed files with 49 additions and 49 deletions
|
@ -34,7 +34,7 @@
|
|||
#include <LibWeb/Forward.h>
|
||||
#include <LibWeb/Layout/BoxModelMetrics.h>
|
||||
#include <LibWeb/Layout/LayoutPosition.h>
|
||||
#include <LibWeb/RenderingContext.h>
|
||||
#include <LibWeb/Painting/PaintContext.h>
|
||||
#include <LibWeb/TreeNode.h>
|
||||
|
||||
namespace Web {
|
||||
|
@ -178,7 +178,7 @@ public:
|
|||
Foreground,
|
||||
Overlay,
|
||||
};
|
||||
virtual void render(RenderingContext&, PaintPhase);
|
||||
virtual void paint(PaintContext&, PaintPhase);
|
||||
|
||||
bool is_absolutely_positioned() const;
|
||||
bool is_fixed_position() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue