1 2 /////////////////////////////////////////////////////////// 3 // // 4 // SAGA // 5 // // 6 // System for Automated Geoscientific Analyses // 7 // // 8 // User Interface // 9 // // 10 // Program: SAGA // 11 // // 12 //-------------------------------------------------------// 13 // // 14 // DLG_Parameters.h // 15 // // 16 // Copyright (C) 2005 by Olaf Conrad // 17 // // 18 //-------------------------------------------------------// 19 // // 20 // This file is part of 'SAGA - System for Automated // 21 // Geoscientific Analyses'. SAGA is free software; you // 22 // can redistribute it and/or modify it under the terms // 23 // of the GNU General Public License as published by the // 24 // Free Software Foundation, either version 2 of the // 25 // License, or (at your option) any later version. // 26 // // 27 // SAGA is distributed in the hope that it will be // 28 // useful, but WITHOUT ANY WARRANTY; without even the // 29 // implied warranty of MERCHANTABILITY or FITNESS FOR A // 30 // PARTICULAR PURPOSE. See the GNU General Public // 31 // License for more details. // 32 // // 33 // You should have received a copy of the GNU General // 34 // Public License along with this program; if not, see // 35 // <http://www.gnu.org/licenses/>. // 36 // // 37 //-------------------------------------------------------// 38 // // 39 // contact: Olaf Conrad // 40 // Institute of Geography // 41 // University of Hamburg // 42 // Germany // 43 // // 44 // e-mail: oconrad@saga-gis.org // 45 // // 46 /////////////////////////////////////////////////////////// 47 48 //--------------------------------------------------------- 49 #ifndef _HEADER_INCLUDED__SAGA_GUI__DLG_Parameters_H 50 #define _HEADER_INCLUDED__SAGA_GUI__DLG_Parameters_H 51 52 53 /////////////////////////////////////////////////////////// 54 // // 55 // // 56 // // 57 /////////////////////////////////////////////////////////// 58 59 //--------------------------------------------------------- 60 #include "dlg_base.h" 61 62 63 /////////////////////////////////////////////////////////// 64 // // 65 // // 66 // // 67 /////////////////////////////////////////////////////////// 68 69 //--------------------------------------------------------- 70 class CDLG_Parameters : public CDLG_Base 71 { 72 DECLARE_CLASS(CDLG_Parameters) 73 74 public: 75 CDLG_Parameters(class CSG_Parameters *pParameters, const wxString &Caption = "", const wxString &Info = ""); 76 virtual ~CDLG_Parameters(void); 77 78 static bool m_bInfo; 79 80 81 void Show_Info (bool bShow = true); 82 83 84 protected: 85 86 virtual void Save_Changes (void); 87 88 virtual void Set_Position (wxRect r); 89 90 91 private: 92 93 class CSG_Parameters *m_pParameters; 94 95 class CParameters_Control *m_pControl; 96 97 class CActive_Description *m_pInfo; 98 99 class wxButton *m_pInfo_Button; 100 101 102 void On_Ok (wxCommandEvent &event); 103 void On_Load (wxCommandEvent &event); 104 void On_Save (wxCommandEvent &event); 105 void On_Defaults (wxCommandEvent &event); 106 void On_Info (wxCommandEvent &event); 107 108 109 DECLARE_EVENT_TABLE() 110 }; 111 112 113 /////////////////////////////////////////////////////////// 114 // // 115 // // 116 // // 117 /////////////////////////////////////////////////////////// 118 119 //--------------------------------------------------------- 120 #endif // #ifndef _HEADER_INCLUDED__SAGA_GUI__DLG_Parameters_H 121