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

Implement options.h – Options dialog. More...

#include <chrono>
#include <iterator>
#include <list>
#include <map>
#include <memory>
#include <sstream>
#include <wx/wxprec.h>
#include <wx/wx.h>
#include <wx/choice.h>
#include <wx/clrpicker.h>
#include <wx/dirdlg.h>
#include <wx/dir.h>
#include <wx/display.h>
#include <wx/fontdata.h>
#include <wx/fontdlg.h>
#include <wx/imaglist.h>
#include <wx/listbox.h>
#include <wx/mediactrl.h>
#include <wx/odcombo.h>
#include <wx/progdlg.h>
#include <wx/radiobox.h>
#include <wx/regex.h>
#include <wx/renderer.h>
#include <wx/statline.h>
#include <wx/stdpaths.h>
#include <wx/textwrapper.h>
#include <wx/tokenzr.h>
#include "config.h"
#include "model/ais_decoder.h"
#include "model/ais_state_vars.h"
#include "model/ais_target_data.h"
#include "model/cmdline.h"
#include "model/comm_drv_factory.h"
#include "model/comm_util.h"
#include "model/config_vars.h"
#include "model/gui_vars.h"
#include "model/idents.h"
#include "model/multiplexer.h"
#include "model/navutil_base.h"
#include "model/own_ship.h"
#include "model/routeman.h"
#include "model/ser_ports.h"
#include "ais.h"
#include "chart_ctx_factory.h"
#include "chartdbs.h"
#include "chcanv.h"
#include "cm93.h"
#include "config_mgr.h"
#include "conn_params_panel.h"
#include "connections_dlg.h"
#include "dychart.h"
#include "font_mgr.h"
#include "mark_info.h"
#include "navutil.h"
#include "observable_evtvar.h"
#include "observable_globvar.h"
#include "ocpn_frame.h"
#include "ocpn_platform.h"
#include "OCPN_Sound.h"
#include "options.h"
#include "s52plib.h"
#include "s52utils.h"
#include "SoundFactory.h"
#include "styles.h"
#include "model/svg_utils.h"
#include "SystemCmdSound.h"
#include "usb_devices.h"
#include "waypointman_gui.h"

Go to the source code of this file.

Classes

class  ChartDirPanelHardBreakWrapper
 
class  OCPNChartDirPanel
 
class  OCPNCheckedListCtrl
 
class  OCPNFatCombo
 
struct  DistanceFormatMapping
 
class  OCPNSoundPanel
 
class  MouseZoomSlider
 

Macros

#define SLIDER_STYLE   wxSL_HORIZONTAL | wxSL_AUTOTICKS | wxSL_LABELS
 
#define ID_CHOICE_NMEA   wxID_HIGHEST + 1
 
#define ID_SELECTSOUND   9341
 
#define ID_TESTSOUND   9342
 

Typedefs

using CBList = std::list< wxCheckBox * >
 

Enumerations

enum  { ID_BUTTON_REBUILD , ID_BUTTON_CLEAR }
 

Functions

void appendOSDirSlash (wxString *pString)
 
 EVT_LIST_ITEM_RIGHT_CLICK (ID_MMSI_PROPS_LIST, MMSIListCtrl::OnListItemRightClick) MMSIListCtrl
 
 EVT_NOTEBOOK_PAGE_CHANGED (wxID_ANY, ChartGroupsUI::OnGroupPageChange) ChartGroupsUI
 

Variables

optionsg_options
 Global instance.
 
optionsg_pOptions
 
arrayofCanvasPtr g_canvasArray
 
ArrayOfMmsiProperties g_MMSI_Props_Array
 Global instance.
 

Detailed Description

Implement options.h – Options dialog.

Definition in file options.cpp.

Macro Definition Documentation

◆ ID_CHOICE_NMEA

#define ID_CHOICE_NMEA   wxID_HIGHEST + 1

Definition at line 175 of file options.cpp.

◆ ID_SELECTSOUND

#define ID_SELECTSOUND   9341

Definition at line 4843 of file options.cpp.

◆ ID_TESTSOUND

#define ID_TESTSOUND   9342

Definition at line 4844 of file options.cpp.

◆ SLIDER_STYLE

#define SLIDER_STYLE   wxSL_HORIZONTAL | wxSL_AUTOTICKS | wxSL_LABELS

Definition at line 172 of file options.cpp.

Typedef Documentation

◆ CBList

using CBList = std::list<wxCheckBox*>

Definition at line 177 of file options.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Definition at line 9391 of file options.cpp.

Function Documentation

◆ appendOSDirSlash()

void appendOSDirSlash ( wxString *  pString)

Definition at line 483 of file base_platform.cpp.

◆ EVT_LIST_ITEM_RIGHT_CLICK()

EVT_LIST_ITEM_RIGHT_CLICK ( ID_MMSI_PROPS_LIST  ,
MMSIListCtrl::OnListItemRightClick   
)

Definition at line 1029 of file options.cpp.

◆ EVT_NOTEBOOK_PAGE_CHANGED()

EVT_NOTEBOOK_PAGE_CHANGED ( wxID_ANY  ,
ChartGroupsUI::OnGroupPageChange   
)

Definition at line 8911 of file options.cpp.

Variable Documentation

◆ g_canvasArray

arrayofCanvasPtr g_canvasArray
extern

Definition at line 162 of file ocpn_frame.cpp.

◆ g_MMSI_Props_Array

ArrayOfMmsiProperties g_MMSI_Props_Array
extern

Global instance.

Definition at line 4373 of file ais_decoder.cpp.

◆ g_options

options* g_options

Global instance.

Definition at line 179 of file options.cpp.

◆ g_pOptions

options* g_pOptions

Definition at line 180 of file options.cpp.