diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-06 13:08:32 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-06 13:08:32 +0100 |
commit | 9b87843af169b08f1b852da96f696004866783fe (patch) | |
tree | c5a7267ff44cc6a45ec39784e8ce34ea9774a96b /Games/Minesweeper | |
parent | 20cfd2a6bff8c469970651dd73ffee60ab0e5176 (diff) | |
download | serenity-9b87843af169b08f1b852da96f696004866783fe.zip |
LibGfx: Unpublish Gfx::Point from global namespace
Diffstat (limited to 'Games/Minesweeper')
-rw-r--r-- | Games/Minesweeper/Field.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Games/Minesweeper/Field.cpp b/Games/Minesweeper/Field.cpp index 5ccd5f0bcf..ddda972f3f 100644 --- a/Games/Minesweeper/Field.cpp +++ b/Games/Minesweeper/Field.cpp @@ -325,13 +325,13 @@ void Field::paint_event(GUI::PaintEvent& event) painter.add_clip_rect(inner_rect); for (int y = inner_rect.top() - 1; y <= inner_rect.bottom(); y += square_size()) { - Point a { inner_rect.left(), y }; - Point b { inner_rect.right(), y }; + Gfx::Point a { inner_rect.left(), y }; + Gfx::Point b { inner_rect.right(), y }; painter.draw_line(a, b, Color::MidGray); } for (int x = frame_inner_rect().left() - 1; x <= frame_inner_rect().right(); x += square_size()) { - Point a { x, inner_rect.top() }; - Point b { x, inner_rect.bottom() }; + Gfx::Point a { x, inner_rect.top() }; + Gfx::Point b { x, inner_rect.bottom() }; painter.draw_line(a, b, Color::MidGray); } } |