1 #ifndef __PanelBullEyeOptions_h_INCLUDED_H__
2 #define __PanelBullEyeOptions_h_INCLUDED_H__
5 // -----------------------------------------------------------------------------------------------------------
6 // WX headers inclusion.
7 // For compilers that support precompilation, includes <wx/wx.h>.
8 // -----------------------------------------------------------------------------------------------------------
10 #include <wx/wxprec.h>
21 //------------------------------------------------------------------------------------------------------------
23 //------------------------------------------------------------------------------------------------------------
24 #include "wxContourMainFrame.h"
25 #include <wx/spinctrl.h>
29 class PanelBullEyeOptions : public wxPanel {
31 PanelBullEyeOptions(wxWindow* parent, wxSize size);
32 ~PanelBullEyeOptions ();
33 void onRefreshPanel( wxCommandEvent& event );
34 int GetNumberOfCrowns();
35 int GetNumberOfSections(int nCrown);
36 int GetRadioOfCrown(int nCrown);
37 double GetAngOfCrownSection(int nCrown,int section);
38 double GetAngDeltaOfCrownSection(int nCrown);
44 wxRadioBox *_radioboxBullEyeGenOpt;
45 wxSpinCtrl *_spinctrlBullEyeNumOfCrowns;
46 wxSpinCtrl *_spinctrlBullEyeNumOfSec;
47 wxSlider *_sliderBullEyeAngle;
48 std::vector<wxSpinCtrl *> _lstBullEyeDetailNumOfSec;
49 std::vector<wxSlider *> _lstBullEyeDetailRadio;
50 std::vector<wxSlider *> _lstBullEyeDetailAngle;
59 #endif // __wxContourEventHandler_HEADER_FILE__