Code

Patch by Tavmjong for 451588
[inkscape.git] / src / node-context.h
index baa37af915f6658d82c3c60d8db66b2aecc68109..2345ffc7e798d7359aab7bc8eed6b3f8e37979b7 100644 (file)
@@ -11,6 +11,7 @@
  * This code is in public domain
  */
 
+#include <gtk/gtktypeutils.h>
 #include <sigc++/sigc++.h>
 #include "event-context.h"
 #include "forward.h"
@@ -37,8 +38,6 @@ struct SPNodeContext {
 
        guint drag : 1;
 
-       ShapeEditor* shape_editor;
-
        gboolean leftalt;
        gboolean rightalt;
        gboolean leftctrl;
@@ -58,8 +57,8 @@ struct SPNodeContext {
     unsigned int current_state;
  
     SPItem * flashed_item;
+       SPCanvasItem *grabbed;
     Inkscape::Display::TemporaryItem * flash_tempitem;
-    SPCanvasItem * flash_permitem;
     int remove_flash_counter;
 };
 
@@ -72,5 +71,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 :