summaryrefslogtreecommitdiff
path: root/otk
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-11-11 11:33:32 +0000
committerDana Jansens <danakj@orodu.net>2002-11-11 11:33:32 +0000
commit0da967a8313bad4a9dbcca9b5c760bda32b7981f (patch)
tree86c319838b8e31df8de9cca2182b4c2a80f1d573 /otk
parentc4a1fac49da32250dc4567880b385feb7feaa908 (diff)
remove the redundant _size property in OBScreen, and set the geometry root property properly.
add otk::Point::setPoint
Diffstat (limited to 'otk')
-rw-r--r--otk/point.hh3
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; }
};
}