X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOWxGimmickTools.h;h=d4ec04d46862fdecfe3c36a760a7d215976f2256;hb=e4a54c9026a2a0c17e3be0b5915c34688a9385ad;hp=0cc976a06c28e4010881a15a2982617730c30a2d;hpb=152f8d6556de5c935404953ad95e392ae148374d;p=creaImageIO.git diff --git a/src2/creaImageIOWxGimmickTools.h b/src2/creaImageIOWxGimmickTools.h index 0cc976a..d4ec04d 100644 --- a/src2/creaImageIOWxGimmickTools.h +++ b/src2/creaImageIOWxGimmickTools.h @@ -17,30 +17,22 @@ namespace creaImageIO class WxGimmickTools : public wxPanel { public: - WxGimmickTools(wxWindow * parent); + WxGimmickTools(wxWindow *parent, wxString mCurrentDirectory); ~WxGimmickTools(); - void onThresholdStop(); - void onThresholdInstantChange(double range[]); - + wxString getInputDir(); + wxString getOutputDir(); + bool getCheckBoxValue(); + private: - - mBarRange* _mBarThreshold; - wxSlider* _opacity; - bool _thresholdGo; - wxCheckBox* _interpolationCheckBox; - - void onThresholdChange(wxCommandEvent& event); - - void onThresholdGo(wxCommandEvent& event); - - void onThresholdRemove(wxCommandEvent& event); - - void onThresholdInterpolation(wxCommandEvent& event); - - void onChangeOpacity(wxScrollEvent& event); - - DECLARE_EVENT_TABLE() + wxCheckBox * _addCheckBox; + wxTextCtrl * _inputPath; + wxTextCtrl * _outputPath; + wxString _currentDir; + bool _addFiles; + void onInputDir(wxCommandEvent& event); + void onOutputDir(wxCommandEvent& event); + void onAddToDatabase(wxCommandEvent& event); };