summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.cpp
diff options
context:
space:
mode:
authorThomas Holder <thomas@thomas-holder.de>2019-08-23 15:25:01 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2019-08-23 17:38:10 +0000
commitac61104df7df1b452666a037aeac55d5b71da85d (patch)
tree6240a92eebb158c8785e15342a5db7c0ecf3d0a6 /src/gradient-drag.cpp
parentUpdate of Czech translation (diff)
downloadinkscape-ac61104df7df1b452666a037aeac55d5b71da85d.tar.gz
inkscape-ac61104df7df1b452666a037aeac55d5b71da85d.zip
Eliminate clang warnings
-Winfinite-recursion -Wpessimizing-move -Wunused-label -Wunneeded-internal-declaration -Wself-assign-overloaded -Wunused-const-variable (some) -Wsometimes-uninitialized (some)
Diffstat (limited to 'src/gradient-drag.cpp')
-rw-r--r--src/gradient-drag.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp
index 681268991..88247a21a 100644
--- a/src/gradient-drag.cpp
+++ b/src/gradient-drag.cpp
@@ -66,12 +66,6 @@ guint32 const GR_KNOT_COLOR_SELECTED = 0x0000ff00;
guint32 const GR_KNOT_COLOR_HIGHLIGHT = 0xffffff00;
guint32 const GR_KNOT_COLOR_MESHCORNER = 0xbfbfbf00;
-guint32 const GR_LINE_COLOR_FILL = 0x0000ff7f;
-guint32 const GR_LINE_COLOR_STROKE = 0x9999007f;
-
-// screen pixels between knots when they snap:
-#define SNAP_DIST 5
-
// absolute distance between gradient points for them to become a single dragger when the drag is created:
#define MERGE_DIST 0.1