diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-03-30 11:10:06 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-03-30 11:10:06 -0300 |
commit | 045037ce8f2b106acbe5425245746a2dbed65c26 (patch) | |
tree | f81b4003f1ec6f835681c768c945065b1976da42 /Project/ElementForm.h | |
parent | 3985018cdb8508b9970646ae4b9886ba4df6dd78 (diff) | |
download | PSP.git-045037ce8f2b106acbe5425245746a2dbed65c26.tar.gz PSP.git-045037ce8f2b106acbe5425245746a2dbed65c26.tar.xz PSP.git-045037ce8f2b106acbe5425245746a2dbed65c26.zip |
Exponencial under implementation
Diffstat (limited to 'Project/ElementForm.h')
-rw-r--r-- | Project/ElementForm.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/Project/ElementForm.h b/Project/ElementForm.h index 2e5b235..300f1eb 100644 --- a/Project/ElementForm.h +++ b/Project/ElementForm.h @@ -827,4 +827,64 @@ public: virtual ~SumFormBase(); }; + +class LimiterFormBase : public wxDialog +{ +protected: + wxNotebook* m_notebook; + wxPanel* m_panelGeneral; + wxStaticText* m_staticTextUpLimiter; + wxTextCtrl* m_textCtrlUpLimit; + wxStaticText* m_staticTextLowLimit; + wxTextCtrl* m_textCtrlLowLimit; + wxButton* m_buttonOK; + wxButton* m_ButtonCancel; + +protected: + virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); } + virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); } + +public: + wxStaticText* GetStaticTextUpLimiter() { return m_staticTextUpLimiter; } + wxTextCtrl* GetTextCtrlUpLimit() { return m_textCtrlUpLimit; } + wxStaticText* GetStaticTextLowLimit() { return m_staticTextLowLimit; } + wxTextCtrl* GetTextCtrlLowLimit() { return m_textCtrlLowLimit; } + wxPanel* GetPanelGeneral() { return m_panelGeneral; } + wxNotebook* GetNotebook() { return m_notebook; } + wxButton* GetButtonOK() { return m_buttonOK; } + wxButton* GetButtonCancel() { return m_ButtonCancel; } + LimiterFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Limiter"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE); + virtual ~LimiterFormBase(); +}; + + +class RateLimiterFormBase : public wxDialog +{ +protected: + wxNotebook* m_notebook; + wxPanel* m_panelGeneral; + wxStaticText* m_staticTextUpLimiter; + wxTextCtrl* m_textCtrlUpLimit; + wxStaticText* m_staticTextLowLimit; + wxTextCtrl* m_textCtrlLowLimit; + wxButton* m_buttonOK; + wxButton* m_ButtonCancel; + +protected: + virtual void OnOKButtonClick(wxCommandEvent& event) { event.Skip(); } + virtual void OnCancelButtonClick(wxCommandEvent& event) { event.Skip(); } + +public: + wxStaticText* GetStaticTextUpLimiter() { return m_staticTextUpLimiter; } + wxTextCtrl* GetTextCtrlUpLimit() { return m_textCtrlUpLimit; } + wxStaticText* GetStaticTextLowLimit() { return m_staticTextLowLimit; } + wxTextCtrl* GetTextCtrlLowLimit() { return m_textCtrlLowLimit; } + wxPanel* GetPanelGeneral() { return m_panelGeneral; } + wxNotebook* GetNotebook() { return m_notebook; } + wxButton* GetButtonOK() { return m_buttonOK; } + wxButton* GetButtonCancel() { return m_ButtonCancel; } + RateLimiterFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Rate limiter"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE); + virtual ~RateLimiterFormBase(); +}; + #endif |