]> Creatis software - creaContours.git/blobdiff - lib/Interface_Icons_NDimensions/interfNewContourMenu.h
Changes with manualBaseModel. It improves the functionality with the new
[creaContours.git] / lib / Interface_Icons_NDimensions / interfNewContourMenu.h
index 2806bc33ccdaf8c691ea3672269dd915a858b302..3584d955b8ae89834723484b9ae67328241bf663 100644 (file)
@@ -5,7 +5,8 @@
 #include "interfMenuBar.h"
 #include "interfMainPanel.h"
 
-#include <wxContourEventHandler.h>
+#include "PanelBullEyeOptions.h"
+//#include <wxContourEventHandler.h>
 
 class interfNewContourMenu 
        : public interfMenuBar
@@ -17,17 +18,40 @@ public:
     
     virtual void initButtons(wxEvtHandler* evtHandler) ;
 
-       void onCreateContourBullseye(wxEvtHandler* evtHandler);
-
        
 
 private:
-       wxContourEventHandler* eventHandler;
-       PanelBullEyeOptions* panBull;
+       //wxContourEventHandler* eventHandler;
+       wxPanel* panBull;
        bool created;
        
+       /**
+       **      This method is in charge of capturing the event when the button is clicked
+       **/
+       void onCreateContourBullseye(wxCommandEvent& event);
+       /**
+       **      This method is in charge of capturing the event when the button is clicked
+       **/
+       void onCreateContourSpline( wxCommandEvent& event );
+       /**
+       **      This method is in charge of capturing the event when the button is clicked
+       **/
+       void onCreateContourRectangle( wxCommandEvent& event );
+       /**
+       **      This method is in charge of capturing the event when the button is clicked
+       **/
+       void onCreateContourCircle( wxCommandEvent& event );
+       /**
+       **      This method is in charge of capturing the event when the button is clicked
+       **/
+       void onCreateContourLine( wxCommandEvent& event );
        
+       /**
+       **      This method is in charge of capturing the event when the button is clicked
+       **/
+       void onCreateContourPoints( wxCommandEvent& event );
        
 };
 
-#endif
\ No newline at end of file
+#endif
+