src/editmodes/circleMode.cpp

changeset 1104
edddb9b0db9e
parent 1088
c6d242d2b619
child 1123
15e46ea3151f
equal deleted inserted replaced
1103:ac7db4c076c3 1104:edddb9b0db9e
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;

mercurial