Sat, 05 Jul 2014 01:17:48 +0300
- now compiles
#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 bool mouseReleased (MouseEventData const& data) override; virtual bool mouseMoved (QMouseEvent*) override; private: void endDraw(); void updateRectVerts(); };