Code

Split SPCanvasItem and SPCanvasGroup to individual .h files. Removed forward header.
[inkscape.git] / src / tweak-context.h
index 6a94a185b5ffc44867876adf9f2edd29eb6859b1..542254b91bb250e561cdb69f7dfd494e0d6aad8b 100644 (file)
@@ -12,9 +12,7 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 
-#include "display/curve.h"
 #include "event-context.h"
-#include <display/display-forward.h>
 #include <libnr/nr-point.h>
 
 #define SP_TYPE_TWEAK_CONTEXT (sp_tweak_context_get_type())
@@ -33,14 +31,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
@@ -67,7 +70,7 @@ struct SPTweakContext
 
     bool is_dilating;
     bool has_dilated;
-    NR::Point last_push;
+    Geom::Point last_push;
     SPCanvasItem *dilate_area;
 
     bool do_h;
@@ -96,4 +99,4 @@ GtkType sp_tweak_context_get_type(void);
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :