X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FInterface_Icons_NDimensions%2FinterfToolsMenu.cxx;h=069bb244fd93b81e6da2fcb423efa3435c77b5ef;hb=532e76344aea0ee609187d05b871ddcb755f4d35;hp=535a86ff7fc0eff02075da6cc8f98bad19b9697b;hpb=6e3c929c883c405e0075fa8df10b12a935979367;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfToolsMenu.cxx b/lib/Interface_Icons_NDimensions/interfToolsMenu.cxx index 535a86f..069bb24 100644 --- a/lib/Interface_Icons_NDimensions/interfToolsMenu.cxx +++ b/lib/Interface_Icons_NDimensions/interfToolsMenu.cxx @@ -29,16 +29,19 @@ void interfToolsMenu::initButtons(wxEvtHandler* evtHandler) { path.push_back(datadir + "/Spread1.png"); nom.push_back("Select more than one contour and find the contours between them"); funct.push_back((wxObjectEventFunction) &interfToolsMenu:: onSpreadPressed); - - path.push_back(datadir + "/info.png"); - nom.push_back("Information of the contours in the scene"); - funct.push_back((wxObjectEventFunction) &interfToolsMenu:: onInformationPressed); - path.push_back(datadir + "/pignon.png"); nom.push_back("Configuration of the window"); funct.push_back((wxObjectEventFunction) &interfToolsMenu:: onConfigurationPressed); + path.push_back(datadir + "/info.png"); + nom.push_back("Information of the contours in the scene"); + funct.push_back((wxObjectEventFunction) &interfToolsMenu:: onInformationPressed); + + path.push_back(datadir + "/Help.png"); + nom.push_back("Show help page with information about the tools"); + funct.push_back((wxObjectEventFunction) &interfToolsMenu:: onHelpPressed); + this->addButtons(path, nom); this->setVectorFunction(funct); @@ -84,3 +87,9 @@ void interfToolsMenu::onConfigurationPressed(wxCommandEvent& event){ } +void interfToolsMenu::onHelpPressed(wxCommandEvent& event){ + + wxLaunchDefaultBrowser(_T("http://www.creatis.insa-lyon.fr/creatools/node/25"), 0); + +} +