Code

Prune initial timer work.
[inkscape.git] / src / gradient-context.h
index e185157a16b1df9e3a285588dae7d8ebd61af16e..0e1059ee987aa7aa644e2172e4ce5406b8578df2 100644 (file)
@@ -6,16 +6,17 @@
  *
  * Authors:
  *   bulia byak <buliabyak@users.sf.net>
+ *   Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
+ *   Jon A. Cruz <jon@joncruz.org.
  *
- * Copyright (C) 2005 Authors
+ * Copyright (C) 2007 Johan Engelen
+ * Copyright (C) 2005,2010 Authors
  *
  * Released under GNU GPL
  */
 
 #include <sigc++/sigc++.h>
 #include "event-context.h"
-#include "libnr/nr-point.h"
-struct SPKnotHolder;
 
 #define SP_TYPE_GRADIENT_CONTEXT            (sp_gradient_context_get_type())
 #define SP_GRADIENT_CONTEXT(obj)            (GTK_CHECK_CAST((obj), SP_TYPE_GRADIENT_CONTEXT, SPGradientContext))
@@ -28,15 +29,18 @@ class SPGradientContextClass;
 
 struct SPGradientContext : public SPEventContext {
 
-    NR::Point origin;
-        
+    Geom::Point origin;
+
     bool cursor_addnode;
-    
+
     bool node_added;
 
-    NR::Point mousepoint_doc; // stores mousepoint when over_line in doc coords
-        
+    Geom::Point mousepoint_doc; // stores mousepoint when over_line in doc coords
+
     Inkscape::MessageContext *_message_context;
+
+    sigc::connection *selcon;
+    sigc::connection *subselcon;
 };
 
 struct SPGradientContextClass {
@@ -61,4 +65,4 @@ void sp_gradient_context_select_prev (SPEventContext *event_context);
   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 :