OpenCPN Partial API docs
Loading...
Searching...
No Matches
about.cpp File Reference

Implement about.h. More...

#include <fstream>
#include <sstream>
#include <wx/wxprec.h>
#include <wx/wx.h>
#include <wx/textfile.h>
#include <wx/ffile.h>
#include <wx/clipbrd.h>
#include <wx/html/htmlwin.h>
#include <wx/tokenzr.h>
#include <config.h>
#include "about.h"
#include "gui_lib.h"
#include "chcanv.h"
#include "styles.h"
#include "OCPNPlatform.h"
#include "FontMgr.h"
#include "navutil.h"
#include "std_filesystem.h"
#include "ocpn_frame.h"

Go to the source code of this file.

Macros

#define xID_OK   10009
 

Functions

wxString OpenCPNVersion ("\n Version ")
 

Variables

OCPNPlatformg_Platform
 
ocpnStyle::StyleManagerg_StyleManager
 
Aboutg_pAboutDlgLegacy
 
bool g_bresponsive
 Flag to control adaptive UI scaling.
 
const wxString AboutText
 
const wxString OpenCPNInfo
 
const wxString OpenCPNInfoAlt
 

Detailed Description

Implement about.h.

Definition in file about.cpp.

Macro Definition Documentation

◆ xID_OK

#define xID_OK   10009

Definition at line 61 of file about.cpp.

Variable Documentation

◆ AboutText

const wxString AboutText
Initial value:
=
"<br>OpenCPN<br>"
"(c) 2000-2024 The OpenCPN Authors<br><br>"

Definition at line 65 of file about.cpp.

◆ g_bresponsive

bool g_bresponsive
extern

Flag to control adaptive UI scaling.

When true, OpenCPN will automatically maximize the application window if the pixel density suggests a touch-friendly device.

This helps ensure better usability on mobile and tablet devices by providing a full-screen interface optimized for touch interaction.

Note
For the most part, the use of this feature is conditionally compiled for Android builds only.

Definition at line 661 of file ocpn_app.cpp.

◆ g_pAboutDlgLegacy

About* g_pAboutDlgLegacy
extern

Definition at line 577 of file ocpn_app.cpp.

◆ g_Platform

OCPNPlatform * g_Platform
extern

Definition at line 28 of file TCWin.cpp.

◆ g_StyleManager

ocpnStyle::StyleManager * g_StyleManager
extern

Definition at line 324 of file notification_manager_gui.cpp.

◆ OpenCPNInfo

const wxString OpenCPNInfo
Initial value:
=
"<br><br>"
"OpenCPN is a Free Software project, built by sailors. "
"It is freely available to download and distribute "
"without charge at opencpn.org.<br><br>"
"If you use OpenCPN, please consider contributing "
"or donating funds to the project.<br><br>"
"For more information, visit http://opencpn.org<br><br>"

Definition at line 69 of file about.cpp.

◆ OpenCPNInfoAlt

const wxString OpenCPNInfoAlt
Initial value:
=
"<br><br>"
"OpenCPN is a Free Software project, built by sailors."
"The complete source code and many other resources "
"are freely available for your download and use, "
"subject to applicable License agreements."
"<br><br>"
"For more information, visit http://opencpn.org<br><br>"

Definition at line 78 of file about.cpp.