summaryrefslogtreecommitdiffstats
path: root/src/rubberband.h
diff options
context:
space:
mode:
authorJohn Bintz <me@johnbintz.com>2006-10-04 01:30:15 +0000
committerjohncoswell <johncoswell@users.sourceforge.net>2006-10-04 01:30:15 +0000
commit733eff8a3ac5f53149bff3a657e511d90fcd7d2f (patch)
treed4d95caed5a7a7d7c33a9eb68df2221e2985cacb /src/rubberband.h
parentAdded preferences.xml option to show the widgets to get the axonometric grid.... (diff)
downloadinkscape-733eff8a3ac5f53149bff3a657e511d90fcd7d2f.tar.gz
inkscape-733eff8a3ac5f53149bff3a657e511d90fcd7d2f.zip
Add interface to check whether or not rubberband operation has been started
(bzr r1763)
Diffstat (limited to 'src/rubberband.h')
-rw-r--r--src/rubberband.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rubberband.h b/src/rubberband.h
index 9dd0b6025..36e9c4d8e 100644
--- a/src/rubberband.h
+++ b/src/rubberband.h
@@ -34,6 +34,7 @@ public:
void move(NR::Point const &p);
NR::Maybe<NR::Rect> getRectangle() const;
void stop();
+ bool is_started();
static Rubberband* get();
@@ -46,6 +47,7 @@ private:
NR::Point _start;
NR::Point _end;
CtrlRect *_canvas;
+ bool _started;
};
}