1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 15:27: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:
Andreas Kling 2020-06-18 21:35:44 +02:00
parent dec0cd3755
commit 8c82d26668
26 changed files with 49 additions and 49 deletions

View file

@ -40,9 +40,9 @@ public:
virtual const char* class_name() const override { return "LayoutDocument"; }
virtual void layout(LayoutMode = LayoutMode::Default) override;
void paint_all_phases(RenderingContext&);
void paint_all_phases(PaintContext&);
virtual void render(RenderingContext&, PaintPhase) override;
virtual void paint(PaintContext&, PaintPhase) override;
const LayoutRange& selection() const { return m_selection; }
LayoutRange& selection() { return m_selection; }