]> Dogcows Code - chaz/openbox/blobdiff - otk/point.hh
hopefully caught stupid assert
[chaz/openbox] / otk / point.hh
index 2c6d334c0347db7484a4a426c7fc1eaf88516b7f..edccbe1a7f44fd7d82398da3dcfb41dfffee608e 100644 (file)
@@ -31,6 +31,9 @@ public:
   void setY(int x) { _x = x; }
   //! Returns the y value
   int y() const { return _x; }
+
+  //! Changes the x and y values
+  void setPoint(int x, int y) { _x = x; _y = y; }
 };
 
 }
This page took 0.021511 seconds and 4 git commands to generate.