summaryrefslogtreecommitdiffstats
path: root/src/shape-editor.cpp
diff options
context:
space:
mode:
authorDiederik van Lierop <mailat-signdiedenrezidotnl>2010-01-30 22:04:33 +0000
committerDiederik van Lierop <mailat-signdiedenrezidotnl>2010-01-30 22:04:33 +0000
commite52fb9fac3f1bbd924c0ca3b6b5e214a095d44af (patch)
tree05abc6241c288c5adf39733b914059e393f2fc75 /src/shape-editor.cpp
parentReally fix btool build. (diff)
downloadinkscape-e52fb9fac3f1bbd924c0ca3b6b5e214a095d44af.tar.gz
inkscape-e52fb9fac3f1bbd924c0ca3b6b5e214a095d44af.zip
Finally introducing the pre-snap indicator
(bzr r9034)
Diffstat (limited to '')
-rw-r--r--src/shape-editor.cpp10
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++