diff options
Diffstat (limited to 'Project/Element.h')
-rw-r--r-- | Project/Element.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/Element.h b/Project/Element.h index a104ec5..dfffba2 100644 --- a/Project/Element.h +++ b/Project/Element.h @@ -41,7 +41,7 @@ class Element double GetAngle() const { return m_angle; } bool IsPickboxShown() const { return m_showPickbox; } // Pure-virtuals methods - virtual void Insert(Element* parent, wxPoint2DDouble position) = 0; + virtual bool AddParent(Element* parent, wxPoint2DDouble position) = 0; virtual void Draw(wxPoint2DDouble translation, double scale) const = 0; virtual void Rotate() = 0; virtual bool Contains(wxPoint2DDouble position) const = 0; @@ -51,6 +51,7 @@ class Element virtual wxCursor GetBestPickboxCursor() const = 0; // General methods + virtual void AddPoint(wxPoint2DDouble point) {}; virtual void StartMove(wxPoint2DDouble position); virtual void Move(wxPoint2DDouble position); void ResetPickboxes() { m_activePickboxID = ID_PB_NONE; } |