summaryrefslogtreecommitdiffstats
path: root/src/node-context.h
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-02-13 17:18:22 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-02-13 17:18:22 +0000
commit5c7360bc41952997eda3781681ad3cfaa8b81460 (patch)
tree38310198603fc5d9272cdd222d30ee3228919a89 /src/node-context.h
parenteo: translation completed (diff)
downloadinkscape-5c7360bc41952997eda3781681ad3cfaa8b81460.tar.gz
inkscape-5c7360bc41952997eda3781681ad3cfaa8b81460.zip
isolate the nodepath-or-knotholder unit into the new ShapeEditor class which handles listeners etc. and provides a single interface to work with nodepath or knotholder; later will add another layer, ShapeEditorsCollective, which will allow us to have any number of nodepaths and knotholders simultaneously
(bzr r2374)
Diffstat (limited to 'src/node-context.h')
-rw-r--r--src/node-context.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/node-context.h b/src/node-context.h
index fae95cf43..cf53635d1 100644
--- a/src/node-context.h
+++ b/src/node-context.h
@@ -36,7 +36,7 @@ struct SPNodeContext {
guint drag : 1;
- Inkscape::NodePath::Path *nodepath;
+ ShapeEditor* shape_editor;
gboolean leftalt;
gboolean rightalt;
@@ -50,16 +50,11 @@ struct SPNodeContext {
Inkscape::MessageContext *_node_message_context;
- double grab_t;
- int grab_node; // number of node grabbed by sp_node_context_is_over_stroke
- 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;
+ unsigned int current_state;
};
struct SPNodeContextClass {