Code

Corrected initialization order.
[inkscape.git] / src / tweak-context.h
index 2157ecdaa794f817ca507f11ef5f1a8a4f96cee7..e860fd7ea36bf0d67d51b04b77e92fa71a005468 100644 (file)
@@ -32,14 +32,19 @@ class SPTweakContextClass;
 #define TC_DEFAULT_PRESSURE  0.35
 
 enum {
+    TWEAK_MODE_MOVE,
+    TWEAK_MODE_MOVE_IN_OUT,
+    TWEAK_MODE_MOVE_JITTER,
+    TWEAK_MODE_SCALE,
+    TWEAK_MODE_ROTATE,
+    TWEAK_MODE_MORELESS,
     TWEAK_MODE_PUSH,
-    TWEAK_MODE_SHRINK,
-    TWEAK_MODE_GROW,
-    TWEAK_MODE_ATTRACT,
-    TWEAK_MODE_REPEL,
+    TWEAK_MODE_SHRINK_GROW,
+    TWEAK_MODE_ATTRACT_REPEL,
     TWEAK_MODE_ROUGHEN,
     TWEAK_MODE_COLORPAINT,
-    TWEAK_MODE_COLORJITTER
+    TWEAK_MODE_COLORJITTER,
+    TWEAK_MODE_BLUR
 };
 
 struct SPTweakContext
@@ -66,7 +71,7 @@ struct SPTweakContext
 
     bool is_dilating;
     bool has_dilated;
-    NR::Point last_push;
+    Geom::Point last_push;
     SPCanvasItem *dilate_area;
 
     bool do_h;