#ifndef __PanelBullEyeOptions_h_INCLUDED_H__ #define __PanelBullEyeOptions_h_INCLUDED_H__ // ----------------------------------------------------------------------------------------------------------- // WX headers inclusion. // For compilers that support precompilation, includes . // ----------------------------------------------------------------------------------------------------------- #include #ifdef __BORLANDC__ #pragma hdrstop #endif #ifndef WX_PRECOMP #include #endif #include #include //------------------------------------------------------------------------------------------------------------ // Includes //------------------------------------------------------------------------------------------------------------ #include "wxContourMainFrame.h" #include class PanelBullEyeOptions : public wxPanel { public: PanelBullEyeOptions(wxWindow* parent, wxSize size); ~PanelBullEyeOptions (); void onRefreshPanel( wxCommandEvent& event ); int GetNumberOfCrowns(); int GetNumberOfSections(int nCrown); int GetRadioOfCrown(int nCrown); double GetAngOfCrownSection(int nCrown,int section); double GetAngDeltaOfCrownSection(int nCrown); protected: private: int _maxLevels; int _maxSections; wxRadioBox *_radioboxBullEyeGenOpt; wxSpinCtrl *_spinctrlBullEyeNumOfCrowns; wxSpinCtrl *_spinctrlBullEyeNumOfSec; wxSlider *_sliderBullEyeAngle; std::vector _lstBullEyeDetailNumOfSec; std::vector _lstBullEyeDetailRadio; std::vector _lstBullEyeDetailAngle; void RefreshPanel(); }; #endif // __wxContourEventHandler_HEADER_FILE__