diff --git a/src/event-context.h b/src/event-context.h
index ae7ec61da315bbdc2dd0466a913e9da60dcc6cda..3a745a6a2c4cafb6d8c4f89268a9cc2003e89306 100644 (file)
--- a/src/event-context.h
+++ b/src/event-context.h
struct GrDrag;
struct SPDesktop;
struct SPItem;
-struct SPKnotHolder;
-
+class KnotHolder;
namespace NR {
class Point;
}
unsigned key;
SPDesktop *desktop;
Inkscape::XML::Node *prefs_repr;
- gchar **cursor_shape;
+ gchar const *const *cursor_shape;
gint hot_x, hot_y;
GdkCursor *cursor;
GrDrag *_grdrag;
GrDrag *get_drag () {return _grdrag;}
- SPKnotHolder *shape_knot_holder;
+ KnotHolder *shape_knot_holder;
Inkscape::XML::Node *shape_repr;
+
+ bool space_panning;
};
/**
};
#define SP_EVENT_CONTEXT_DESKTOP(e) (SP_EVENT_CONTEXT(e)->desktop)
+#define SP_EVENT_CONTEXT_DOCUMENT(e) ((SP_EVENT_CONTEXT_DESKTOP(e))->doc())
#define SP_EVENT_CONTEXT_STATIC 0