summaryrefslogtreecommitdiff
path: root/src/Util.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Util.hh')
-rw-r--r--src/Util.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Util.hh b/src/Util.hh
index d70eabc8..46d8f339 100644
--- a/src/Util.hh
+++ b/src/Util.hh
@@ -72,6 +72,8 @@ public:
inline bool valid(void) const { return _x2 > _x1 && _y2 > _y1; }
bool intersects(const Rect &a) const;
+ bool contains(int __x, int __y) const;
+ bool contains(const Rect &a) const;
private:
int _x1, _y1, _x2, _y2;