src/editmodes/linePathMode.h

changeset 1104
edddb9b0db9e
parent 1072
9ce9496427f2
child 1326
69a90bd2dba2
equal deleted inserted replaced
1103:ac7db4c076c3 1104:edddb9b0db9e
22 class LinePathMode : public AbstractDrawMode 22 class LinePathMode : public AbstractDrawMode
23 { 23 {
24 DEFINE_CLASS (LinePathMode, AbstractDrawMode) 24 DEFINE_CLASS (LinePathMode, AbstractDrawMode)
25 25
26 public: 26 public:
27 LinePathMode (GLRenderer* renderer); 27 LinePathMode (Canvas* canvas);
28 28
29 void render (QPainter& painter) const override; 29 void render (QPainter& painter) const override;
30 EditModeType type() const override { return EditModeType::LinePath; } 30 EditModeType type() const override { return EditModeType::LinePath; }
31 bool mouseReleased (MouseEventData const& data) override; 31 bool mouseReleased (MouseEventData const& data) override;
32 bool preAddVertex (Vertex const& pos) override; 32 bool preAddVertex (Vertex const& pos) override;

mercurial