--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/editmodes/drawmode.h Fri Jul 04 22:19:01 2014 +0300 @@ -0,0 +1,15 @@ +#include "abstracteditmode.h" + +class DrawMode : public AbstractDrawMode +{ + DEFINE_CLASS (DrawMode, AbstractDrawMode) + bool _rectdraw; + +public: + DrawMode (GLRenderer* renderer); + + virtual void render (QPainter& painter) const override; + virtual EditModeType type() const override; + virtual bool preAddVertex (Vertex const& pos) override; + virtual void mouseReleased (MouseEventData const& data) override; +};