]> Creatis software - creaImageIO.git/blob - src2/creaImageIOWxGimmickTools.h
*** empty log message ***
[creaImageIO.git] / src2 / creaImageIOWxGimmickTools.h
1 #ifndef __creaImageIOWxGimmickTools_h_INCLUDED__
2 #define __creaImageIOWxGimmickTools_h_INCLUDED__
3
4 #ifdef USE_WXWIDGETS
5
6 #include <creaWx.h>
7
8 namespace creaImageIO
9 {
10   /**
11    * \ingroup Tools
12    */
13   //=====================================================================
14   
15   //=====================================================================
16
17   class WxGimmickTools : public wxPanel
18   {
19         public:
20                 WxGimmickTools(wxWindow * parent);              
21                 ~WxGimmickTools();
22                 
23                 void onThresholdStop();
24                 void onThresholdInstantChange(double range[]);
25
26         private:
27
28                 mBarRange* _mBarThreshold;
29                 wxSlider* _opacity;
30                 bool _thresholdGo;
31                 wxCheckBox* _interpolationCheckBox;     
32
33                 void onThresholdChange(wxCommandEvent& event);
34
35                 void onThresholdGo(wxCommandEvent& event);
36
37                 void onThresholdRemove(wxCommandEvent& event);
38
39                 void onThresholdInterpolation(wxCommandEvent& event);
40
41                 void onChangeOpacity(wxScrollEvent& event);
42
43                 DECLARE_EVENT_TABLE()
44     
45         };
46   
47 } // EO namespace creaImageIO
48
49 #endif // USE_WIDGETS
50 // EOF
51 #endif