diff -r caba269c3757 -r 9ad3d0391be1 mapeditor.h --- a/mapeditor.h Thu Aug 31 12:51:20 2006 +0000 +++ b/mapeditor.h Tue Sep 05 07:56:57 2006 +0000 @@ -98,7 +98,8 @@ public: void paste(); // paste clipboard to branch and backup void cut(); // cut to clipboard and backup - void move(const int &,const int&); + void move (const int &,const int&); + void moveRel (const int &,const int&); void moveBranchUp(); void moveBranchDown(); QString getHeading (bool &,QPoint &); // Get heading, ok if selection is branch @@ -223,6 +224,7 @@ MapObj* movingObj; // moving a MapObj MapObj* linkingObj_src; // part of a link QPoint movingObj_orgPos; // org. pos of mouse before move + QPoint movingObj_orgRelPos; // org. relative pos of mouse before move QPoint movingObj_start; // rel. pos of mouse to absPos QPoint movingCont_start; // inital pos of moving Content or QPoint movingVec; // how far has Content moved