initButtons(this);
}
-void interfImageToolsMenu::initButtons(wxEvtHandler* evtHandler) {
-
+void interfImageToolsMenu::initButtons(wxEvtHandler* evtHandler)
+{
std::vector<std::string> path, nom;
std::vector<wxObjectEventFunction> funct;
-/*EED Borrame
- path.push_back(datadir + "/Segmentation.png");
- nom.push_back("Find shapes by automatic segmentation");
- funct.push_back((wxObjectEventFunction) &interfSegmentationMenu:: onSegmentationPressed);
-
- path.push_back(datadir + "/ITK.png");
- nom.push_back("Find shapes by automatic segmentation with ITK");
- funct.push_back((wxObjectEventFunction) &interfSegmentationMenu:: onSegmentationPressedITK);
-
- path.push_back(datadir + "/snake.png");
- nom.push_back("Find shapes using border snake interaction");
- funct.push_back((wxObjectEventFunction) &interfSegmentationMenu:: onSnakePressed);
-*/
path.push_back(datadir + "/pignon.png");
nom.push_back("Configuration of the window");
funct.push_back((wxObjectEventFunction) &interfImageToolsMenu:: onConfigurationPressed);
nom.push_back("Show help page with information about the tools");
funct.push_back((wxObjectEventFunction) &interfImageToolsMenu:: onHelpPressed);
-
this->addButtons(path, nom);
this->setVectorFunction(funct);
-
this->connectEvents(evtHandler);
-
-
}
interfImageToolsMenu::~interfImageToolsMenu()