added mouse-up event for moved nodes

This commit is contained in:
k-a-z-u
2018-04-04 17:14:37 +02:00
parent 3a4deaf314
commit fe6f4f88f7
17 changed files with 98 additions and 10 deletions

View File

@@ -36,9 +36,11 @@ public:
/** get a list of all nodes that are selectable / moveable */
virtual std::vector<MoveableNode> getMoveableNodes() const = 0;
/** the given node was moved */
/** the given node is currently moved */
virtual void onNodeMove(MapView2D* v, const int userIdx, const Point2 newPos) = 0;
/** the given node was previously moved */
virtual void onNodeMoved(MapView2D* v, const int userIdx, const Point2 newPos) = 0;
/** the given node was selected */
virtual void onNodeSelect(MapView2D* v, const int userIdx) {