X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_Icons_NDimensions%2FinterfToolsMenu.cxx;h=5467db7ededd5774088d475d2dde0f6fc1748d8f;hb=4d5574beaa0d2f56951b00a9fcca5dd945506e13;hp=48c4d9f4b5f2e9bc33c046967902442eb7c5155d;hpb=6dcdd6edab64450dce74ecd573bd4ebecba1bc8b;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfToolsMenu.cxx b/lib/Interface_Icons_NDimensions/interfToolsMenu.cxx index 48c4d9f..5467db7 100644 --- a/lib/Interface_Icons_NDimensions/interfToolsMenu.cxx +++ b/lib/Interface_Icons_NDimensions/interfToolsMenu.cxx @@ -43,6 +43,10 @@ void interfToolsMenu::initButtons(wxEvtHandler* evtHandler) { nom.push_back("Show help page with information about the tools"); funct.push_back((wxObjectEventFunction) &interfToolsMenu:: onHelpPressed); + path.push_back(datadir + "/Mirror.png"); + nom.push_back("Create an Axis and select a contour to mirror it accordingly"); + funct.push_back((wxObjectEventFunction) &interfToolsMenu:: onMirrorPressed); + this->addButtons(path, nom); this->setVectorFunction(funct); @@ -89,6 +93,14 @@ void interfToolsMenu::onConfigurationPressed(wxCommandEvent& event){ } void interfToolsMenu::onHelpPressed(wxCommandEvent& event){ + wxLaunchDefaultBrowser(_T("http://www.creatis.insa-lyon.fr/creatools/node/25"), 0); + +} + +void interfToolsMenu::onMirrorPressed(wxCommandEvent& event){ + + interfMainPanel::getInstance()->onMirrorPressed(); + }