Code

r11516@tres: ted | 2006-04-26 21:30:18 -0700
[inkscape.git] / src / dyna-draw-context.h
index 06aeca1e34f9444f499821bf75dac9fdf65eea05..fef6f1ea3b6deb7c8c49edabc9be3a564bb56150 100644 (file)
@@ -72,9 +72,6 @@ struct SPDynaDrawContext
     /* repr */
     Inkscape::XML::Node *repr;
 
-    /* time_id if use timeout */
-    gint timer_id;
-
     /* DynaDraw */
     NR::Point cur;
     NR::Point vel;
@@ -87,15 +84,12 @@ struct SPDynaDrawContext
     gdouble xtilt;
     gdouble ytilt;
     /* attributes */
-    /* fixme: shuld be merge dragging and dynahand ?? */
     guint dragging : 1;           /* mouse state: mouse is dragging */
-    guint dynahand : 1;           /* mouse state: mouse is in draw */
-    guint use_timeout : 1;
+    guint usepressure : 1;
+    guint usetilt : 1;
     double mass, drag;
     double angle;
     double width;
-    guint usepressure : 1;
-    guint usetilt : 1;
 
     double vel_thin;
     double flatness;
@@ -104,6 +98,9 @@ struct SPDynaDrawContext
     Inkscape::MessageContext *_message_context;
 
     bool is_drawing;
+
+    /** uses absolute width independent of zoom */
+    bool abs_width;
 };
 
 struct SPDynaDrawContextClass