X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_Icons_NDimensions%2FinterfNewContourMenu.h;h=bf2ec97a9a8a875a3c88b83b64e6982a3b377130;hb=5757258860acae97fa0f3449ef1354c87052d213;hp=2806bc33ccdaf8c691ea3672269dd915a858b302;hpb=192dfdf774a06066eff90e9c50916723c8592706;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfNewContourMenu.h b/lib/Interface_Icons_NDimensions/interfNewContourMenu.h index 2806bc3..bf2ec97 100644 --- a/lib/Interface_Icons_NDimensions/interfNewContourMenu.h +++ b/lib/Interface_Icons_NDimensions/interfNewContourMenu.h @@ -5,7 +5,8 @@ #include "interfMenuBar.h" #include "interfMainPanel.h" -#include +#include "PanelBullEyeOptions.h" +//#include class interfNewContourMenu : public interfMenuBar @@ -17,17 +18,30 @@ 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 \ No newline at end of file +#endif +