mapeditor.h
branchqt4-port
changeset 20 9ad3d0391be1
parent 18 70c41284cb48
     1.1 --- a/mapeditor.h	Thu Aug 31 12:51:20 2006 +0000
     1.2 +++ b/mapeditor.h	Tue Sep 05 07:56:57 2006 +0000
     1.3 @@ -98,7 +98,8 @@
     1.4  public:	
     1.5      void paste();		// paste clipboard to branch and backup
     1.6      void cut();			// cut to clipboard and backup
     1.7 -    void move(const int &,const int&);
     1.8 +    void move    (const int &,const int&);
     1.9 +    void moveRel (const int &,const int&);
    1.10      void moveBranchUp();
    1.11      void moveBranchDown();
    1.12  	QString getHeading (bool &,QPoint &);	// Get heading, ok if selection is branch
    1.13 @@ -223,6 +224,7 @@
    1.14      MapObj* movingObj;				// moving a MapObj
    1.15  	MapObj* linkingObj_src;			// part of a link
    1.16      QPoint movingObj_orgPos;		// org. pos of mouse before move
    1.17 +    QPoint movingObj_orgRelPos;		// org. relative pos of mouse before move
    1.18      QPoint movingObj_start;			// rel. pos of mouse to absPos 
    1.19      QPoint movingCont_start;		// inital pos of moving Content or
    1.20      QPoint movingVec;				// how far has Content moved