summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/Menu.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-10 10:57:59 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-10 10:59:04 +0200
commit116cf92156090bb3f5c15d5be145f1283884d65d (patch)
tree4496ab3e8c90add1c40da2eceee71324369ec0c6 /Libraries/LibGUI/Menu.h
parent656b01eb0fb659fb2d3ee4e6e4413a82543414e3 (diff)
downloadserenity-116cf92156090bb3f5c15d5be145f1283884d65d.zip
LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSize
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much better visual clue about what type of metric is being used.
Diffstat (limited to 'Libraries/LibGUI/Menu.h')
-rw-r--r--Libraries/LibGUI/Menu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/Menu.h b/Libraries/LibGUI/Menu.h
index 8770b21b53..2b56e04d35 100644
--- a/Libraries/LibGUI/Menu.h
+++ b/Libraries/LibGUI/Menu.h
@@ -56,7 +56,7 @@ public:
void add_separator();
Menu& add_submenu(const String& name);
- void popup(const Gfx::Point& screen_position);
+ void popup(const Gfx::IntPoint& screen_position);
void dismiss();
private: