diff options
| author | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-01-30 22:04:33 +0000 |
|---|---|---|
| committer | Diederik van Lierop <mailat-signdiedenrezidotnl> | 2010-01-30 22:04:33 +0000 |
| commit | e52fb9fac3f1bbd924c0ca3b6b5e214a095d44af (patch) | |
| tree | 05abc6241c288c5adf39733b914059e393f2fc75 /src/event-context.cpp | |
| parent | Really fix btool build. (diff) | |
| download | inkscape-e52fb9fac3f1bbd924c0ca3b6b5e214a095d44af.tar.gz inkscape-e52fb9fac3f1bbd924c0ca3b6b5e214a095d44af.zip | |
Finally introducing the pre-snap indicator
(bzr r9034)
Diffstat (limited to 'src/event-context.cpp')
| -rw-r--r-- | src/event-context.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/event-context.cpp b/src/event-context.cpp index 5592741d9..1e47b9d9d 100644 --- a/src/event-context.cpp +++ b/src/event-context.cpp @@ -58,6 +58,7 @@ #include "selcue.h" #include "lpe-tool-context.h" #include "ui/tool/control-point.h" +#include "shape-editor.h" static void sp_event_context_class_init(SPEventContextClass *klass); static void sp_event_context_init(SPEventContext *event_context); @@ -743,6 +744,15 @@ gint sp_event_context_private_item_handler(SPEventContext *ec, SPItem *item, return ret; } +bool sp_event_context_knot_mouseover(SPEventContext *ec) +{ + if (ec->shape_editor) { + return !(ec->shape_editor->knot_mouseover()); + } + + return false; +} + /** * @brief An observer that relays pref changes to the derived classes */ |
