From 81f88ca0856da56bdf426cd065ff0acd3414567f Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Tue, 9 Feb 2010 03:20:18 +0100 Subject: Fix multiple minor problems in the node tool (bzr r9070) --- src/ui/tool/node.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/tool/node.h') diff --git a/src/ui/tool/node.h b/src/ui/tool/node.h index 581cc9b6f..c798a1fdb 100644 --- a/src/ui/tool/node.h +++ b/src/ui/tool/node.h @@ -96,6 +96,7 @@ public: void setDirection(Geom::Point const &from, Geom::Point const &to); void setDirection(Geom::Point const &dir); Node *parent() { return _parent; } + Handle &other(); static char const *handle_type_to_localized_string(NodeType type); protected: @@ -116,6 +117,7 @@ private: SPCanvasItem *_handle_line; bool _degenerate; // this is used often internally so it makes sense to cache this + static Geom::Point _saved_other_pos; static double _saved_length; static bool _drag_out; friend class Node; -- cgit v1.2.3