1.1 --- a/selection.h Thu May 17 20:19:04 2007 +0000
1.2 +++ b/selection.h Wed Jan 16 15:45:19 2008 +0000
1.3 @@ -6,13 +6,11 @@
1.4 #include <QGraphicsScene>
1.5
1.6
1.7 -class MapEditor;
1.8 class BranchObj;
1.9 class FloatImageObj;
1.10 class MapCenterObj;
1.11 class LinkableMapObj;
1.12 -
1.13 -
1.14 +class VymModel;
1.15
1.16
1.17 class Selection
1.18 @@ -23,7 +21,7 @@
1.19 ~Selection();
1.20 void copy(const Selection&);
1.21 void clear();
1.22 - void setMapEditor (MapEditor *);
1.23 + void setModel (VymModel *);
1.24 void update();
1.25 void setColor (QColor c);
1.26 QColor getColor ();
1.27 @@ -46,8 +44,7 @@
1.28 QList <LinkableMapObj*> selectList;
1.29 QList <LinkableMapObj*> lastSelectList;
1.30 QList <QGraphicsRectItem*> selboxList;
1.31 - MapEditor *mapEditor;
1.32 - MapCenterObj *mapCenter;
1.33 + VymModel *model;
1.34 QGraphicsScene *scene;
1.35
1.36 QColor color;