20 #include <QMouseEvent> |
20 #include <QMouseEvent> |
21 #include "drawMode.h" |
21 #include "drawMode.h" |
22 #include "../ldObject.h" |
22 #include "../ldObject.h" |
23 #include "../glRenderer.h" |
23 #include "../glRenderer.h" |
24 |
24 |
25 DrawMode::DrawMode (GLRenderer* renderer) : |
25 DrawMode::DrawMode (Canvas* canvas) : |
26 Super (renderer) {} |
26 Super (canvas) {} |
27 |
27 |
28 EditModeType DrawMode::type() const |
28 EditModeType DrawMode::type() const |
29 { |
29 { |
30 return EditModeType::Draw; |
30 return EditModeType::Draw; |
31 } |
31 } |