#ifndef __creaImageIOWxGimmickTools_h_INCLUDED__ #define __creaImageIOWxGimmickTools_h_INCLUDED__ #ifdef USE_WXWIDGETS #include namespace creaImageIO { /** * \ingroup Tools */ //===================================================================== //===================================================================== class WxGimmickTools : public wxPanel { public: WxGimmickTools(wxWindow * parent); ~WxGimmickTools(); void onThresholdStop(); void onThresholdInstantChange(double range[]); 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() }; } // EO namespace creaImageIO #endif // USE_WIDGETS // EOF #endif