97 int GetAPIVersionMajor();
98 int GetAPIVersionMinor();
99 int GetPlugInVersionMajor();
100 int GetPlugInVersionMinor();
102 wxString GetCommonName();
103 wxString GetShortDescription();
104 wxString GetLongDescription();
107 bool MouseEventHook(wxMouseEvent &event);
109 bool RenderOverlayMultiCanvas(wxDC &dc,
PlugIn_ViewPort *vp,
int canvasIndex);
110 void SetCursorLatLon(
double lat,
double lon);
111 void OnContextMenuItemCallback(
int id);
112 void SetPluginMessage(wxString &message_id, wxString &message_body);
114 bool RenderGLOverlayMultiCanvas(wxGLContext *pcontext,
PlugIn_ViewPort *vp,
116 void SendTimelineMessage(wxDateTime time);
117 void SetDefaults(
void);
118 int GetToolBarToolCount(
void);
119 void ShowPreferencesDialog(wxWindow *parent);
120 void OnToolbarToolCallback(
int id);
121 bool QualifyCtrlBarPosition(wxPoint position, wxSize size);
122 void MoveDialog(wxDialog *dialog, wxPoint position);
126 void SetCtrlBarXY(wxPoint p) { m_CtrlBarxy = p; }
127 void SetCursorDataXY(wxPoint p) { m_CursorDataxy = p; }
128 void SetCtrlBarSizeXY(wxSize p) { m_CtrlBar_Sizexy = p; }
129 void SetColorScheme(PI_ColorScheme cs);
130 void SetDialogFont(wxWindow *window,
135 void OnGribCtrlBarClose();
137 wxPoint GetCtrlBarXY() {
return m_CtrlBarxy; }
138 wxPoint GetCursorDataXY() {
return m_CursorDataxy; }
139 int GetTimeZone() {
return m_bTimeZone; }
140 void SetTimeZone(
int tz);
141 int GetStartOptions() {
return m_bStartOptions; }
164 bool m_DialogStyleChanged;
166 wxSize m_coreToolbarSize;
167 wxPoint m_coreToolbarPosn;
168 bool m_bZoomToCenterAtInit;
169 wxString m_local_sources_catalog;
170 double m_boat_lat, m_boat_lon;
171 double m_boat_cog, m_boat_sog;
175 bool LoadConfig(
void);
176 bool SaveConfig(
void);
182 wxFileConfig *m_pconfig;
183 wxWindow *m_parent_window;
187 int m_display_width, m_display_height;
188 int m_leftclick_tool_id;
190 wxPoint m_CtrlBarxy, m_CursorDataxy;
191 wxSize m_CtrlBar_Sizexy;
194 wxCheckBox *m_pGRIBUseHiDef;
195 wxCheckBox *m_pGRIBUseGradualColors;
200 bool m_bGRIBUseHiDef;
201 bool m_bGRIBUseGradualColors;
202 bool m_bDrawBarbedArrowHead;
208 bool m_bCopyFirstCumRec;
213 bool m_bCopyMissWaveRec;
214 int m_bLoadLastOpenFile;
216 wxString m_RequestConfig;
217 wxString m_bMailToAddresses;
218 wxString m_bMailFromAddress;
219 wxString m_ZyGribLogin;
220 wxString m_ZyGribCode;
221 double m_GUIScaleFactor;
223 double m_GribIconsScaleFactor;
225 bool m_bGRIBShowIcon;
229 wxBitmap m_panelBitmap;