00001 // -*- c-basic-offset: 4 -*- 00024 #ifndef _PREFERENCESDIALOG_H 00025 #define _PREFERENCESDIALOG_H 00026 00027 #include "panoinc.h" 00028 #include "panoinc_WX.h" 00029 00030 #include "icpfind/CPDetectorConfig.h" 00031 00038 class PreferencesDialog : public wxDialog 00039 { 00040 public: 00041 00044 PreferencesDialog(wxWindow *parent); 00045 00048 virtual ~PreferencesDialog(); 00049 00053 void UpdateDisplayData(int panel); 00054 00056 void UpdateConfigData(); 00057 00058 protected: 00059 void OnOk(wxCommandEvent & e); 00060 void OnHelp(wxCommandEvent & e); 00061 void OnCancel(wxCommandEvent & e); 00062 void OnRotationCheckBox(wxCommandEvent & e); 00063 void OnEnblendExe(wxCommandEvent & e); 00064 void OnEnfuseExe(wxCommandEvent & e); 00065 void OnRestoreDefaults(wxCommandEvent & e); 00066 void OnCustomEnblend(wxCommandEvent & e); 00067 void OnCustomEnfuse(wxCommandEvent & e); 00068 void OnCPDetectorAdd(wxCommandEvent & e); 00069 void OnCPDetectorEdit(wxCommandEvent & e); 00070 void OnCPDetectorDelete(wxCommandEvent & e); 00071 void OnCPDetectorMoveUp(wxCommandEvent & e); 00072 void OnCPDetectorMoveDown(wxCommandEvent & e); 00073 void OnCPDetectorDefault(wxCommandEvent & e); 00074 void OnCPDetectorListDblClick(wxCommandEvent & e); 00076 void OnCPDetectorLoad(wxCommandEvent & e); 00078 void OnCPDetectorSave(wxCommandEvent & e); 00080 void OnFileFormatChanged(wxCommandEvent & e); 00082 void OnProcessorChanged(wxCommandEvent & e); 00084 void OnUpdateProjectFilename(wxCommandEvent & e); 00086 void OnUpdateOutputFilename(wxCommandEvent & e); 00087 00088 void EnableRotationCtrls(bool enable); 00089 00090 private: 00091 void UpdateFileFormatControls(); 00092 void UpdateProcessorControls(); 00093 wxListBox* m_CPDetectorList; 00094 CPDetectorConfig cpdetector_config_edit; 00095 00096 DECLARE_EVENT_TABLE() 00097 }; 00098 00099 00100 00101 #endif // _PREFERENCESDIALOG_H
1.3.9.1