From e58cec073cbd982246898c733ae21b9f2b92b2b7 Mon Sep 17 00:00:00 2001 From: Thales1330 Date: Wed, 17 Aug 2016 17:19:58 -0300 Subject: Line under implementation --- Project/Line.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Project/Line.h') 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 m_parentList; std::vector m_pointList; + bool m_inserted = false; }; #endif // LINE_H -- cgit