]> Creatis software - creaContours.git/blobdiff - lib/Interface_Icons_NDimensions/interfNewContourMenu.cxx
Changes with manualBaseModel. It improves the functionality with the new
[creaContours.git] / lib / Interface_Icons_NDimensions / interfNewContourMenu.cxx
index 4b56e7b2f400f39a3763f855be843f68c63fe019..35cb02bfd61a3b774ecb2a6f11092817d5007383 100644 (file)
@@ -44,6 +44,13 @@ void interfNewContourMenu::initButtons(wxEvtHandler* evtHandler) {
        funct.push_back((wxObjectEventFunction) &interfNewContourMenu::onCreateContourLine);
        hand.push_back(this);
 
+       // RaC 09-09 ---------------------
+       path.push_back(datadir + "/Points.png");
+       nom.push_back("Create Points");
+       funct.push_back((wxObjectEventFunction) &interfNewContourMenu::onCreateContourPoints);
+       hand.push_back(this);
+       // RaC 09-09 ---------------------      
+
     this->addButtons(path, nom);
 
        this->setVectorFunction(funct); 
@@ -86,3 +93,9 @@ void interfNewContourMenu::onCreateContourLine( wxCommandEvent& event ){
        interfMainPanel::getInstance()->onCreateContourLine();
 }
 
+// RaC 09-09 ---------------------
+void interfNewContourMenu::onCreateContourPoints( wxCommandEvent& event ){
+       interfMainPanel::getInstance()->onCreateContourPoints();
+}
+// RaC 09-09 ---------------------
+