summaryrefslogtreecommitdiffstats
path: root/Project/Line.h
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Line.h')
-rw-r--r--Project/Line.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Project/Line.h b/Project/Line.h
index fd68585..6717783 100644
--- a/Project/Line.h
+++ b/Project/Line.h
@@ -12,6 +12,8 @@ class Line : public Element
~Line();
virtual bool Contains(wxPoint2DDouble position) const;
virtual void Draw(wxPoint2DDouble translation, double scale) const;
+ virtual void Move(wxPoint2DDouble position) {}
+ virtual void MoveNode(Element* parent, wxPoint2DDouble position);
virtual wxCursor GetBestPickboxCursor() const;
virtual bool AddParent(Element* parent, wxPoint2DDouble position);
virtual bool Intersects(wxRect2DDouble rect) const;
@@ -19,9 +21,10 @@ class Line : public Element
virtual bool PickboxContains(wxPoint2DDouble position);
virtual void Rotate();
virtual void AddPoint(wxPoint2DDouble point);
+
protected:
- std::vector<Element*> m_parentList;
std::vector<wxPoint2DDouble> m_pointList;
+ bool m_inserted = false;
};
#endif // LINE_H