27#ifndef __canvasoption_H__
28#define __canvasoption_H__
34 IDCO_SHOWDEPTHUNITSBOX1 = 31000,
35 IDCO_OUTLINECHECKBOX1,
36 IDCO_CHECK_DISPLAYGRID,
38 IDCO_SMOOTHPANZOOMBOX,
39 IDCO_PRESERVECHECKBOX,
42 IDCO_COURSEUPCHECKBOX,
45 IDCO_CURRENTS_CHECKBOX,
46 IDCO_ENCTEXT_CHECKBOX1,
49 IDCO_ENCDEPTH_CHECKBOX1,
50 IDCO_ENCBUOY_CHECKBOX1,
51 IDCO_ENCBUOYLABEL_CHECKBOX1,
52 IDCO_ENCANCHOR_CHECKBOX1,
53 IDCO_SHOW_AIS_CHECKBOX,
54 IDCO_ATTEN_AIS_CHECKBOX,
55 IDCO_ENCVISIBLESECTORS_CHECKBOX1,
69 void OnClose(wxCloseEvent &event);
70 void OnOptionChange(wxCommandEvent &event);
72 void RefreshControlValues(
void);
73 void UpdateCanvasOptions(
void);
74 void OnEraseBackground(wxEraseEvent &event);
75 void SetENCAvailable(
bool avail);
80 wxScrolledWindow *m_sWindow;
82 wxCheckBox *pShowStatusBar, *pShowMenuBar, *pShowChartBar, *pShowCompassWin;
83 wxCheckBox *pPrintShowIcon, *pCDOOutlines, *pSDepthUnits, *pSDisplayGrid;
84 wxCheckBox *pAutoAnchorMark, *pCDOQuilting, *pCBRaster, *pCBVector;
85 wxCheckBox *pCBCM93, *pCBLookAhead, *pSkewComp, *pOpenGL, *pSmoothPanZoom;
86 wxCheckBox *pFullScreenQuilt, *pMobile, *pResponsive, *pOverzoomEmphasis;
87 wxCheckBox *pOZScaleVector, *pToolbarAutoHideCB, *pInlandEcdis;
88 wxTextCtrl *pCOGUPUpdateSecs, *m_pText_OSCOG_Predictor, *pScreenMM;
89 wxTextCtrl *pToolbarHideSecs, *m_pText_OSHDT_Predictor;
90 wxChoice *m_pShipIconType, *m_pcTCDatasets;
91 wxSlider *m_pSlider_Zoom, *m_pSlider_GUI_Factor, *m_pSlider_Chart_Factor,
92 *m_pSlider_Ship_Factor;
93 wxSlider *m_pSlider_Zoom_Vector;
94 wxRadioButton *pCBCourseUp, *pCBNorthUp, *pCBHeadUp, *pRBSizeAuto,
96 wxCheckBox *pEnableZoomToCursor, *pPreserveScale;
98 wxCheckBox *pCDOTides, *pCDOCurrents;
99 wxCheckBox *pCDOENCText, *pCBToolbar;
100 wxChoice *m_pDispCat;
101 wxCheckBox *pCBENCDepth, *pCBENCLightDesc, *pCBENCBuoyLabels, *pCBENCLights,
102 *pCBENCAnchorDetails;
103 wxCheckBox *pCBShowAIS, *pCBAttenAIS, *pCBENCVisibleSectors;
105 DECLARE_EVENT_TABLE()