branchobj.h
changeset 719 3f90aab4794d
parent 661 6a5e2c27f8a4
child 721 12958f987bcf
     1.1 --- a/branchobj.h	Fri Feb 01 15:28:35 2008 +0000
     1.2 +++ b/branchobj.h	Mon Jul 14 11:25:09 2008 +0000
     1.3 @@ -128,7 +128,8 @@
     1.4      virtual void select();
     1.5      virtual void unselect();
     1.6  	virtual QString getSelectString();
     1.7 -	virtual void animate();
     1.8 +	virtual void setAnimation(const AnimPoint &ap);
     1.9 +	virtual bool animate();
    1.10  
    1.11  protected:
    1.12  	static BranchObj* itLast;		// iterator for first(), next()
    1.13 @@ -136,6 +137,9 @@
    1.14      QList<BranchObj*> branch;		// all child branches
    1.15  	QList<FloatImageObj*> floatimage;// child images
    1.16  	QList<XLinkObj*> xlink;			// xlinks to other branches
    1.17 +
    1.18 +	AnimPoint anim;
    1.19 +
    1.20  public:	
    1.21  	float angle;					// used in mainbranch to reorder mainbranches
    1.22  protected: