xlinkobj.h
changeset 178 8e3d07807ac5
parent 95 f688a9913724
child 299 7ca34d0e299d
     1.1 --- a/xlinkobj.h	Mon Apr 18 06:17:00 2005 +0000
     1.2 +++ b/xlinkobj.h	Tue Jan 03 09:44:41 2006 +0000
     1.3 @@ -17,6 +17,9 @@
     1.4  	void setEnd   (BranchObj*);
     1.5  	void setEnd   (QPoint);
     1.6  	void setColor(QColor);
     1.7 +	QColor getColor();
     1.8 +	void setWidth (int);
     1.9 +	int getWidth ();
    1.10  	bool activate ();			// Sets pointers in branchObjects
    1.11  	void deactivate();			// removes those pointers
    1.12  	bool isUsed();				// true, if at least on branch uses it
    1.13 @@ -30,8 +33,8 @@
    1.14  
    1.15  private:
    1.16  	static int arrowSize;
    1.17 -	static QColor defXLinkColor;
    1.18 -	QColor xLinkColor;
    1.19 +	QColor color;
    1.20 +	int width;
    1.21  	QCanvasLine *line;
    1.22  	QCanvasPolygon *poly;
    1.23  	BranchObj *beginBranch;