Code

fix invalid access warning
[inkscape.git] / src / gradient-context.h
index 80dfecd3a5a3762fa56047d8d295086cdd6bd3fe..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;
 };