summaryrefslogtreecommitdiffstats
path: root/Project/Element.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-11-23 17:08:20 -0200
committerThales1330 <thaleslima.ufu@gmail.com>2016-11-23 17:08:20 -0200
commit8e79aff80e56adbdcfd6a9be5a873c6bb4b1020a (patch)
tree1e25777555f6964409a6dce64fb1bd722d0e55ae /Project/Element.h
parent8d78d8c052550b9efc1a7de39aa4b776be002396 (diff)
downloadPSP.git-8e79aff80e56adbdcfd6a9be5a873c6bb4b1020a.tar.gz
PSP.git-8e79aff80e56adbdcfd6a9be5a873c6bb4b1020a.tar.xz
PSP.git-8e79aff80e56adbdcfd6a9be5a873c6bb4b1020a.zip
Text under implementation
Diffstat (limited to 'Project/Element.h')
-rw-r--r--Project/Element.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project/Element.h b/Project/Element.h
index 672723f..f872267 100644
--- a/Project/Element.h
+++ b/Project/Element.h
@@ -124,11 +124,11 @@ class Element
bool IsOnline() const { return m_online; }
// Pure-virtuals methods
virtual bool AddParent(Element* parent, wxPoint2DDouble position) = 0;
- virtual void Draw(wxPoint2DDouble translation, double scale) const = 0;
virtual bool Contains(wxPoint2DDouble position) const = 0;
virtual bool Intersects(wxRect2DDouble rect) const = 0;
// General methods
+ virtual void Draw(wxPoint2DDouble translation, double scale) const {};
virtual void Rotate(bool clockwise = true) {}
virtual bool GetContextMenu(wxMenu& menu) { return false; }
virtual void AddPoint(wxPoint2DDouble point) {}