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);
26 void onSpreadPressed(wxCommandEvent& event);
27 void onMirrorPressed(wxCommandEvent& event);
28 void onPrintLabel(wxCommandEvent& event);
33 //wxContourEventHandler* contourevent;
35 wxPanel* segmentPanel;
37 wxPanel* segmentPanelITK;