summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/point.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-03-22 21:19:28 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-03-22 21:19:28 +0000
commita4acda9b2ff714a63e5d1b77b701df0e8f707d0d (patch)
tree634cef00c8824ca7146815d335802ba2e6a5695a /src/ui/widget/point.cpp
parentupdate to latest 2geom (diff)
downloadinkscape-a4acda9b2ff714a63e5d1b77b701df0e8f707d0d.tar.gz
inkscape-a4acda9b2ff714a63e5d1b77b701df0e8f707d0d.zip
changes to use RegisteredTransformedPoint as widget for LPE point. not complete
(bzr r5171)
Diffstat (limited to 'src/ui/widget/point.cpp')
-rw-r--r--src/ui/widget/point.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widget/point.cpp b/src/ui/widget/point.cpp
index 1efb26a78..508a8d961 100644
--- a/src/ui/widget/point.cpp
+++ b/src/ui/widget/point.cpp
@@ -194,10 +194,10 @@ Point::setRange(double min, double max)
/** Sets the value of the spin button */
void
-Point::setValue(double xvalue, double yvalue)
+Point::setValue(Geom::Point & p)
{
- xwidget.setValue(xvalue);
- ywidget.setValue(yvalue);
+ xwidget.setValue(p[0]);
+ ywidget.setValue(p[1]);
}
/** Manually forces an update of the spin button */