summaryrefslogtreecommitdiffstats
path: root/Project/GeneratorForm.h
diff options
context:
space:
mode:
authorThales1330 <thaleslima.ufu@gmail.com>2016-09-23 17:46:10 -0300
committerThales1330 <thaleslima.ufu@gmail.com>2016-09-23 17:46:10 -0300
commita9dd78afddeb706df6652eb91f229a74fd073846 (patch)
treedfc6130a9c9c5022fcb2baae3f6cf238a99786e8 /Project/GeneratorForm.h
parent1088617b8f1c31af3ad6a87f9934f7a55240b3a2 (diff)
downloadPSP.git-a9dd78afddeb706df6652eb91f229a74fd073846.tar.gz
PSP.git-a9dd78afddeb706df6652eb91f229a74fd073846.tar.xz
PSP.git-a9dd78afddeb706df6652eb91f229a74fd073846.zip
Generator form implemented
Diffstat (limited to 'Project/GeneratorForm.h')
-rw-r--r--Project/GeneratorForm.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/Project/GeneratorForm.h b/Project/GeneratorForm.h
new file mode 100644
index 0000000..e017852
--- /dev/null
+++ b/Project/GeneratorForm.h
@@ -0,0 +1,29 @@
+#ifndef GENERATORFORM_H
+#define GENERATORFORM_H
+
+#include "ElementForm.h"
+
+class GeneratorStabForm;
+class SyncGenerator;
+
+class GeneratorForm : public GeneratorFormBase
+{
+ public:
+ GeneratorForm(wxWindow* parent, SyncGenerator* syncGenerator);
+ virtual ~GeneratorForm();
+
+protected:
+ virtual void OnStabilityButtonClick(wxCommandEvent& event);
+ virtual void OnCancelButtonClick(wxCommandEvent& event);
+ virtual void OnCheckMaxReactive(wxCommandEvent& event);
+ virtual void OnCheckMinReactive(wxCommandEvent& event);
+ virtual void OnOKButtonClick(wxCommandEvent& event);
+
+ virtual bool ValidateData();
+ virtual void ReplaceStaticTextLabelChar(wxStaticText* staticText, wchar_t newChar);
+
+ SyncGenerator* m_syncGenerator;
+ wxWindow* m_parent;
+
+};
+#endif // GENERATORFORM_H