Code

Attempt to fix crashes in geometry tool which I don't see :-/
[inkscape.git] / src / node-context.h
index cf53635d1835a5cba437144290131332b634625e..f266cc4135fbefefdaf8afd84ab995efd71cc41e 100644 (file)
  * This code is in public domain
  */
 
+#include <gtk/gtktypeutils.h>
 #include <sigc++/sigc++.h>
 #include "event-context.h"
 #include "forward.h"
+#include "display/display-forward.h"
 #include "nodepath.h"
-struct SPKnotHolder;
 namespace Inkscape { class Selection; }
 
 #define SP_TYPE_NODE_CONTEXT            (sp_node_context_get_type ())
@@ -32,6 +33,7 @@ class SPNodeContext;
 class SPNodeContextClass;
 
 struct SPNodeContext {
+        // FIXME: shouldn't this be a pointer???
        SPEventContext event_context;
 
        guint drag : 1;
@@ -52,9 +54,13 @@ struct SPNodeContext {
 
        bool cursor_drag;
 
-      bool added_node;
+    bool added_node;
   
-      unsigned int current_state;
+    unsigned int current_state;
+    SPItem * flashed_item;
+    Inkscape::Display::TemporaryItem * flash_tempitem;
+    int remove_flash_counter;
 };
 
 struct SPNodeContextClass {
@@ -66,5 +72,17 @@ struct SPNodeContextClass {
 GtkType sp_node_context_get_type (void);
 
 void sp_node_context_selection_changed (Inkscape::Selection * selection, gpointer data);
+void sp_node_context_selection_modified (Inkscape::Selection * selection, guint flags, gpointer data);
 
 #endif
+
+/*
+  Local Variables:
+  mode:c++
+  c-file-style:"stroustrup"
+  c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
+  indent-tabs-mode:nil
+  fill-column:99
+  End:
+*/
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 :