diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-08-30 17:30:54 -0300 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-08-30 17:30:54 -0300 |
commit | c478afa9fbef4b21ea85dbc266169b9eebf369a9 (patch) | |
tree | fde5344bf80f54324e9f3673e3c37eca4bb4ac3a /Project/Element.h | |
parent | 06e57f5c75772dcba902e3032c756f79090f3424 (diff) | |
download | PSP.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.h | 6 |
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, |