]> Creatis software - creaContours.git/blob - lib/Interface_Icons_NDimensions/interfToolsMenu.h
54b67aa8d2f788b93a118f5c81cb03fb8d9bd0c3
[creaContours.git] / lib / Interface_Icons_NDimensions / interfToolsMenu.h
1 #ifndef __interfToolsMenuH__
2 #define __interfToolsMenuH__
3
4 #include <wx/wx.h>
5 #include <wx/utils.h>
6
7
8 #include "interfMenuBar.h"
9
10 class interfToolsMenu 
11         : public interfMenuBar
12 {
13 public:
14         interfToolsMenu(wxWindow * parent, int sizex, int sizey,wxEvtHandler* evtHandler, std::string datdir = "data/Icons");           
15         ~interfToolsMenu();
16
17     virtual void initButtons(wxEvtHandler* evtHandler) ;
18
19         /**
20         **      Responds to the events of the buttons, when the same panel is responsible for it. It gets the name
21         **      of the button corresponding to the method that has to be executed,
22         **      it uses attribute eventHandler to call the methods define by the application.
23         **      see setEventHandler(wxEventHandler*)
24         **/
25         void onRigidPressed(wxCommandEvent& event);
26         void onSpreadPressed(wxCommandEvent& event);
27         void onMirrorPressed(wxCommandEvent& event);
28         void onPrintLabel(wxCommandEvent& event);
29
30 private:
31
32 /*EED Borrame
33         //wxContourEventHandler* contourevent;
34         wxPanel* configPanel;
35         wxPanel* segmentPanel;
36         wxPanel* spreadPanel;
37         wxPanel* segmentPanelITK;
38         bool axisshown;
39 */
40         
41         
42 };
43
44 #endif
45  
46