diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-04-25 19:29:34 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-04-25 19:29:34 -0300 |
commit | c3b8370a456085dd835349a8c50e7a9e0a117c45 (patch) | |
tree | eb6af1eaa9a34320d619876386eedc33024eccb3 /Project/ControlEditor.cpp | |
parent | 9154f5ee02766121f7ac8dd756f2e73ae95e1afa (diff) | |
download | PSP.git-c3b8370a456085dd835349a8c50e7a9e0a117c45.tar.gz PSP.git-c3b8370a456085dd835349a8c50e7a9e0a117c45.tar.xz PSP.git-c3b8370a456085dd835349a8c50e7a9e0a117c45.zip |
wxMathPlot implemented on chart view
Diffstat (limited to 'Project/ControlEditor.cpp')
-rw-r--r-- | Project/ControlEditor.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Project/ControlEditor.cpp b/Project/ControlEditor.cpp index e457d0f..927654e 100644 --- a/Project/ControlEditor.cpp +++ b/Project/ControlEditor.cpp @@ -13,6 +13,8 @@ #include "Constant.h" #include "Gain.h" +#include "ChartView.h" + ControlElementButton::ControlElementButton(wxWindow* parent, wxString label, wxImage image, wxWindowID id) : wxWindow(parent, id) { @@ -611,6 +613,14 @@ void ControlEditor::OnKeyDown(wxKeyEvent& event) { RotateSelectedElements(event.GetModifiers() != wxMOD_SHIFT); } break; + case 'L': + { + //tests + if(event.ControlDown() && event.ShiftDown()) { + ChartView* cView = new ChartView(this); + cView->Show(); + } + } } } } |