src/editmodes/abstracteditmode.cc

changeset 827
82469b40567e
parent 825
f7649c9bfd9a
child 829
bb903e89e23c
equal deleted inserted replaced
826:d7a21e4a4ec3 827:82469b40567e
1 #include <QMouseEvent>
1 #include <stdexcept> 2 #include <stdexcept>
2 #include "abstracteditmode.h" 3 #include "abstracteditmode.h"
3 #include "selectmode.h" 4 #include "selectmode.h"
4 #include "drawmode.h" 5 #include "drawmode.h"
5 #include "circlemode.h" 6 #include "circlemode.h"
6 #include "magicwandmode.h" 7 #include "magicwandmode.h"
7 #include "../mainWindow.h" 8 #include "../mainWindow.h"
9 #include "../glRenderer.h"
8 10
9 AbstractEditMode::AbstractEditMode (GLRenderer* renderer) : 11 AbstractEditMode::AbstractEditMode (GLRenderer* renderer) :
10 _renderer (renderer) {} 12 _renderer (renderer) {}
13
14 AbstractEditMode::~AbstractEditMode() {}
11 15
12 AbstractEditMode* AbstractEditMode::createByType (GLRenderer* renderer, EditModeType type) 16 AbstractEditMode* AbstractEditMode::createByType (GLRenderer* renderer, EditModeType type)
13 { 17 {
14 switch (type) 18 switch (type)
15 { 19 {

mercurial