diff options
author | Thales1330 <thaleslima.ufu@gmail.com> | 2016-09-06 18:32:47 -0300 |
---|---|---|
committer | Thales1330 <thaleslima.ufu@gmail.com> | 2016-09-06 18:32:47 -0300 |
commit | 697baaa3cc92e945d2301238dc9bcabffdb465ef (patch) | |
tree | 01f3de93600a1036c8d693c5c8150434ebf75731 /Project/Branch.h | |
parent | d93ef357da510f2515556ff2cb51688a4e068805 (diff) | |
download | PSP.git-697baaa3cc92e945d2301238dc9bcabffdb465ef.tar.gz PSP.git-697baaa3cc92e945d2301238dc9bcabffdb465ef.tar.xz PSP.git-697baaa3cc92e945d2301238dc9bcabffdb465ef.zip |
Counter clockwise rotation implemented
Diffstat (limited to 'Project/Branch.h')
-rw-r--r-- | Project/Branch.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Project/Branch.h b/Project/Branch.h index 5032f1f..a39cef6 100644 --- a/Project/Branch.h +++ b/Project/Branch.h @@ -23,8 +23,7 @@ public: virtual bool Intersects(wxRect2DDouble rect) const { return false; } virtual void MovePickbox(wxPoint2DDouble position) {} virtual bool PickboxContains(wxPoint2DDouble position) { return false; } - virtual void Rotate() {} - virtual void RotateNode(Element* parent); + virtual void RotateNode(Element* parent, bool clockwise = true); virtual void AddPoint(wxPoint2DDouble point) {}; virtual bool GetContextMenu(wxMenu& menu) { return false; } virtual void UpdateSwitchesPosition(); |