summaryrefslogtreecommitdiff
path: root/src/point.cpp
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2009-03-05 20:13:40 +0100
committerDanny Baumann <dannybaumann@web.de>2009-03-05 20:13:40 +0100
commit8e0ea73acc3fd7b9057067a3bb6edcca353e39a6 (patch)
tree55a8fa4a8c01de049e8243a6913d6d8c212e3270 /src/point.cpp
parentda91132b2fcc65b6a2848a7197d1ae961bd94746 (diff)
downloadunity-window-decorator-8e0ea73acc3fd7b9057067a3bb6edcca353e39a6.tar.gz
unity-window-decorator-8e0ea73acc3fd7b9057067a3bb6edcca353e39a6.tar.bz2
Added set method for point object.
Diffstat (limited to 'src/point.cpp')
-rw-r--r--src/point.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/point.cpp b/src/point.cpp
index 9b3d9f3..c77e6cf 100644
--- a/src/point.cpp
+++ b/src/point.cpp
@@ -38,6 +38,13 @@ CompPoint::CompPoint (int x, int y) :
}
void
+CompPoint::set (int x, int y)
+{
+ mX = x;
+ mY = y;
+}
+
+void
CompPoint::setX (int x)
{
mX = x;