diff --git a/src/node-context.h b/src/node-context.h
index a9b4beb07614b37402a188dafff64d787230d65a..cf53635d1835a5cba437144290131332b634625e 100644 (file)
--- a/src/node-context.h
+++ b/src/node-context.h
#define SP_IS_NODE_CONTEXT(obj) (GTK_CHECK_TYPE ((obj), SP_TYPE_NODE_CONTEXT))
#define SP_IS_NODE_CONTEXT_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), SP_TYPE_NODE_CONTEXT))
+enum { SP_NODE_CONTEXT_INACTIVE,
+ SP_NODE_CONTEXT_NODE_DRAGGING,
+ SP_NODE_CONTEXT_RUBBERBAND_DRAGGING };
+
class SPNodeContext;
class SPNodeContextClass;
guint drag : 1;
- Inkscape::NodePath::Path *nodepath;
+ ShapeEditor* shape_editor;
gboolean leftalt;
gboolean rightalt;
Inkscape::MessageContext *_node_message_context;
- double grab_t;
- Inkscape::NodePath::Node * grab_node;
- bool hit;
- NR::Point curvepoint_event; // int coords from event
- NR::Point curvepoint_doc; // same, in doc coords
bool cursor_drag;
- bool added_node;
+ bool added_node;
+
+ unsigned int current_state;
};
struct SPNodeContextClass {