OpenCPN Partial API docs
Loading...
Searching...
No Matches
gui_vars.h
Go to the documentation of this file.
1/**************************************************************************
2 * Copyright (C) 2022 Alec Leamas *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program; if not, write to the *
16 * Free Software Foundation, Inc., *
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
18 ***************************************************************************/
19
25#ifndef GUI_VARS_H__
26#define GUI_VARS_H__
27
28#include <wx/colour.h>
29#include <wx/string.h>
30
31extern bool AnchorAlertOn1;
32extern bool AnchorAlertOn2;
33extern bool bDBUpdateInProgress;
34extern bool g_bAdvanceRouteWaypointOnArrivalOnly;
35extern bool g_b_assume_azerty;
36extern bool g_bChartBarEx;
37extern bool g_bDeferredInitDone;
38extern bool g_bhide_context_menus;
39extern bool g_bhide_depth_units;
40extern bool g_bhide_overzoom_flag;
41extern bool g_b_legacy_input_filter_behaviour;
42extern bool g_bNavAidRadarRingsShown;
43extern bool g_bopengl;
44extern bool g_b_overzoom_x;
45extern bool g_bquiting;
46extern bool g_bTempShowMenuBar;
47extern bool g_btenhertz;
48extern bool g_CanvasHideNotificationIcon;
49extern bool g_FlushNavobjChanges;
50extern bool g_FlushNavobjChanges;
51extern bool g_PrintingInProgress;
52
53extern int g_click_stop;
54extern int g_sticky_chart;
55
56extern double AnchorPointMinDist;
57extern double g_androidDPmm;
58extern double g_ChartNotRenderScaleFactor;
59extern double gCog_gt;
60extern double g_defaultBoatSpeedUserUnit;
61extern double g_scaler;
62extern double vLat;
63extern double vLon;
65extern float g_compass_scalefactor;
66extern float g_toolbar_scalefactor;
67
68extern wxColour g_colourOwnshipRangeRingsColour;
69extern wxColour g_colourTrackLineColour;
70
71extern wxDateTime gTimeSource;
72
73extern wxString g_SENCPrefix;
74
75#endif // GUI_VARS_H__
double vLat
Virtual lat from chcanv popup.
Definition gui_vars.cpp:55
double vLon
Virtual lon from chcanv popup.
Definition gui_vars.cpp:56
bool g_b_overzoom_x
Allow high overzoom.
Definition gui_vars.cpp:42
double g_androidDPmm
Only used used by ANDROID
Definition gui_vars.cpp:50