summaryrefslogtreecommitdiffstats
path: root/src/ui/tools/eraser-tool.h
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2016-10-02 23:23:34 +0000
committerMartin Owens <doctormo@gmail.com>2016-10-02 23:23:34 +0000
commitb2cb0719468ebd034a0eceb4d0510fb464409265 (patch)
treef0be90c49b3ace243a6166fed34ce64cfd41a0dc /src/ui/tools/eraser-tool.h
parentAdjust dock size to minimum width during canvas table size allocation signal. (diff)
parentUpdate to trunk and some fixes (diff)
downloadinkscape-b2cb0719468ebd034a0eceb4d0510fb464409265.tar.gz
inkscape-b2cb0719468ebd034a0eceb4d0510fb464409265.zip
Merge in the new eraser mode (2) which uses clip instead of cut.
(bzr r15143)
Diffstat (limited to 'src/ui/tools/eraser-tool.h')
-rw-r--r--src/ui/tools/eraser-tool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/tools/eraser-tool.h b/src/ui/tools/eraser-tool.h
index 50ce6b6e3..bd0e98057 100644
--- a/src/ui/tools/eraser-tool.h
+++ b/src/ui/tools/eraser-tool.h
@@ -31,6 +31,10 @@
#define ERC_MAX_TILT 1.0
#define ERC_DEFAULT_TILT 0.0
+#define ERASER_MODE_DELETE 0
+#define ERASER_MODE_CUT 1
+#define ERASER_MODE_CLIP 2
+
namespace Inkscape {
namespace UI {
namespace Tools {