diff options
Diffstat (limited to 'otk')
| -rw-r--r-- | otk/point.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/otk/point.hh b/otk/point.hh index 2c6d334c..edccbe1a 100644 --- a/otk/point.hh +++ b/otk/point.hh @@ -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; } }; } |
