00001 #ifndef __creaImageIOWxGimmickTools_h_INCLUDED__ 00002 #define __creaImageIOWxGimmickTools_h_INCLUDED__ 00003 00004 #ifdef USE_WXWIDGETS 00005 00006 #include <creaWx.h> 00007 00008 namespace creaImageIO 00009 { 00013 //===================================================================== 00014 00015 //===================================================================== 00016 00017 class WxGimmickTools : public wxPanel 00018 { 00019 public: 00020 WxGimmickTools(wxWindow * parent, wxString mCurrentDirectory); 00021 ~WxGimmickTools(); 00022 00023 wxString getInputDir(); 00024 00025 wxString getOutputDir(); 00026 00027 bool getCheckBoxValue(); 00028 00029 00030 private: 00031 00032 wxCheckBox * _addCheckBox; 00033 00034 wxTextCtrl * _inputPath; 00035 00036 wxTextCtrl * _outputPath; 00037 00038 wxString _currentDir; 00039 00040 bool _addFiles; 00041 00042 void onInputDir(wxCommandEvent& event); 00043 00044 void onOutputDir(wxCommandEvent& event); 00045 00046 void onAddToDatabase(wxCommandEvent& event); 00047 00048 }; 00049 00050 } // EO namespace creaImageIO 00051 00052 #endif // USE_WIDGETS 00053 // EOF 00054 #endif