summaryrefslogtreecommitdiffstats
path: root/Project/Element.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-08-30 17:30:54 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-08-30 17:30:54 -0300
commitc478afa9fbef4b21ea85dbc266169b9eebf369a9 (patch)
treefde5344bf80f54324e9f3673e3c37eca4bb4ac3a /Project/Element.h
parent06e57f5c75772dcba902e3032c756f79090f3424 (diff)
downloadPSP.git-c478afa9fbef4b21ea85dbc266169b9eebf369a9.tar.gz
PSP.git-c478afa9fbef4b21ea85dbc266169b9eebf369a9.tar.xz
PSP.git-c478afa9fbef4b21ea85dbc266169b9eebf369a9.zip
Transformer
Diffstat (limited to 'Project/Element.h')
-rw-r--r--Project/Element.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Project/Element.h b/Project/Element.h
index ec7496a..e4f2116 100644
--- a/Project/Element.h
+++ b/Project/Element.h
@@ -59,9 +59,6 @@ class Element
virtual void Rotate() = 0;
virtual bool Contains(wxPoint2DDouble position) const = 0;
virtual bool Intersects(wxRect2DDouble rect) const = 0;
- virtual bool PickboxContains(wxPoint2DDouble position) = 0;
- virtual void MovePickbox(wxPoint2DDouble position) = 0;
- virtual wxCursor GetBestPickboxCursor() const = 0;
// General methods
virtual bool GetContextMenu(wxMenu& menu) { return false; }
@@ -77,6 +74,9 @@ class Element
virtual wxPoint2DDouble GetSwitchPoint(Element* parent,
wxPoint2DDouble parentPoint,
wxPoint2DDouble secondPoint) const;
+ virtual bool PickboxContains(wxPoint2DDouble position) { return false;}
+ virtual void MovePickbox(wxPoint2DDouble position) {}
+ virtual wxCursor GetBestPickboxCursor() const {return wxCURSOR_ARROW;}
virtual void ResetPickboxes() { m_activePickboxID = ID_PB_NONE; }
virtual void ResetNodes() { m_activeNodeID= 0; }
virtual wxPoint2DDouble WorldToScreen(wxPoint2DDouble translation,