]> Creatis software - creaContours.git/blob - lib/Interface_Icons_NDimensions/interfNewContourMenu.h
Changes with manualBaseModel. It improves the functionality with the new
[creaContours.git] / lib / Interface_Icons_NDimensions / interfNewContourMenu.h
1 #ifndef __interfNEWCONTOURMENUH__
2 #define __interfNEWCONTOURMENUH__
3
4 #include <wx/wx.h>
5 #include "interfMenuBar.h"
6 #include "interfMainPanel.h"
7
8 #include "PanelBullEyeOptions.h"
9 //#include <wxContourEventHandler.h>
10
11 class interfNewContourMenu 
12         : public interfMenuBar
13 {
14 public:
15         interfNewContourMenu(wxWindow * parent, int sizex, int sizey, wxEvtHandler* evtHandler, std::string datadir = "data/Icons");            
16         ~interfNewContourMenu();
17
18     
19     virtual void initButtons(wxEvtHandler* evtHandler) ;
20
21         
22
23 private:
24         //wxContourEventHandler* eventHandler;
25         wxPanel* panBull;
26         bool created;
27         
28         /**
29         **      This method is in charge of capturing the event when the button is clicked
30         **/
31         void onCreateContourBullseye(wxCommandEvent& event);
32         /**
33         **      This method is in charge of capturing the event when the button is clicked
34         **/
35         void onCreateContourSpline( wxCommandEvent& event );
36         /**
37         **      This method is in charge of capturing the event when the button is clicked
38         **/
39         void onCreateContourRectangle( wxCommandEvent& event );
40         /**
41         **      This method is in charge of capturing the event when the button is clicked
42         **/
43         void onCreateContourCircle( wxCommandEvent& event );
44         /**
45         **      This method is in charge of capturing the event when the button is clicked
46         **/
47         void onCreateContourLine( wxCommandEvent& event );
48         
49         /**
50         **      This method is in charge of capturing the event when the button is clicked
51         **/
52         void onCreateContourPoints( wxCommandEvent& event );
53         
54 };
55
56 #endif
57