Code

Translations. POTFILES.in, inkcape.pot and fr.po updated.
[inkscape.git] / src / gradient-context.h
index 3eb7910f8ff6a0c02833e79cb03f546aa1b7903c..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,9 +29,18 @@ class SPGradientContextClass;
 
 struct SPGradientContext : public SPEventContext {
 
-    NR::Point origin;
+    Geom::Point origin;
+
+    bool cursor_addnode;
+
+    bool node_added;
+
+    Geom::Point mousepoint_doc; // stores mousepoint when over_line in doc coords
 
     Inkscape::MessageContext *_message_context;
+
+    sigc::connection *selcon;
+    sigc::connection *subselcon;
 };
 
 struct SPGradientContextClass {
@@ -38,9 +48,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
 
 
@@ -53,4 +65,4 @@ GtkType sp_gradient_context_get_type();
   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 :