selection.h
changeset 492 cf60b90369a4
parent 440 c6a8651e6bbc
child 642 d35bd2241fd1
     1.1 --- a/selection.h	Thu May 17 20:19:03 2007 +0000
     1.2 +++ b/selection.h	Thu May 17 20:19:04 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();