summaryrefslogtreecommitdiffstats
path: root/include/ui/Region.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/Region.h')
-rw-r--r--include/ui/Region.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ui/Region.h b/include/ui/Region.h
index d906dbb..0d1c68c 100644
--- a/include/ui/Region.h
+++ b/include/ui/Region.h
@@ -50,6 +50,9 @@ public:
inline Rect getBounds() const { return mStorage[mStorage.size() - 1]; }
inline Rect bounds() const { return getBounds(); }
+ bool contains(const Point& point) const;
+ bool contains(int x, int y) const;
+
// the region becomes its bounds
Region& makeBoundsSelf();