diff -r d886c77ac0fe -r a76dcf52f15e selection.h --- a/selection.h Mon Jan 29 12:29:13 2007 +0000 +++ b/selection.h Wed Apr 11 09:21:14 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