Code

Add a warning to sp-object.h to not use some of the new methods
[inkscape.git] / src / gradient-context.h
index d0fe0d421ed3179a1939536b3f116cd99e3e6ebe..0e1059ee987aa7aa644e2172e4ce5406b8578df2 100644 (file)
@@ -7,17 +7,16 @@
  * Authors:
  *   bulia byak <buliabyak@users.sf.net>
  *   Johan Engelen <j.b.c.engelen@ewi.utwente.nl>
+ *   Jon A. Cruz <jon@joncruz.org.
  *
  * Copyright (C) 2007 Johan Engelen
- * Copyright (C) 2005 Authors
+ * 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))
@@ -30,14 +29,14 @@ 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;
@@ -66,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 :