]> Dogcows Code - chaz/openbox/blobdiff - otk/point.hh
add an OBBackgroundWidget and use it for setting colors so far.
[chaz/openbox] / otk / point.hh
index 2c6d334c0347db7484a4a426c7fc1eaf88516b7f..66c3b14d039e57150587b55e7258212a5a72dad4 100644 (file)
@@ -28,9 +28,12 @@ public:
   int x() const { return _x; }
 
   //! Changes the y value to the new value specified
-  void setY(int x) { _x = x; }
+  void setY(int y) { _y = y; }
   //! Returns the y value
-  int y() const { return _x; }
+  int y() const { return _y; }
+
+  //! Changes the x and y values
+  void setPoint(int x, int y) { _x = x; _y = y; }
 };
 
 }
This page took 0.023278 seconds and 4 git commands to generate.