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/shape-editor.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/shape-editor.cpp')
| -rw-r--r-- | src/shape-editor.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp index 7002c9723..e3b6d65c2 100644 --- a/src/shape-editor.cpp +++ b/src/shape-editor.cpp @@ -226,6 +226,16 @@ bool ShapeEditor::has_selection() { return false; // so far, knotholder cannot have selection } +/** + * \brief Returns true if this ShapeEditor has a knot above which the mouse currently hovers + */ +bool ShapeEditor::knot_mouseover() +{ + if (this->knotholder) { + return knotholder->knot_mouseover(); + } +} + /* Local Variables: mode:c++ |
