summaryrefslogtreecommitdiff
path: root/DevTools
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-06 13:08:32 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-06 13:08:32 +0100
commit9b87843af169b08f1b852da96f696004866783fe (patch)
treec5a7267ff44cc6a45ec39784e8ce34ea9774a96b /DevTools
parent20cfd2a6bff8c469970651dd73ffee60ab0e5176 (diff)
downloadserenity-9b87843af169b08f1b852da96f696004866783fe.zip
LibGfx: Unpublish Gfx::Point from global namespace
Diffstat (limited to 'DevTools')
-rw-r--r--DevTools/HackStudio/CursorTool.h2
-rw-r--r--DevTools/VisualBuilder/VBForm.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/DevTools/HackStudio/CursorTool.h b/DevTools/HackStudio/CursorTool.h
index 7fc8368c3d..2980075a39 100644
--- a/DevTools/HackStudio/CursorTool.h
+++ b/DevTools/HackStudio/CursorTool.h
@@ -54,7 +54,7 @@ private:
Gfx::Rect rubber_band_rect() const;
Gfx::Point m_drag_origin;
- HashMap<GUI::Widget*, Point> m_positions_before_drag;
+ HashMap<GUI::Widget*, Gfx::Point> m_positions_before_drag;
bool m_dragging { false };
bool m_rubber_banding { false };
diff --git a/DevTools/VisualBuilder/VBForm.cpp b/DevTools/VisualBuilder/VBForm.cpp
index 51e1ea9202..56f52f008f 100644
--- a/DevTools/VisualBuilder/VBForm.cpp
+++ b/DevTools/VisualBuilder/VBForm.cpp
@@ -90,7 +90,7 @@ void VBForm::insert_widget(VBWidgetType type)
{
auto* insertion_parent = single_selected_widget();
auto widget = VBWidget::create(type, *this, insertion_parent);
- Point insertion_position = m_next_insertion_position;
+ Gfx::Point insertion_position = m_next_insertion_position;
if (insertion_parent)
insertion_position.move_by(insertion_parent->gwidget()->window_relative_rect().location());
widget->set_rect({ insertion_position, { m_grid_size * 10 + 1, m_grid_size * 5 + 1 } });