summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/pen-tool.h
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2014-02-26 01:08:53 +0000
committerMarkus Engel <markus.engel@tum.de>2014-02-26 01:08:53 +0000
commit7e85379f54292595afe296e5f0be240f6c8f7835 (patch)
treea40874339b162e49b76008b81e0d046d05443ac6 /src/ui/tools/pen-tool.h
parentAllow 'transform' on flowRoot, flowPara, and flowSpan. (diff)
downloadinkscape-7e85379f54292595afe296e5f0be240f6c8f7835.tar.gz
inkscape-7e85379f54292595afe296e5f0be240f6c8f7835.zip
Made constructors of tools use initializer lists.
(bzr r13060)
Diffstat (limited to 'src/ui/tools/pen-tool.h')
-rw-r--r--src/ui/tools/pen-tool.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/tools/pen-tool.h b/src/ui/tools/pen-tool.h
index 4452dbd68..f2b1ee04a 100644
--- a/src/ui/tools/pen-tool.h
+++ b/src/ui/tools/pen-tool.h
@@ -23,6 +23,7 @@ namespace Tools {
class PenTool : public FreehandBase {
public:
PenTool();
+ PenTool(gchar const *const *cursor_shape, gint hot_x, gint hot_y);
virtual ~PenTool();
enum Mode {
@@ -60,7 +61,7 @@ public:
SPCtrlLine *cl0;
SPCtrlLine *cl1;
- unsigned int events_disabled : 1;
+ bool events_disabled;
static const std::string prefsPath;