OpenCPN Partial API docs
Loading...
Searching...
No Matches
ocpn_frame.h File Reference

OpenCPN top window. More...

#include <wx/print.h>
#include <wx/power.h>
#include <wx/artprov.h>
#include <wx/socket.h>
#include <wx/html/htmlwin.h>
#include <wx/aui/aui.h>
#include <wx/aui/dockart.h>
#include <memory>
#include "ocpn_plugin.h"
#include "model/ais_target_data.h"
#include "model/gui.h"
#include "model/ocpn_types.h"
#include "model/track.h"
#include "model/comm_appmsg_bus.h"
#include "model/rest_server.h"
#include "bbox.h"
#include "canvas_menu.h"
#include "chartbase.h"
#include "chartdbs.h"
#include "chcanv.h"
#include "color_handler.h"
#include "connections_dlg.h"
#include "data_monitor.h"
#include "displays.h"
#include "gui_lib.h"
#include "load_errors_dlg.h"
#include "observable_evtvar.h"
#include "options.h"
#include "pluginmanager.h"
#include "s52_plib_utils.h"
#include "s52s57.h"
#include "s57registrar_mgr.h"
#include "senc_manager.h"
#include "toolbar.h"
#include "top_frame.h"
#include "undo_defs.h"

Go to the source code of this file.

Classes

class  MyFrame
 Main application frame. More...
 

Macros

#define TIMER_GFRAME_1   999
 
#define ID_CMD_APPLY_SETTINGS   300
 
#define ID_CMD_NULL_REFRESH   301
 
#define ID_CMD_TRIGGER_RESIZE   302
 
#define ID_CMD_SETVP   303
 
#define ID_CMD_POST_JSON_TO_PLUGINS   304
 
#define ID_CMD_SOUND_FINISHED   306
 

Typedefs

using OpenFileFunc = std::function< bool(const std::string &path)>
 

Functions

bool ShowNavWarning ()
 
void ApplyLocale (void)
 

Variables

MyFramegFrame
 Global instance.
 

Detailed Description

OpenCPN top window.

Definition in file ocpn_frame.h.

Macro Definition Documentation

◆ ID_CMD_APPLY_SETTINGS

#define ID_CMD_APPLY_SETTINGS   300

Definition at line 81 of file ocpn_frame.h.

◆ ID_CMD_NULL_REFRESH

#define ID_CMD_NULL_REFRESH   301

Definition at line 82 of file ocpn_frame.h.

◆ ID_CMD_POST_JSON_TO_PLUGINS

#define ID_CMD_POST_JSON_TO_PLUGINS   304

Definition at line 85 of file ocpn_frame.h.

◆ ID_CMD_SETVP

#define ID_CMD_SETVP   303

Definition at line 84 of file ocpn_frame.h.

◆ ID_CMD_SOUND_FINISHED

#define ID_CMD_SOUND_FINISHED   306

Definition at line 86 of file ocpn_frame.h.

◆ ID_CMD_TRIGGER_RESIZE

#define ID_CMD_TRIGGER_RESIZE   302

Definition at line 83 of file ocpn_frame.h.

◆ TIMER_GFRAME_1

#define TIMER_GFRAME_1   999

Definition at line 75 of file ocpn_frame.h.

Typedef Documentation

◆ OpenFileFunc

using OpenFileFunc = std::function<bool(const std::string& path)>

Definition at line 89 of file ocpn_frame.h.

Function Documentation

◆ ApplyLocale()

void ApplyLocale ( void  )

Definition at line 7195 of file ocpn_frame.cpp.

◆ ShowNavWarning()

bool ShowNavWarning ( )

Definition at line 363 of file ocpn_app.cpp.

Variable Documentation

◆ gFrame

MyFrame* gFrame
extern

Global instance.

Definition at line 170 of file ocpn_frame.cpp.