summaryrefslogtreecommitdiffstats
path: root/Project/ElementForm.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-04-01 17:43:54 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-04-01 17:43:54 -0300
commitafb0e6e08d3911b7387799f5c465fd59ca26a484 (patch)
tree7b9b24d512813837c64d6cc9b2e005cd9791b5e6 /Project/ElementForm.h
parenta684d5c9c9dd131060b5a36d7c7844ae197fcfd1 (diff)
downloadPSP.git-afb0e6e08d3911b7387799f5c465fd59ca26a484.tar.gz
PSP.git-afb0e6e08d3911b7387799f5c465fd59ca26a484.tar.xz
PSP.git-afb0e6e08d3911b7387799f5c465fd59ca26a484.zip
Constant implemented
Missing: gain and io
Diffstat (limited to 'Project/ElementForm.h')
-rw-r--r--Project/ElementForm.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/Project/ElementForm.h b/Project/ElementForm.h
index 300f1eb..17aacd4 100644
--- a/Project/ElementForm.h
+++ b/Project/ElementForm.h
@@ -887,4 +887,62 @@ public:
virtual ~RateLimiterFormBase();
};
+
+class ExponentialFormBase : public wxDialog
+{
+protected:
+ wxNotebook* m_notebook;
+ wxPanel* m_panelGeneral;
+ wxStaticText* m_staticTextExp;
+ wxStaticText* m_staticTextAValue;
+ wxTextCtrl* m_textCtrlAValue;
+ wxStaticText* m_staticTextBValue;
+ wxTextCtrl* m_textCtrlBValue;
+ wxButton* m_buttonOK;
+ wxButton* m_buttonCancel;
+
+protected:
+ virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); }
+ virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); }
+
+public:
+ wxStaticText* GetStaticTextExp() { return m_staticTextExp; }
+ wxStaticText* GetStaticTextAValue() { return m_staticTextAValue; }
+ wxTextCtrl* GetTextCtrlAValue() { return m_textCtrlAValue; }
+ wxStaticText* GetStaticTextBValue() { return m_staticTextBValue; }
+ wxTextCtrl* GetTextCtrlBValue() { return m_textCtrlBValue; }
+ wxPanel* GetPanelGeneral() { return m_panelGeneral; }
+ wxNotebook* GetNotebook() { return m_notebook; }
+ wxButton* GetButtonOK() { return m_buttonOK; }
+ wxButton* GetButtonCancel() { return m_buttonCancel; }
+ ExponentialFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Exponential"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
+ virtual ~ExponentialFormBase();
+};
+
+
+class ConstantFormBase : 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; }
+ ConstantFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Constant"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
+ virtual ~ConstantFormBase();
+};
+
#endif