1 #ifndef __interfToolsMenuH__
2 #define __interfToolsMenuH__
8 #include "interfMenuBar.h"
11 : public interfMenuBar
14 interfToolsMenu(wxWindow * parent, int sizex, int sizey,wxEvtHandler* evtHandler, std::string datdir = "data/Icons");
17 virtual void initButtons(wxEvtHandler* evtHandler) ;
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*)
25 void onRigidPressed(wxCommandEvent& event);
27 void onSpreadPressed(wxCommandEvent& event);
29 void onInformationPressed(wxCommandEvent& event);
31 void onConfigurationPressed(wxCommandEvent& event);
33 void onHelpPressed(wxCommandEvent& event);
37 //wxContourEventHandler* contourevent;
39 wxPanel* segmentPanel;
41 wxPanel* segmentPanelITK;