summaryrefslogtreecommitdiffstats
path: root/Project/ElementForm.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-04-04 18:10:12 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-04-04 18:10:12 -0300
commit38b3e2decff95f5e29ffb6025ee899d108d22f04 (patch)
tree2655e3ac2dd13a9bb9ee0d38541239c53e668da7 /Project/ElementForm.h
parentafb0e6e08d3911b7387799f5c465fd59ca26a484 (diff)
downloadPSP.git-38b3e2decff95f5e29ffb6025ee899d108d22f04.tar.gz
PSP.git-38b3e2decff95f5e29ffb6025ee899d108d22f04.tar.xz
PSP.git-38b3e2decff95f5e29ffb6025ee899d108d22f04.zip
Gain implemented
Implement io: https://ideone.com/0HDBVd
Diffstat (limited to 'Project/ElementForm.h')
-rw-r--r--Project/ElementForm.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/Project/ElementForm.h b/Project/ElementForm.h
index 17aacd4..a47dfb7 100644
--- a/Project/ElementForm.h
+++ b/Project/ElementForm.h
@@ -945,4 +945,30 @@ public:
virtual ~ConstantFormBase();
};
+
+class GainFormBase : public wxDialog
+{
+protected:
+ wxNotebook* m_notebook;
+ wxPanel* m_panelGeneral;
+ wxStaticText* m_staticTextValue;
+ wxTextCtrl* m_textCtrlValue;
+ wxButton* m_buttonOK;
+ wxButton* m_buttonCancel;
+
+protected:
+ virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
+ virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
+
+public:
+ wxStaticText* GetStaticTextValue() { return m_staticTextValue; }
+ wxTextCtrl* GetTextCtrlValue() { return m_textCtrlValue; }
+ wxPanel* GetPanelGeneral() { return m_panelGeneral; }
+ wxNotebook* GetNotebook() { return m_notebook; }
+ wxButton* GetButtonOK() { return m_buttonOK; }
+ wxButton* GetButtonCancel() { return m_buttonCancel; }
+ GainFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Gain"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
+ virtual ~GainFormBase();
+};
+
#endif