]> Creatis software - creaContours.git/blob - lib/Interface_ManagerContour_NDimensions/wxContour_ButtonsBar.h
017c31681348082eeae928141cf13419d840c398
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContour_ButtonsBar.h
1 #ifndef __wxContour_ButtonsBar_h_INCLUDED_H__
2 #define __wxContour_ButtonsBar_h_INCLUDED_H__
3
4
5 // -----------------------------------------------------------------------------------------------------------
6 // WX headers inclusion.
7 // For compilers that support precompilation, includes <wx/wx.h>.
8 // -----------------------------------------------------------------------------------------------------------
9
10 #include <wx/wxprec.h>
11 #ifdef __BORLANDC__
12 #pragma hdrstop
13 #endif
14 #ifndef WX_PRECOMP
15 #include <wx/wx.h>
16 #endif
17
18
19
20 //------------------------------------------------------------------------------------------------------------
21 // Includes
22 //------------------------------------------------------------------------------------------------------------
23 #include <wx/event.h>
24
25 //------------------------------------------------------------------------------------------------------------
26 // Events declaration
27 //------------------------------------------------------------------------------------------------------------
28 /*BEGIN_DECLARE_EVENT_TYPES()
29         DECLARE_EVENT_TYPE( wxEVT_CONCEPT_RELEASE, -1 ) 
30 END_DECLARE_EVENT_TYPES()*/
31
32 /** file wxContour_ButtonsBar.h */
33
34 //------------------------------------------------------------------------------------------------------------
35 // Class definition
36 //------------------------------------------------------------------------------------------------------------
37 class wxContour_ButtonsBar : public /*wxToolBar {*/wxPanel {
38
39         public:
40
41         //------------------------------------------------------------------------------------------------------------
42         // Constructors & Destructors
43         //------------------------------------------------------------------------------------------------------------
44         wxContour_ButtonsBar( wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = wxTB_HORIZONTAL | wxNO_BORDER, const wxString& name = wxPanelNameStr );
45
46         ~wxContour_ButtonsBar(  );
47                         
48         //------------------------------------------------------------------------------------------------------------
49         // Methods for capturing events
50         //------------------------------------------------------------------------------------------------------------
51         
52         void onActionButtonPressed( wxCommandEvent& event);
53         
54         //------------------------------------------------------------------------------------------------------------
55         //  Methods for sending events
56         //------------------------------------------------------------------------------------------------------------
57         void sendEnvent( WXTYPE theEventType );
58
59         //------------------------------------------------------------------------------------------------------------
60         //  Attributes getters and setters
61         //------------------------------------------------------------------------------------------------------------
62         
63         void setWxEventHandler( wxEvtHandler * theEventHandler );
64         
65         //------------------------------------------------------------------------------------------------------------
66         //  Other functional methods
67         //------------------------------------------------------------------------------------------------------------
68
69 private:
70         //------------------------------------------------------------------------------------------------------------
71         //  Private methods
72         //------------------------------------------------------------------------------------------------------------
73
74         //------------------------------------------------------------------------------------------------------------
75         // Creational and initialization methods
76         //------------------------------------------------------------------------------------------------------------
77
78         //------------------------------------------------------------------------------------------------------------
79         // Attributtes
80         //------------------------------------------------------------------------------------------------------------
81         
82         wxEvtHandler * _eventHandler;
83         
84         wxButton * _createContour_Button;
85         wxButton * _delete_Button;
86         wxButton * _hideContour_Button;
87         wxButton * _show_Button;
88         wxButton * _copy_Button;
89         wxButton * _paste_Button;
90         wxButton * _change_Button;
91         wxButton * _spread_Button;
92         wxButton * _select_Button;
93         wxButton * _edit_Button;
94         wxButton * _undo_Button;
95         wxButton * _redo_Button;        
96         wxButton * _save_Button;
97         wxButton * _open_Button;        
98         wxButton * _automatiqueSegmentation_Button;
99         wxButton * _informationContour_Button;
100         wxButton * _interfaceConfiguration_Button;
101         wxButton * _interfaceTest_Button;
102 };
103
104 #endif // __wxContour_ButtonsBar_HEADER_FILE__