]> Creatis software - creaContours.git/blob - lib/Interface_Icons_NDimensions/interfToolsMenu.h
86a51ba8c082dc9c842d7aed9b627cd7c64fe17a
[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
27         void  onSpreadPressed(wxCommandEvent& event);
28
29         void  onInformationPressed(wxCommandEvent& event);
30
31         void  onConfigurationPressed(wxCommandEvent& event);
32
33         void onHelpPressed(wxCommandEvent& event);
34
35 private:
36
37         //wxContourEventHandler* contourevent;
38         wxPanel* configPanel;
39         wxPanel* segmentPanel;
40         wxPanel* spreadPanel;
41         wxPanel* segmentPanelITK;
42         bool axisshown;
43
44         
45         
46 };
47
48 #endif
49  
50