821:a67b1201942a | 823:1a2f593f0c02 |
---|---|
1 #include "abstracteditmode.h" | |
2 | |
3 class DrawMode : public AbstractDrawMode | |
4 { | |
5 DEFINE_CLASS (DrawMode, AbstractDrawMode) | |
6 bool _rectdraw; | |
7 | |
8 public: | |
9 DrawMode (GLRenderer* renderer); | |
10 | |
11 virtual void render (QPainter& painter) const override; | |
12 virtual EditModeType type() const override; | |
13 virtual bool preAddVertex (Vertex const& pos) override; | |
14 virtual void mouseReleased (MouseEventData const& data) override; | |
15 }; |