diff --git a/src/node-context.h b/src/node-context.h
index fae95cf433ee33a133c213eadcc87f53757911be..2345ffc7e798d7359aab7bc8eed6b3f8e37979b7 100644 (file)
--- a/src/node-context.h
+++ b/src/node-context.h
* 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 ())
class SPNodeContextClass;
struct SPNodeContext {
+ // FIXME: shouldn't this be a pointer???
SPEventContext event_context;
guint drag : 1;
- Inkscape::NodePath::Path *nodepath;
-
gboolean leftalt;
gboolean rightalt;
gboolean leftctrl;
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;
+
+ SPItem * flashed_item;
+ SPCanvasItem *grabbed;
+ Inkscape::Display::TemporaryItem * flash_tempitem;
+ int remove_flash_counter;
};
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 :