21 #include "../miscallenous.h" |
21 #include "../miscallenous.h" |
22 #include "../ldObject.h" |
22 #include "../ldObject.h" |
23 #include "../ldDocument.h" |
23 #include "../ldDocument.h" |
24 #include "../ringFinder.h" |
24 #include "../ringFinder.h" |
25 #include "../primitives.h" |
25 #include "../primitives.h" |
26 #include "../glRenderer.h" |
26 #include "../canvas.h" |
27 #include "../mainwindow.h" |
27 #include "../mainwindow.h" |
28 #include "../mathfunctions.h" |
28 #include "../mathfunctions.h" |
29 #include "../miscallenous.h" |
29 #include "../miscallenous.h" |
30 #include "../grid.h" |
30 #include "../grid.h" |
31 |
31 |
32 CircleMode::CircleMode(GLRenderer* renderer) : |
32 CircleMode::CircleMode(Canvas* canvas) : |
33 Super {renderer} {} |
33 Super {canvas} {} |
34 |
34 |
35 |
35 |
36 EditModeType CircleMode::type() const |
36 EditModeType CircleMode::type() const |
37 { |
37 { |
38 return EditModeType::Circle; |
38 return EditModeType::Circle; |