00001
00002
00003
00004
00005
00006
00007
00008 #ifndef __OPZ3DDLG_HPP_
00009 #define __OPZ3DDLG_HPP_
00010
00011
00012
00013 #include <wx/wxprec.h>
00014 #include "../ListaFx3D/TLista3D.h"
00015 #ifdef __BORLANDC__
00016 #pragma hdrstop
00017 #endif
00018
00019 #ifndef WX_PRECOMP
00020
00021 #include <wx/wx.h>
00022 #endif
00023
00024
00025
00026
00028 #include <wx/colordlg.h>
00029 #include <wx/checkbox.h>
00030 #include <wx/checklst.h>
00031 #include <wx/button.h>
00032 #include <wx/textctrl.h>
00033 #include <wx/stattext.h>
00034 #include <wx/statbox.h>
00035 #include <wx/panel.h>
00036 #include <wx/notebook.h>
00038
00039 #include <wx/dialog.h>
00040
00041
00042 #ifndef wxCLOSE_BOX
00043 #define wxCLOSE_BOX 0x1000
00044 #endif
00045 #ifndef wxFIXED_MINSIZE
00046 #define wxFIXED_MINSIZE 0
00047 #endif
00048
00050 #define OPZ3DDLG_STYLE wxCAPTION | wxSYSTEM_MENU | wxDIALOG_NO_PARENT | wxMINIMIZE_BOX | wxCLOSE_BOX
00051
00052
00053 class Opz3dDlg : public wxDialog
00054 {
00055 public:
00056 TLista3D *listaFunzioni;
00057 Opz3dDlg( wxWindow *parent, TLista3D *listaFunz,wxWindowID id = 1, const wxString &title = _T("Opzioni Grafico"),
00058 const wxPoint& pos = wxDefaultPosition,
00059 const wxSize& size = wxDefaultSize,
00060 long style = OPZ3DDLG_STYLE);
00061 virtual ~Opz3dDlg();
00062
00063 public:
00064
00065
00066
00067
00069 wxColourDialog *ClrDlgGrafico;
00070 wxButton *BtnAnnulla;
00071 wxButton *BtnOk;
00072 wxCheckBox *chkGriglia;
00073 wxCheckBox *chkSfuma;
00074 wxButton *BtnModifica;
00075 wxButton *BtnInserisci;
00076 wxStaticText *WxStaticText1;
00077 wxButton *BtnClrGrafico;
00078 wxStaticText *LblClrGrafico;
00079 wxStaticText *WxStaticText9;
00080 wxTextCtrl *EdtNuovaFx;
00081 wxStaticBox *WxStaticBox2;
00082 wxCheckListBox *LstFunzioni;
00083 wxButton *BtnRimuovi;
00084 wxStaticText *LblFunzione;
00085 wxPanel *WxNoteBookPage2;
00086 wxTextCtrl *EdtRisC;
00087 wxTextCtrl *EdtRisR;
00088 wxStaticText *WxStaticText5;
00089 wxStaticText *WxStaticText4;
00090 wxStaticBox *WxStaticBox3;
00091 wxStaticText *WxStaticText3;
00092 wxStaticText *WxStaticText2;
00093 wxTextCtrl *EdtZmax;
00094 wxTextCtrl *EdtZmin;
00095 wxStaticBox *WxZbox;
00096 wxStaticText *LblXMin;
00097 wxTextCtrl *EdtXMin;
00098 wxTextCtrl *EdtXMax;
00099 wxStaticText *LblXMax;
00100 wxStaticBox *WxStaticBox1;
00101 wxTextCtrl *EdtYMax;
00102 wxTextCtrl *EdtYMin;
00103 wxStaticText *LblYMax;
00104 wxStaticText *LblYMin;
00105 wxStaticBox *WxYBox;
00106 wxPanel *WxNoteBookPage1;
00107 wxNotebook *WxNotebook1;
00109
00110 private:
00111 DECLARE_EVENT_TABLE()
00112
00113 public:
00114
00115
00116
00117
00118 enum {
00120 ID_BTNANNULLA = 1467 ,
00121 ID_BTNOK = 1468 ,
00122 ID_CHKGRIGLIA = 1480 ,
00123 ID_CHKSFUMA = 1479 ,
00124 ID_BTNMODIFICA = 1413 ,
00125 ID_BTNINSERISCI = 1412 ,
00126 ID_WXSTATICTEXT1 = 1407 ,
00127 ID_BTNCLRGRAFICO = 1409 ,
00128 ID_LBLCLRGRAFICO = 1408 ,
00129
00130 ID_EDTNUOVAFX = 1402 ,
00131 ID_WXSTATICBOX2 = 1401 ,
00132 ID_LSTFUNZIONI = 1335 ,
00133 ID_BTNRIMUOVI = 1333 ,
00134 ID_LBLFUNZIONE = 1331 ,
00135 ID_WXNOTEBOOKPAGE2 = 1282 ,
00136 ID_EDTRISC = 1487 ,
00137 ID_EDTRISR = 1486 ,
00138 ID_WXSTATICTEXT5 = 1485 ,
00139 ID_WXSTATICTEXT4 = 1484 ,
00140 ID_WXSTATICBOX3 = 1483 ,
00141 ID_WXSTATICTEXT3 = 1478 ,
00142 ID_WXSTATICTEXT2 = 1477 ,
00143 ID_EDTZMAX = 1475 ,
00144 ID_EDTZMIN = 1474 ,
00145 ID_WXZBOX = 1473 ,
00146 ID_LBLXMIN = 1459 ,
00147 ID_EDTXMIN = 1458 ,
00148 ID_EDTXMAX = 1457 ,
00149 ID_LBLXMAX = 1456 ,
00150 ID_WXSTATICBOX1 = 1414 ,
00151 ID_EDTYMAX = 1372 ,
00152 ID_EDTYMIN = 1371 ,
00153 ID_WXSTATICTEXT9 = 1368 ,
00154 ID_WXSTATICTEXT8 = 1367 ,
00155 ID_WXYBOX = 1343 ,
00156 ID_WXNOTEBOOKPAGE1 = 1260 ,
00157 ID_WXNOTEBOOK1 = 1001 ,
00159 ID_DUMMY_VALUE_
00160 };
00161
00162 public:
00163 void Opz3dDlgClose(wxCloseEvent& event);
00164 void CreateGUIControls(void);
00165 void LstFunzioniEnter(wxCommandEvent& event);
00166 void BtnInserisciClick(wxCommandEvent& event);
00167 void BtnClrGraficoClick(wxCommandEvent& event);
00168 void BtnModificaClick(wxCommandEvent& event);
00169 void BtnRimuoviClick(wxCommandEvent& event);
00170 void BtnOkClick1(wxCommandEvent& event);
00171 void ChkGridClick(wxCommandEvent& event);
00172 void ChkSfumaClick(wxCommandEvent& event);
00173 void ChkListClick(wxCommandEvent& event);
00174 void BtnAnnullaClick(wxCommandEvent& event);
00175 void AggiornaList();
00176 };
00177
00178
00179 #endif
00180
00181
00182
00183