]> Creatis software - creaContours.git/blobdiff - lib/Interface_Icons_NDimensions/interfNewContourMenu.h
Version with out wxEventHandler
[creaContours.git] / lib / Interface_Icons_NDimensions / interfNewContourMenu.h
index fb74e771d679f1bf82b07176e221557182c4b17b..bf2ec97a9a8a875a3c88b83b64e6982a3b377130 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,29 @@ 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 );
 };
 
 #endif