00001 #ifndef __interfNEWCONTOURMENUH__ 00002 #define __interfNEWCONTOURMENUH__ 00003 00004 #include <wx/wx.h> 00005 #include "interfMenuBar.h" 00006 #include "interfMainPanel.h" 00007 00008 #include "PanelBullEyeOptions.h" 00009 //#include <wxContourEventHandler.h> 00010 00011 class interfNewContourMenu 00012 : public interfMenuBar 00013 { 00014 public: 00015 interfNewContourMenu(wxWindow * parent, int sizex, int sizey, wxEvtHandler* evtHandler, std::string datadir = "data/Icons"); 00016 ~interfNewContourMenu(); 00017 00018 00019 virtual void initButtons(wxEvtHandler* evtHandler) ; 00020 00021 00022 00023 private: 00024 //wxContourEventHandler* eventHandler; 00025 wxPanel* panBull; 00026 bool created; 00027 00031 void onCreateContourBullseye(wxCommandEvent& event); 00035 void onCreateContourSpline( wxCommandEvent& event ); 00039 void onCreateContourRectangle( wxCommandEvent& event ); 00043 void onCreateContourCircle( wxCommandEvent& event ); 00047 void onCreateContourLine( wxCommandEvent& event ); 00051 void onCreateContourPoints( wxCommandEvent& event ); 00056 void onCreateContourPolygon( wxCommandEvent& event ); 00057 00058 }; 00059 00060 #endif 00061