selection.h
changeset 607 53c66cb9f5bd
parent 440 c6a8651e6bbc
child 642 d35bd2241fd1
     1.1 --- a/selection.h	Sat Mar 31 09:28:27 2007 +0000
     1.2 +++ b/selection.h	Mon Oct 22 09:50:03 2007 +0000
     1.3 @@ -14,11 +14,11 @@
     1.4  
     1.5  
     1.6  
     1.7 -enum SelectionType {Undefined,Branch,MapCenter,FloatImage};
     1.8  
     1.9  class Selection 
    1.10  {
    1.11  public:
    1.12 +	enum Type {Undefined,Branch,MapCenter,FloatImage};
    1.13  	Selection ();
    1.14  	~Selection();
    1.15  	void copy(const Selection&);
    1.16 @@ -33,7 +33,7 @@
    1.17  	void unselect ();
    1.18  	bool isEmpty();
    1.19  	uint count();
    1.20 -	SelectionType type();
    1.21 +	Type type();
    1.22  	LinkableMapObj * first();		// first in selection list
    1.23  	LinkableMapObj * single();		// NULL, if multiple selected
    1.24  	BranchObj* getBranch();