summaryrefslogtreecommitdiffstats
path: root/src/event-context.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-08-18 00:38:00 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-08-18 00:38:00 +0000
commit0bf5619e6388466b8caaddaf490acc557804f236 (patch)
tree5eee95e6e05bdce8ba31f607ebab9bed0f563356 /src/event-context.h
parentDon't draw anchors in LPEToolContext (diff)
downloadinkscape-0bf5619e6388466b8caaddaf490acc557804f236.tar.gz
inkscape-0bf5619e6388466b8caaddaf490acc557804f236.zip
Add a ShapeEditor to LPEToolContext which allows us to edit nodes (switching selections doesn't work right yet; changing the cursor would also be nice)
(bzr r6656)
Diffstat (limited to 'src/event-context.h')
-rw-r--r--src/event-context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event-context.h b/src/event-context.h
index 54d854844..6284b6e2c 100644
--- a/src/event-context.h
+++ b/src/event-context.h
@@ -27,6 +27,7 @@ struct GrDrag;
struct SPDesktop;
struct SPItem;
class KnotHolder;
+class ShapeEditor;
namespace Inkscape {
class MessageContext;
@@ -118,6 +119,8 @@ guint get_group0_keyval(GdkEventKey *event);
SPItem *sp_event_context_find_item (SPDesktop *desktop, NR::Point const p, bool select_under, bool into_groups);
SPItem *sp_event_context_over_item (SPDesktop *desktop, SPItem *item, NR::Point const p);
+ShapeEditor *sp_event_context_get_shape_editor (SPEventContext *ec);
+
void ec_shape_event_attr_changed(Inkscape::XML::Node *shape_repr,
gchar const *name, gchar const *old_value, gchar const *new_value,
bool const is_interactive, gpointer const data);