diff -r 717b20c56358 -r c6a8651e6bbc selection.h --- a/selection.h Wed Mar 21 11:51:38 2007 +0000 +++ b/selection.h Sat Mar 31 09:28:27 2007 +0000 @@ -1,8 +1,18 @@ #ifndef SELECTION_H #define SELECTION_H -#include "linkablemapobj.h" -#include "mapcenterobj.h" +#include +#include +#include + + +class MapEditor; +class BranchObj; +class FloatImageObj; +class MapCenterObj; +class LinkableMapObj; + + enum SelectionType {Undefined,Branch,MapCenter,FloatImage}; @@ -13,8 +23,10 @@ ~Selection(); void copy(const Selection&); void clear(); - void setMapCenter (MapCenterObj *); - + void setMapEditor (MapEditor *); + void update(); + void setColor (QColor c); + QColor getColor (); bool select (LinkableMapObj*); bool select (const QString &); bool reselect (); @@ -33,7 +45,12 @@ void init(); QList selectList; QList lastSelectList; + QList selboxList; + MapEditor *mapEditor; MapCenterObj *mapCenter; + QGraphicsScene *scene; + + QColor color; }; #endif