src/canvas.cpp

changeset 1319
39d7a9642eea
parent 1318
568fcfc6da71
child 1326
69a90bd2dba2
equal deleted inserted replaced
1318:568fcfc6da71 1319:39d7a9642eea
19 #include <QMouseEvent> 19 #include <QMouseEvent>
20 #include "canvas.h" 20 #include "canvas.h"
21 #include "grid.h" 21 #include "grid.h"
22 #include "lddocument.h" 22 #include "lddocument.h"
23 #include "primitives.h" 23 #include "primitives.h"
24 #include "algorithms/geometry.h"
25 #include "generics/ring.h"
24 26
25 Canvas::Canvas(LDDocument* document, QWidget* parent) : 27 Canvas::Canvas(LDDocument* document, QWidget* parent) :
26 GLRenderer {document, parent}, 28 GLRenderer {document, parent},
27 m_document {*document}, 29 m_document {*document},
28 m_currentEditMode {AbstractEditMode::createByType (this, EditModeType::Select)} {} 30 m_currentEditMode {AbstractEditMode::createByType (this, EditModeType::Select)} {}

mercurial