From 11580babbfb1b8ae0acab2400f11d905c35642f5 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 6 Feb 2020 11:56:38 +0100 Subject: LibDraw: Put all classes in the Gfx namespace I started adding things to a Draw namespace, but it somehow felt really wrong seeing Draw::Rect and Draw::Bitmap, etc. So instead, let's rename the library to LibGfx. :^) --- Libraries/LibHTML/Frame.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Libraries/LibHTML/Frame.h') diff --git a/Libraries/LibHTML/Frame.h b/Libraries/LibHTML/Frame.h index 3b7b484874..a99e675737 100644 --- a/Libraries/LibHTML/Frame.h +++ b/Libraries/LibHTML/Frame.h @@ -50,13 +50,13 @@ public: HtmlView* html_view() { return m_html_view; } const HtmlView* html_view() const { return m_html_view; } - const Size& size() const { return m_size; } - void set_size(const Size&); + const Gfx::Size& size() const { return m_size; } + void set_size(const Gfx::Size&); - void set_needs_display(const Rect&); - Function on_set_needs_display; + void set_needs_display(const Gfx::Rect&); + Function on_set_needs_display; - void set_viewport_rect(const Rect&); + void set_viewport_rect(const Gfx::Rect&); Rect viewport_rect() const { return m_viewport_rect; } private: @@ -64,6 +64,6 @@ private: WeakPtr m_html_view; RefPtr m_document; - Size m_size; - Rect m_viewport_rect; + Gfx::Size m_size; + Gfx::Rect m_viewport_rect; }; -- cgit v1.2.3