X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src2%2FcreaImageIOWxGimmickTools.h;h=31ba5e0b3aad2359c5c701fdcd6157a6a7b80bf3;hb=e88bcb692a9d4bcc2ce1618a27d4fcb275a32a70;hp=0cc976a06c28e4010881a15a2982617730c30a2d;hpb=152f8d6556de5c935404953ad95e392ae148374d;p=creaImageIO.git diff --git a/src2/creaImageIOWxGimmickTools.h b/src2/creaImageIOWxGimmickTools.h index 0cc976a..31ba5e0 100644 --- a/src2/creaImageIOWxGimmickTools.h +++ b/src2/creaImageIOWxGimmickTools.h @@ -17,30 +17,33 @@ 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; + wxCheckBox * _addCheckBox; - void onThresholdChange(wxCommandEvent& event); + wxTextCtrl * _inputPath; - void onThresholdGo(wxCommandEvent& event); - - void onThresholdRemove(wxCommandEvent& event); + wxTextCtrl * _outputPath; + + wxString _currentDir; + + bool _addFiles; - void onThresholdInterpolation(wxCommandEvent& event); + void onInputDir(wxCommandEvent& event); - void onChangeOpacity(wxScrollEvent& event); + void onOutputDir(wxCommandEvent& event); - DECLARE_EVENT_TABLE() + void onAddToDatabase(wxCommandEvent& event); };