linkablemapobj.h
changeset 202 c6945404eb48
parent 166 325958acb69b
child 218 160459d924a1
     1.1 --- a/linkablemapobj.h	Mon Oct 10 11:20:25 2005 +0000
     1.2 +++ b/linkablemapobj.h	Wed Feb 01 16:39:06 2006 +0000
     1.3 @@ -34,6 +34,9 @@
     1.4      virtual void setParObjTmp (LinkableMapObj*,QPoint,int);	// Only for moving Obj around
     1.5  	virtual void unsetParObjTmp();						// reuse original ParObj
     1.6  	virtual bool hasParObjTmp();
     1.7 +	virtual int getTopPad();
     1.8 +	virtual int getLeftPad();
     1.9 +	virtual int getRightPad();
    1.10  	LinkStyle getDefLinkStyle();
    1.11      void setLinkStyle(LinkStyle);            
    1.12  	LinkStyle getLinkStyle();
    1.13 @@ -97,7 +100,7 @@
    1.14      LinkableMapObj* childObj;
    1.15      LinkableMapObj* parObj;
    1.16      LinkableMapObj* parObjTmpBuf;	// temporary buffer the original parent
    1.17 -    int offset;                     // vertical offset of dockpos to pos
    1.18 +    int bottomlineY;                // vertical offset of dockpos to pos
    1.19  
    1.20  	int thickness_start;			// for StylePoly*	
    1.21      LinkStyle style;				// Current style
    1.22 @@ -117,5 +120,8 @@
    1.23  	bool hideLinkUnselected;		// to hide links if unselected
    1.24  	QCanvasRectangle* selbox;
    1.25  	FrameObj *frame;				// frame around object
    1.26 +	int topPad, botPad,
    1.27 +		leftPad, rightPad;          // padding within bbox
    1.28 +
    1.29  };
    1.30  #endif