summaryrefslogtreecommitdiff
path: root/src/Util.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Util.hh')
-rw-r--r--src/Util.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Util.hh b/src/Util.hh
index 2a40308d..393c0089 100644
--- a/src/Util.hh
+++ b/src/Util.hh
@@ -71,6 +71,7 @@ public:
inline bool valid(void) const { return _x2 > _x1 && _y2 > _y1; }
bool intersects(const Rect &a) const;
+ bool contains(int _x, int _y) const;
private:
int _x1, _y1, _x2, _y2;