diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-06 13:02:38 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-06 13:02:38 +0100 |
commit | 20cfd2a6bff8c469970651dd73ffee60ab0e5176 (patch) | |
tree | 4f92b38ae97fb0add184ccae97d679f484ef1a49 /DevTools/HackStudio | |
parent | c39d44fc2ef0d2e5435524c5b96b5a367df2438b (diff) | |
download | serenity-20cfd2a6bff8c469970651dd73ffee60ab0e5176.zip |
LibGfx: Unpublish Gfx::Rect from global namespace
Diffstat (limited to 'DevTools/HackStudio')
-rw-r--r-- | DevTools/HackStudio/CursorTool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DevTools/HackStudio/CursorTool.cpp b/DevTools/HackStudio/CursorTool.cpp index 6f180bb27e..f4ac8ff468 100644 --- a/DevTools/HackStudio/CursorTool.cpp +++ b/DevTools/HackStudio/CursorTool.cpp @@ -168,11 +168,11 @@ void CursorTool::set_rubber_band_position(const Gfx::Point& position) m_editor.form_widget().update(); } -Rect CursorTool::rubber_band_rect() const +Gfx::Rect CursorTool::rubber_band_rect() const { if (!m_rubber_banding) return {}; - return Rect::from_two_points(m_rubber_band_origin, m_rubber_band_position); + return Gfx::Rect::from_two_points(m_rubber_band_origin, m_rubber_band_position); } void CursorTool::on_second_paint(GUI::Painter& painter, GUI::PaintEvent&) |