#include "rs_grid.h"
-#include "rs_units.h"
-#include "rs_graphic.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.
*/
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.
if (!graphicView->isGridOn())
return;
- RS_Graphic * graphic = graphicView->getGraphic();
+ Drawing * graphic = graphicView->getGraphic();
// auto scale grid?
settings.beginGroup("Appearance");