Code

Switched pen and pencil toobars to stock GTK+ toolbars
[inkscape.git] / src / gradient-context.h
index 3eb7910f8ff6a0c02833e79cb03f546aa1b7903c..3e74865b1928b59b30ae84c1f0fe4043a700341b 100644 (file)
@@ -6,7 +6,9 @@
  *
  * Authors:
  *   bulia byak <buliabyak@users.sf.net>
+ *   Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
  *
+ * Copyright (C) 2007 Johan Engelen
  * Copyright (C) 2005 Authors
  *
  * Released under GNU GPL
@@ -29,7 +31,13 @@ class SPGradientContextClass;
 struct SPGradientContext : public SPEventContext {
 
     NR::Point origin;
+        
+    bool cursor_addnode;
+    
+    bool node_added;
 
+    NR::Point mousepoint_doc; // stores mousepoint when over_line in doc coords
+        
     Inkscape::MessageContext *_message_context;
 };
 
@@ -38,9 +46,11 @@ struct SPGradientContextClass {
 };
 
 /* Standard Gtk function */
-
 GtkType sp_gradient_context_get_type();
 
+void sp_gradient_context_select_next (SPEventContext *event_context);
+void sp_gradient_context_select_prev (SPEventContext *event_context);
+
 #endif