OpenCPN Partial API docs
Loading...
Searching...
No Matches
gui_vars.cpp
Go to the documentation of this file.
1/**************************************************************************
2 * Copyright (C) 2021 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#include <wx/colour.h>
26#include <wx/datetime.h>
27
28#include "model/gui_vars.h"
29
30bool AnchorAlertOn1 = false;
31bool AnchorAlertOn2 = false;
32bool bDBUpdateInProgress = false;
33bool g_bAdvanceRouteWaypointOnArrivalOnly = false;
34bool g_b_assume_azerty = false;
35bool g_bChartBarEx = false;
36bool g_bDeferredInitDone = false;
37bool g_bhide_context_menus = false;
38bool g_bhide_depth_units = false;
39bool g_bhide_overzoom_flag = false;
40bool g_b_legacy_input_filter_behaviour = false;
41bool g_bNavAidRadarRingsShown = false;
42bool g_b_overzoom_x = true;
43bool g_bquiting = false;
44bool g_bTempShowMenuBar = false;
45bool g_CanvasHideNotificationIcon = false;
46bool g_FlushNavobjChanges = false;
47bool g_PrintingInProgress = false;
48
49double AnchorPointMinDist;
50double g_androidDPmm = 0.0;
51double g_ChartNotRenderScaleFactor = 1.0;
52double gCog_gt = 0;
53double g_defaultBoatSpeedUserUnit = 0;
54double g_scaler = 0;
55double vLat = 0;
56double vLon = 0;
57
58float g_compass_scalefactor = 0;
59float g_toolbar_scalefactor = 0;
60
61int g_click_stop = 0;
62int g_sticky_chart = 0;
63
64wxDateTime gTimeSource;
65
66wxColour g_colourOwnshipRangeRingsColour;
67wxColour g_colourTrackLineColour;
68
69wxString g_SENCPrefix;
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
Miscellaneous globals primarely used by gui layer.