]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_grid.cpp
Refactoring: Moved RS_GraphicView to GraphicView.
[architektonas] / src / base / rs_grid.cpp
index 3f2252a0378c4dcc0731ba14348318c0150d03d0..c2f43e078db7538595802ceaf35ba9d18d419a51 100644 (file)
 
 #include "rs_grid.h"
 
-#include "rs_units.h"
 #include "drawing.h"
+#include "graphicview.h"
+//#include "rs_graphicview.h"
 #include "settings.h"
+#include "rs_units.h"
+#include "vector.h"
 
+#warning "!!! Clean out all references to RS_GraphicView here and in header !!!"
+#if 0
 /**
  * Constructor.
  */
@@ -25,6 +30,15 @@ RS_Grid::RS_Grid(RS_GraphicView * gv): graphicView(gv), pt(NULL), number(0),
        metaX(NULL), numMetaX(0), metaY(NULL), numMetaY(0)
 {
 }
+#endif
+
+/**
+ * Constructor II.
+ */
+RS_Grid::RS_Grid(GraphicView * gv): graphicView(gv), pt(NULL), number(0),
+       metaX(NULL), numMetaX(0), metaY(NULL), numMetaY(0)
+{
+}
 
 /**
  * Destructor.