diff options
author | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-04-01 17:43:54 -0300 |
---|---|---|
committer | Thales Lima Oliveira <thaleslima.ufu@gmail.com> | 2017-04-01 17:43:54 -0300 |
commit | afb0e6e08d3911b7387799f5c465fd59ca26a484 (patch) | |
tree | 7b9b24d512813837c64d6cc9b2e005cd9791b5e6 /Project/ConstantForm.h | |
parent | a684d5c9c9dd131060b5a36d7c7844ae197fcfd1 (diff) | |
download | PSP.git-afb0e6e08d3911b7387799f5c465fd59ca26a484.tar.gz PSP.git-afb0e6e08d3911b7387799f5c465fd59ca26a484.tar.xz PSP.git-afb0e6e08d3911b7387799f5c465fd59ca26a484.zip |
Constant implemented
Missing: gain and io
Diffstat (limited to 'Project/ConstantForm.h')
-rw-r--r-- | Project/ConstantForm.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Project/ConstantForm.h b/Project/ConstantForm.h new file mode 100644 index 0000000..ca7a44a --- /dev/null +++ b/Project/ConstantForm.h @@ -0,0 +1,21 @@ +#ifndef CONSTANTFORM_H +#define CONSTANTFORM_H +#include "ElementForm.h" + +class Constant; + +class ConstantForm : public ConstantFormBase +{ + public: + ConstantForm(wxWindow* parent, Constant* constant); + virtual ~ConstantForm(); + virtual bool ValidateData(); + + protected: + virtual void OnCancelButtonClick(wxCommandEvent& event) { EndModal(wxID_CANCEL); } + virtual void OnOKButtonClick(wxCommandEvent& event); + + wxWindow* m_parent = NULL; + Constant* m_constant = NULL; +}; +#endif // CONSTANTFORM_H |