src/editmodes/curvemode.h

changeset 1217
314e12e23c3a
parent 1006
a6b462051ae0
child 1222
34def2630300
equal deleted inserted replaced
1216:12f9ea615cbc 1217:314e12e23c3a
19 #pragma once 19 #pragma once
20 #include "abstractEditMode.h" 20 #include "abstractEditMode.h"
21 21
22 class CurveMode : public AbstractDrawMode 22 class CurveMode : public AbstractDrawMode
23 { 23 {
24 DEFINE_CLASS (CurveMode, AbstractDrawMode) 24 DEFINE_CLASS(CurveMode, AbstractDrawMode)
25 25
26 public: 26 public:
27 CurveMode (GLRenderer* renderer); 27 CurveMode(GLRenderer* renderer);
28 void endDraw() override; 28 void endDraw() override;
29 void render (QPainter& painter) const override; 29 void render(QPainter& painter) const override;
30 EditModeType type() const override; 30 EditModeType type() const override;
31 int maxVertices() const override { return 4; } 31 int maxVertices() const override { return 4; }
32 }; 32 };

mercurial