diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-08-09 17:45:09 -0300 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-08-09 17:45:09 -0300 |
commit | 0a85e05fa7aa0e2b950c2c3bcec5d45f25b1c0e2 (patch) | |
tree | 3ff5ec1cdeafafd58916e41151d437b44f49754f /Project/Element.h | |
parent | b5324f48c855b0c82ccf6da7d5a008fe5cf1c17e (diff) | |
download | PSP.git-0a85e05fa7aa0e2b950c2c3bcec5d45f25b1c0e2.tar.gz PSP.git-0a85e05fa7aa0e2b950c2c3bcec5d45f25b1c0e2.tar.xz PSP.git-0a85e05fa7aa0e2b950c2c3bcec5d45f25b1c0e2.zip |
Line under implementation
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; } |