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,
56 IDCO_ENCDATAQUALITY_CHECKBOX,
70 void OnClose(wxCloseEvent &event);
71 void OnOptionChange(wxCommandEvent &event);
73 void RefreshControlValues(
void);
74 void UpdateCanvasOptions(
void);
75 void OnEraseBackground(wxEraseEvent &event);
76 void SetENCAvailable(
bool avail);
81 wxScrolledWindow *m_sWindow;
83 wxCheckBox *pShowStatusBar, *pShowMenuBar, *pShowChartBar, *pShowCompassWin;
84 wxCheckBox *pPrintShowIcon, *pCDOOutlines, *pSDepthUnits, *pSDisplayGrid;
85 wxCheckBox *pAutoAnchorMark, *pCDOQuilting, *pCBRaster, *pCBVector;
86 wxCheckBox *pCBCM93, *pCBLookAhead, *pSkewComp, *pOpenGL, *pSmoothPanZoom;
87 wxCheckBox *pFullScreenQuilt, *pMobile, *pResponsive, *pOverzoomEmphasis;
88 wxCheckBox *pOZScaleVector, *pToolbarAutoHideCB, *pInlandEcdis;
89 wxTextCtrl *pCOGUPUpdateSecs, *m_pText_OSCOG_Predictor, *pScreenMM;
90 wxTextCtrl *pToolbarHideSecs, *m_pText_OSHDT_Predictor;
91 wxChoice *m_pShipIconType, *m_pcTCDatasets;
92 wxSlider *m_pSlider_Zoom, *m_pSlider_GUI_Factor, *m_pSlider_Chart_Factor,
93 *m_pSlider_Ship_Factor;
94 wxSlider *m_pSlider_Zoom_Vector;
95 wxRadioButton *pCBCourseUp, *pCBNorthUp, *pCBHeadUp, *pRBSizeAuto,
97 wxCheckBox *pEnableZoomToCursor, *pPreserveScale;
99 wxCheckBox *pCDOTides, *pCDOCurrents;
100 wxCheckBox *pCDOENCText, *pCBToolbar;
101 wxChoice *m_pDispCat;
102 wxCheckBox *pCBENCDepth, *pCBENCLightDesc, *pCBENCBuoyLabels, *pCBENCLights,
103 *pCBENCAnchorDetails;
104 wxCheckBox *pCBShowAIS, *pCBAttenAIS, *pCBENCVisibleSectors, *pCBENCDataQuality;
106 DECLARE_EVENT_TABLE()