Code

Node tool: special case node duplication for endnodes - select new endnode
[inkscape.git] / src / shape-editor.cpp
index fa4360137a9813f60a0d910e6b8078e63a01390f..1962b710ca1ad6accb7a02ad6611ad1228361b8b 100644 (file)
@@ -128,7 +128,7 @@ GList *ShapeEditor::save_nodepath_selection () {
     return NULL;
 }
 
-void ShapeEditor::restore_nodepath_selection (GList *saved) {
+void ShapeEditor::restore_nodepath_selection (GList */*saved*/) {
     // defunct stub
 }
 
@@ -226,6 +226,17 @@ 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();
+    }
+    return false;
+}
+
 /*
   Local Variables:
   mode:c++