X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_Icons_NDimensions%2FinterfNewContourMenu.h;h=a1081971af4694c1af0b1be1467ef33680391b45;hb=ffd5933600d8bad1de6ee62c305cc26a046166dd;hp=fb74e771d679f1bf82b07176e221557182c4b17b;hpb=570ca9b0fbbcf41df223486c05eab3f4166fc3d3;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfNewContourMenu.h b/lib/Interface_Icons_NDimensions/interfNewContourMenu.h index fb74e77..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,16 +18,42 @@ 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 ); };