diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2016-09-07 23:52:26 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2016-09-07 23:52:26 -0300 |
commit | fb8a409d7e35735afc9d28bfc0d7b49974f0d3a2 (patch) | |
tree | d009045e6591ef766a1c14765f3b8a7a3bc5d18a /Project/Element.cpp | |
parent | 697baaa3cc92e945d2301238dc9bcabffdb465ef (diff) | |
download | PSP.git-fb8a409d7e35735afc9d28bfc0d7b49974f0d3a2.tar.gz PSP.git-fb8a409d7e35735afc9d28bfc0d7b49974f0d3a2.tar.xz PSP.git-fb8a409d7e35735afc9d28bfc0d7b49974f0d3a2.zip |
Movementation and rotation fixed
Diffstat (limited to 'Project/Element.cpp')
-rw-r--r-- | Project/Element.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Project/Element.cpp b/Project/Element.cpp index 88f764a..bd04944 100644 --- a/Project/Element.cpp +++ b/Project/Element.cpp @@ -295,4 +295,15 @@ void Element::SetOnline(bool online) void Element::GeneralMenuItens(wxMenu& menu) { + wxMenuItem* clockItem = new wxMenuItem(&menu, ID_ROTATE_CLOCK, _("Rotate clockwise")); + clockItem->SetBitmap(wxImage("data\\images\\menu\\rotateClock16.png")); + menu.Append(clockItem); + + wxMenuItem* counterClockItem = new wxMenuItem(&menu, ID_ROTATE_COUNTERCLOCK, _("Rotate counter-clockwise")); + counterClockItem->SetBitmap(wxImage("data\\images\\menu\\rotateCounterClock16.png")); + menu.Append(counterClockItem); + + wxMenuItem* deleteItem = new wxMenuItem(&menu, ID_DELETE, _("Delete")); + deleteItem->SetBitmap(wxImage("data\\images\\menu\\delete16.png")); + menu.Append(deleteItem); } |