]> Dogcows Code - chaz/openbox/blobdiff - otk/rect.cc
formatting
[chaz/openbox] / otk / rect.cc
index 40d369e964863ccbde4b9024e005c3f63fb4990c..7ec5c2c4487378c36a8ac62d509902d13d8c0ea7 100644 (file)
@@ -136,6 +136,12 @@ bool Rect::contains(int x, int y) const
 }
 
 
+bool Rect::contains(const Point &p) const
+{
+  return contains(p.x(), p.y());
+}
+
+
 bool Rect::contains(const Rect& a) const
 {
   return a._x1 >= _x1 && a._x2 <= _x2 &&
This page took 0.021598 seconds and 4 git commands to generate.