summaryrefslogtreecommitdiffstats
path: root/Project/PropertiesForm.h
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-08-08 19:40:23 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2017-08-08 19:40:23 -0300
commitd7550fe1c173f1be296f1ce7991ad6d70ed90ceb (patch)
treecf94259d6ed480cafe9da1a73409e4039991235b /Project/PropertiesForm.h
parent49ac4c4fcedb03ef09f8faab176159f48896dc7e (diff)
downloadPSP.git-d7550fe1c173f1be296f1ce7991ad6d70ed90ceb.tar.gz
PSP.git-d7550fe1c173f1be296f1ce7991ad6d70ed90ceb.tar.xz
PSP.git-d7550fe1c173f1be296f1ce7991ad6d70ed90ceb.zip
Settings form implementation start
Diffstat (limited to 'Project/PropertiesForm.h')
-rw-r--r--Project/PropertiesForm.h75
1 files changed, 75 insertions, 0 deletions
diff --git a/Project/PropertiesForm.h b/Project/PropertiesForm.h
new file mode 100644
index 0000000..f0b325b
--- /dev/null
+++ b/Project/PropertiesForm.h
@@ -0,0 +1,75 @@
+//////////////////////////////////////////////////////////////////////
+// This file was auto-generated by codelite's wxCrafter Plugin
+// wxCrafter project file: PropertiesForm.wxcp
+// Do not modify this file by hand!
+//////////////////////////////////////////////////////////////////////
+
+#ifndef _PSP_PROJECT_PROPERTIESFORM_BASE_CLASSES_H
+#define _PSP_PROJECT_PROPERTIESFORM_BASE_CLASSES_H
+
+#include <wx/settings.h>
+#include <wx/xrc/xmlres.h>
+#include <wx/xrc/xh_bmp.h>
+#include <wx/dialog.h>
+#include <wx/iconbndl.h>
+#include <wx/artprov.h>
+#include <wx/sizer.h>
+#include <wx/notebook.h>
+#include <wx/button.h>
+#if wxVERSION_NUMBER >= 2900
+#include <wx/persist.h>
+#include <wx/persist/toplevel.h>
+#include <wx/persist/bookctrl.h>
+#include <wx/persist/treebook.h>
+#endif
+
+#ifdef WXC_FROM_DIP
+#undef WXC_FROM_DIP
+#endif
+#if wxVERSION_NUMBER >= 3100
+#define WXC_FROM_DIP(x) wxWindow::FromDIP(x, NULL)
+#else
+#define WXC_FROM_DIP(x) x
+#endif
+
+
+class GeneralPropertiesFormBase : public wxDialog
+{
+protected:
+ wxNotebook* m_notebook;
+ wxButton* m_buttonOK;
+ wxButton* m_buttonCancel;
+
+protected:
+ virtual void OnButtonOKClick(wxCommandEvent& event) { event.Skip(); }
+ virtual void OnButtonCancelClick(wxCommandEvent& event) { event.Skip(); }
+
+public:
+ wxNotebook* GetNotebook() { return m_notebook; }
+ wxButton* GetButtonOK() { return m_buttonOK; }
+ wxButton* GetButtonCancel() { return m_buttonCancel; }
+ GeneralPropertiesFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("General settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
+ virtual ~GeneralPropertiesFormBase();
+};
+
+
+class SimulationsSettingsFormBase : public wxDialog
+{
+protected:
+ wxNotebook* m_notebook;
+ wxButton* m_buttonOK;
+ wxButton* m_buttonCancel;
+
+protected:
+ virtual void OnButtonOKClick(wxCommandEvent& event) { event.Skip(); }
+ virtual void OnButtonCancelClick(wxCommandEvent& event) { event.Skip(); }
+
+public:
+ wxNotebook* GetNotebook() { return m_notebook; }
+ wxButton* GetButtonOK() { return m_buttonOK; }
+ wxButton* GetButtonCancel() { return m_buttonCancel; }
+ SimulationsSettingsFormBase(wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = _("Simulation settings"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize(-1,-1), long style = wxDEFAULT_DIALOG_STYLE);
+ virtual ~SimulationsSettingsFormBase();
+};
+
+#endif