src/editmodes/abstractEditMode.h

changeset 1042
b54b78ac41a5
parent 1014
f0a8ecb6a357
child 1072
9ce9496427f2
equal deleted inserted replaced
1041:9fc08b73b8c4 1042:b54b78ac41a5
82 AbstractDrawMode (GLRenderer* renderer); 82 AbstractDrawMode (GLRenderer* renderer);
83 83
84 void addDrawnVertex (const Vertex& pos); 84 void addDrawnVertex (const Vertex& pos);
85 virtual bool allowFreeCamera() const override final { return false; } 85 virtual bool allowFreeCamera() const override final { return false; }
86 virtual void endDraw() {} 86 virtual void endDraw() {}
87 void drawLength (QPainter& painter, 87 void drawLineLength (QPainter& painter,
88 const Vertex& v0, const Vertex& v1, 88 const Vertex& v0, const Vertex& v1,
89 const QPointF& v0p, const QPointF& v1p) const; 89 const QPointF& v0p, const QPointF& v1p) const;
90 void finishDraw (const LDObjectList& objs); 90 void finishDraw (const LDObjectList& objs);
91 Vertex getCursorVertex() const; 91 Vertex getCursorVertex() const;
92 bool keyReleased (QKeyEvent* ev) override; 92 bool keyReleased (QKeyEvent* ev) override;

mercurial