src/editmodes/rectangleMode.cpp

changeset 1104
edddb9b0db9e
parent 1079
67c6e5d32e68
child 1129
2b20261dc511
--- a/src/editmodes/rectangleMode.cpp	Thu Feb 09 11:53:55 2017 +0200
+++ b/src/editmodes/rectangleMode.cpp	Thu Feb 09 13:05:31 2017 +0200
@@ -20,10 +20,10 @@
 #include <QMouseEvent>
 #include "rectangleMode.h"
 #include "../ldObject.h"
-#include "../glRenderer.h"
+#include "../canvas.h"
 
-RectangleMode::RectangleMode (GLRenderer* renderer) :
-	Super (renderer),
+RectangleMode::RectangleMode (Canvas* canvas) :
+    Super (canvas),
 	m_rectangleVerts (QVector<Vertex>(4)) {}
 
 EditModeType RectangleMode::type() const

mercurial