10 |
10 |
11 QString name() const override; |
11 QString name() const override; |
12 QString toolTip() const override; |
12 QString toolTip() const override; |
13 bool mouseClick(Document* document, Canvas* canvas, QMouseEvent* event) override; |
13 bool mouseClick(Document* document, Canvas* canvas, QMouseEvent* event) override; |
14 bool mouseMove(Document* document, Canvas* canvas, QMouseEvent* event) override; |
14 bool mouseMove(Document* document, Canvas* canvas, QMouseEvent* event) override; |
15 bool keyReleased(QKeyEvent*) override; |
15 bool keyReleased(Document*, Canvas* canvas, QKeyEvent* event) override; |
16 void reset() override; |
16 void reset() override; |
17 void overpaint(Canvas*, QPainter*) const override; |
17 void overpaint(Canvas*, QPainter*) const override; |
18 private: |
18 private: |
19 void closeShape(Document *document); |
19 void closeShape(Document *document); |
20 std::vector<glm::vec3> polygon; |
20 std::vector<glm::vec3> polygon; |