X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_Icons_NDimensions%2FinterfNewContourMenu.h;h=a1081971af4694c1af0b1be1467ef33680391b45;hb=498505024562b776b91e25ca30f6e9c6bbd1f963;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..a108197 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,44 @@ 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 ); + /** + ** This method is in charge of capturing the event when the button is clicked + ** RaC - Creates a new Polygon contour + **/ + void onCreateContourPolygon( wxCommandEvent& event ); }; -#endif \ No newline at end of file +#endif +