X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fnode-context.h;h=f266cc4135fbefefdaf8afd84ab995efd71cc41e;hb=9e8fe96d9bacc116eee7e4496cacbeab3ad22ab1;hp=cf53635d1835a5cba437144290131332b634625e;hpb=2f8a505c173a704ab6fb25538bb3c1afe5ce9e4e;p=inkscape.git diff --git a/src/node-context.h b/src/node-context.h index cf53635d1..f266cc413 100644 --- a/src/node-context.h +++ b/src/node-context.h @@ -11,11 +11,12 @@ * This code is in public domain */ +#include #include #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 :