X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fpoint.hh;h=66c3b14d039e57150587b55e7258212a5a72dad4;hb=a2de94e91e1c0e7775c97745ae11d14e5c5f5659;hp=2c6d334c0347db7484a4a426c7fc1eaf88516b7f;hpb=c5e4a185887911ca743d6105700d79cb3bf64ab6;p=chaz%2Fopenbox diff --git a/otk/point.hh b/otk/point.hh index 2c6d334c..66c3b14d 100644 --- a/otk/point.hh +++ b/otk/point.hh @@ -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; } }; }