X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fshape-editor.cpp;h=1962b710ca1ad6accb7a02ad6611ad1228361b8b;hb=8a2e76b7021b9b960d7c30801a1a14461d9b5939;hp=fa4360137a9813f60a0d910e6b8078e63a01390f;hpb=e26f1a78c94b86ad5ad4a834b59ddb2847474c92;p=inkscape.git diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp index fa4360137..1962b710c 100644 --- a/src/shape-editor.cpp +++ b/src/shape-editor.cpp @@ -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++