20 #include "abstractEditMode.h" |
20 #include "abstractEditMode.h" |
21 |
21 |
22 class RectangleMode : public AbstractDrawMode |
22 class RectangleMode : public AbstractDrawMode |
23 { |
23 { |
24 DEFINE_CLASS (RectangleMode, AbstractDrawMode) |
24 DEFINE_CLASS (RectangleMode, AbstractDrawMode) |
25 QVector<Vertex> _rectangleVerts; |
25 QVector<Vertex> m_rectangleVerts; |
26 |
26 |
27 public: |
27 public: |
28 RectangleMode (GLRenderer* renderer); |
28 RectangleMode (GLRenderer* renderer); |
29 |
29 |
30 virtual void render (QPainter& painter) const override; |
30 virtual void render (QPainter& painter) const override; |