]> Creatis software - creaImageIO.git/blob - src/creaImageIOWxGimmickFrame.h
10aea302be5d997155839e9673909cfdcaa0db23
[creaImageIO.git] / src / creaImageIOWxGimmickFrame.h
1 #ifndef __creaImageIOWxGimmickFrame_h_INCLUDED__
2 #define __creaImageIOWxGimmickFrame_h_INCLUDED__
3
4 #ifdef USE_WXWIDGETS
5
6 #include <creaImageIOWxGimmickView.h>
7 #include <creaWx.h>
8
9 namespace creaImageIO
10 {
11   /**
12    * \ingroup GUI
13    */
14  //=====================================================================
15  //=====================================================================
16   class CREAIMAGEIO_EXPORT WxGimmickFrame : public wxFrame
17   {
18   public:
19     WxGimmickFrame();    
20     WxGimmickFrame(wxWindow *parent, 
21                    const wxWindowID id,
22                    wxString title,
23                    const wxPoint& pos, 
24                    const wxSize& size,
25                    int threads = 0);
26     
27     ~WxGimmickFrame();
28
29     //    Gimmick* GetGimmick() { return mGimmick; }
30     //    typedef WxGimmick ViewType;
31     //    typedef WxGimmickView::EventType EventType;
32
33
34
35      
36     //    void OnSelChanged(EventType& event);
37     //    void OnContextualMenu(EventType& event);
38     //    void OnMenuTest(wxCommandEvent& event);
39     //    void OnButtonOk(wxCommandEvent& event);
40     //    void OnButtonCancel(wxCommandEvent& event);
41
42     //    DECLARE_EVENT_TABLE();
43   private :
44     
45           boost::shared_ptr<Gimmick>       mGimmick;
46     WxGimmickView* mView;
47
48   }; // class WxGimmickFrame
49   //=====================================================================
50
51   
52 } // EO namespace creaImageIO
53
54
55 #endif // USE_WIDGETS
56 // EOF
57 #endif