OpenCPN Partial API docs
Loading...
Searching...
No Matches
MyFrame Class Reference

Main application frame. More...

#include <ocpn_frame.h>

Inheritance diagram for MyFrame:

Public Member Functions

 MyFrame (const wxString &title, const wxPoint &pos, const wxSize &size, RestServer &rest_server, wxAuiDefaultDockArt *pauidockart, OpenFileFunc open_gpx_file)
 
int GetApplicationMemoryUse (void)
 
void OnEraseBackground (wxEraseEvent &event)
 
void OnMaximize (wxMaximizeEvent &event)
 
void OnCloseWindow (wxCloseEvent &event)
 
void OnExit (wxCommandEvent &event)
 
void OnSize (wxSizeEvent &event)
 
void OnMove (wxMoveEvent &event)
 
void OnInitTimer (wxTimerEvent &event)
 
void OnFrameTimer1 (wxTimerEvent &event)
 Main application timer handler called approximately once per second.
 
bool DoChartUpdate (void)
 
void OnEvtPlugInMessage (OCPN_MsgEvent &event)
 
void OnMemFootTimer (wxTimerEvent &event)
 
void OnRecaptureTimer (wxTimerEvent &event)
 
void OnSENCEvtThread (OCPN_BUILDSENC_ThreadEvent &event)
 
void OnIconize (wxIconizeEvent &event)
 
void OnBellsFinished (wxCommandEvent &event)
 
void OnFrameTenHzTimer (wxTimerEvent &event)
 High-frequency timer handler running at 10Hz for smooth navigation updates.
 
void RefreshCanvasOther (ChartCanvas *ccThis)
 
void UpdateAllFonts (void)
 
void PositionConsole (void)
 
void OnToolLeftClick (wxCommandEvent &event)
 
void DoStackUp (ChartCanvas *cc)
 
void DoStackDown (ChartCanvas *cc)
 
void selectChartDisplay (int type, int family)
 
void applySettingsString (wxString settings)
 
void setStringVP (wxString VPS)
 
void InvalidateAllGL ()
 
void RefreshAllCanvas (bool bErase=true)
 
void CancelAllMouseRoute ()
 
void InvalidateAllQuilts ()
 
void SetUpMode (ChartCanvas *cc, int mode)
 
ChartCanvasGetPrimaryCanvas ()
 
ChartCanvasGetFocusCanvas ()
 
void DoStackDelta (ChartCanvas *cc, int direction)
 
void DoSettings (void)
 
void DoSettingsNew (void)
 
void SwitchKBFocus (ChartCanvas *pCanvas)
 
ChartCanvasGetCanvasUnderMouse ()
 
int GetCanvasIndexUnderMouse ()
 
bool DropMarker (bool atOwnShip=true)
 
void TriggerRecaptureTimer ()
 
bool SetGlobalToolbarViz (bool viz)
 
void MouseEvent (wxMouseEvent &event)
 
void CenterView (ChartCanvas *cc, const LLBBox &bbox)
 
void JumpToPosition (ChartCanvas *cc, double lat, double lon, double scale)
 
void ProcessCanvasResize (void)
 
void BuildMenuBar (void)
 
void ApplyGlobalSettings (bool bnewtoolbar)
 
void RegisterGlobalMenuItems ()
 
void UpdateGlobalMenuItems ()
 
void UpdateGlobalMenuItems (ChartCanvas *cc)
 
void DoOptionsDialog ()
 
void ProcessOptionsDialog (int resultFlags, ArrayOfCDI *pNewDirArray)
 
void PrepareOptionsClose (options *settings, int settings_return_value)
 
void DoPrint (void)
 
void ToggleDataQuality (ChartCanvas *cc)
 
void TogglebFollow (ChartCanvas *cc)
 
void ToggleFullScreen ()
 
void ToggleChartBar (ChartCanvas *cc)
 
void SetbFollow (ChartCanvas *cc)
 
void ClearbFollow (ChartCanvas *cc)
 
void ToggleChartOutlines (ChartCanvas *cc)
 
void ToggleENCText (ChartCanvas *cc)
 
void ToggleSoundings (ChartCanvas *cc)
 
bool ToggleLights (ChartCanvas *cc)
 
void ToggleAnchor (ChartCanvas *cc)
 
void ToggleAISDisplay (ChartCanvas *cc)
 
void ToggleAISMinimizeTargets (ChartCanvas *cc)
 
void ToggleTestPause (void)
 
void TrackOn (void)
 
void SetENCDisplayCategory (ChartCanvas *cc, enum _DisCat nset)
 
void ToggleNavobjects (ChartCanvas *cc)
 
TrackTrackOff (bool do_add_point=false)
 
void TrackDailyRestart (void)
 
bool ShouldRestartTrack ()
 
void InitializeTrackRestart ()
 
void ToggleColorScheme ()
 
void SetMenubarItemState (int item_id, bool state)
 
void SetMasterToolbarItemState (int tool_id, bool state)
 
void SetToolbarItemBitmaps (int tool_id, wxBitmap *bitmap, wxBitmap *bmpDisabled)
 
void SetToolbarItemSVG (int tool_id, wxString normalSVGfile, wxString rolloverSVGfile, wxString toggledSVGfile)
 
void ToggleQuiltMode (ChartCanvas *cc)
 
void UpdateControlBar (ChartCanvas *cc)
 
void SubmergeAllCanvasToolbars (void)
 
void SurfaceAllCanvasToolbars (void)
 
void SetAllToolbarScale (void)
 
void SetGPSCompassScale (void)
 
void InvalidateAllCanvasUndo ()
 
void RefreshGroupIndices (void)
 
double GetBestVPScale (ChartBase *pchart)
 
DataMonitorGetDataMonitor () const
 
ColorScheme GetColorScheme ()
 
void SetAndApplyColorScheme (ColorScheme cs)
 
void OnFrameTCTimer (wxTimerEvent &event)
 
void OnFrameCOGTimer (wxTimerEvent &event)
 
void HandleBasicNavMsg (std::shared_ptr< const BasicNavDataMsg > msg)
 
void HandleGPSWatchdogMsg (std::shared_ptr< const GPSWatchdogMsg > msg)
 
void ChartsRefresh ()
 
bool CheckGroup (int igroup)
 
double GetMag (double a, double lat, double lon)
 
bool SendJSON_WMM_Var_Request (double lat, double lon, wxDateTime date)
 
void DestroyPersistentDialogs ()
 
void TouchAISActive (void)
 
void UpdateAISTool (void)
 
void ActivateAISMOBRoute (const AisTargetData *ptarget)
 
void UpdateAISMOBRoute (const AisTargetData *ptarget)
 
int GetNextToolbarToolId ()
 
void RequestNewToolbarArgEvent (wxCommandEvent &WXUNUSED(event))
 
void RequestNewToolbars (bool bforcenew=false)
 
void ActivateMOB (void)
 
void UpdateGPSCompassStatusBoxes (bool b_force_new=false)
 
void UpdateRotationState (double rotation)
 
bool UpdateChartDatabaseInplace (ArrayOfCDI &DirArray, bool b_force, bool b_prog, const wxString &ChartListFileName)
 
void FastClose ()
 
void SetChartUpdatePeriod ()
 
void CreateCanvasLayout (bool b_useStoredSize=false)
 
void LoadHarmonics ()
 
void ReloadAllVP ()
 
void SetCanvasSizes (wxSize frameSize)
 
ocpnToolBarSimpleCreateMasterToolbar ()
 
void RequestNewMasterToolbar (bool bforcenew=true)
 
bool CheckAndAddPlugInTool ()
 
bool AddDefaultPositionPlugInTools ()
 
void NotifyChildrenResize (void)
 
void UpdateCanvasConfigDescriptors ()
 
void ScheduleSettingsDialog ()
 
void ScheduleSettingsDialogNew ()
 
void ScheduleDeleteSettingsDialog ()
 
void ScheduleReconfigAndSettingsReload (bool reload, bool new_dialog)
 
void ScheduleReloadCharts ()
 
void PositionIENCToolbar ()
 
void InitAppMsgBusListener ()
 
void InitApiListeners ()
 Setup handling of events from the local ipc/dbus API.
 
void ReleaseApiListeners ()
 
void UpdateStatusBar (void)
 
void ConfigureStatusBar ()
 
void FreezeCharts ()
 
void ThawCharts ()
 

Static Public Member Functions

static void RebuildChartDatabase ()
 

Public Attributes

wxStatusBar * m_pStatusBar
 
wxMenuBar * m_pMenuBar
 
int nBlinkerTick
 
bool m_bTimeIsSet
 
wxTimer InitTimer
 
int m_iInitCount
 
bool m_initializing
 
wxTimer FrameTCTimer
 
wxTimer FrameTimer1
 
wxTimer FrameCOGTimer
 
wxTimer MemFootTimer
 
wxTimer m_resizeTimer
 
wxTimer FrameTenHzTimer
 
int m_BellsToPlay
 
wxTimer BellsTimer
 
bool m_bdefer_resize
 
wxSize m_defer_size
 
double COGTable [MAX_COG_AVERAGE_SECONDS]
 

Detailed Description

Main application frame.

Top-level window frame for OpenCPN that manages overall application state, menus, toolbars, and child windows like chart canvases.

Definition at line 142 of file ocpn_frame.h.

Constructor & Destructor Documentation

◆ MyFrame()

MyFrame::MyFrame ( const wxString &  title,
const wxPoint &  pos,
const wxSize &  size,
RestServer rest_server,
wxAuiDefaultDockArt *  pauidockart,
OpenFileFunc  open_gpx_file 
)

Definition at line 532 of file ocpn_frame.cpp.

◆ ~MyFrame()

MyFrame::~MyFrame ( )

Definition at line 728 of file ocpn_frame.cpp.

Member Function Documentation

◆ ActivateAISMOBRoute()

void MyFrame::ActivateAISMOBRoute ( const AisTargetData ptarget)

Definition at line 6541 of file ocpn_frame.cpp.

◆ ActivateMOB()

void MyFrame::ActivateMOB ( void  )

Definition at line 3036 of file ocpn_frame.cpp.

◆ AddDefaultPositionPlugInTools()

bool MyFrame::AddDefaultPositionPlugInTools ( )

Definition at line 7026 of file ocpn_frame.cpp.

◆ ApplyGlobalSettings()

void MyFrame::ApplyGlobalSettings ( bool  bnewtoolbar)

Definition at line 3505 of file ocpn_frame.cpp.

◆ applySettingsString()

void MyFrame::applySettingsString ( wxString  settings)

Definition at line 6661 of file ocpn_frame.cpp.

◆ BuildMenuBar()

void MyFrame::BuildMenuBar ( void  )

Definition at line 3528 of file ocpn_frame.cpp.

◆ CancelAllMouseRoute()

void MyFrame::CancelAllMouseRoute ( )

Definition at line 1090 of file ocpn_frame.cpp.

◆ CenterView()

void MyFrame::CenterView ( ChartCanvas cc,
const LLBBox &  bbox 
)

Definition at line 3941 of file ocpn_frame.cpp.

◆ ChartsRefresh()

void MyFrame::ChartsRefresh ( )

Definition at line 4372 of file ocpn_frame.cpp.

◆ CheckAndAddPlugInTool()

bool MyFrame::CheckAndAddPlugInTool ( )

Definition at line 6967 of file ocpn_frame.cpp.

◆ CheckGroup()

bool MyFrame::CheckGroup ( int  igroup)

Definition at line 4296 of file ocpn_frame.cpp.

◆ ClearbFollow()

void MyFrame::ClearbFollow ( ChartCanvas cc)

Definition at line 3419 of file ocpn_frame.cpp.

◆ ConfigureStatusBar()

void MyFrame::ConfigureStatusBar ( )

Definition at line 3481 of file ocpn_frame.cpp.

◆ CreateCanvasLayout()

void MyFrame::CreateCanvasLayout ( bool  b_useStoredSize = false)

Definition at line 1100 of file ocpn_frame.cpp.

◆ CreateMasterToolbar()

ocpnToolBarSimple * MyFrame::CreateMasterToolbar ( )

Definition at line 6870 of file ocpn_frame.cpp.

◆ DestroyPersistentDialogs()

void MyFrame::DestroyPersistentDialogs ( )

Definition at line 2303 of file ocpn_frame.cpp.

◆ DoChartUpdate()

bool MyFrame::DoChartUpdate ( void  )

Definition at line 6089 of file ocpn_frame.cpp.

◆ DoOptionsDialog()

void MyFrame::DoOptionsDialog ( )

Definition at line 3996 of file ocpn_frame.cpp.

◆ DoPrint()

void MyFrame::DoPrint ( void  )

Definition at line 6125 of file ocpn_frame.cpp.

◆ DoSettings()

void MyFrame::DoSettings ( void  )

Definition at line 2963 of file ocpn_frame.cpp.

◆ DoSettingsNew()

void MyFrame::DoSettingsNew ( void  )

Definition at line 2956 of file ocpn_frame.cpp.

◆ DoStackDelta()

void MyFrame::DoStackDelta ( ChartCanvas cc,
int  direction 
)

Definition at line 4540 of file ocpn_frame.cpp.

◆ DoStackDown()

void MyFrame::DoStackDown ( ChartCanvas cc)

Definition at line 4536 of file ocpn_frame.cpp.

◆ DoStackUp()

void MyFrame::DoStackUp ( ChartCanvas cc)

Definition at line 4538 of file ocpn_frame.cpp.

◆ DropMarker()

bool MyFrame::DropMarker ( bool  atOwnShip = true)

Definition at line 1393 of file ocpn_frame.cpp.

◆ FastClose()

void MyFrame::FastClose ( )

Definition at line 1481 of file ocpn_frame.cpp.

◆ FreezeCharts()

void MyFrame::FreezeCharts ( )

Definition at line 751 of file ocpn_frame.cpp.

◆ GetApplicationMemoryUse()

int MyFrame::GetApplicationMemoryUse ( void  )

Definition at line 5976 of file ocpn_frame.cpp.

◆ GetBestVPScale()

double MyFrame::GetBestVPScale ( ChartBase pchart)

Definition at line 6040 of file ocpn_frame.cpp.

◆ GetCanvasIndexUnderMouse()

int MyFrame::GetCanvasIndexUnderMouse ( )

Definition at line 1358 of file ocpn_frame.cpp.

◆ GetCanvasUnderMouse()

ChartCanvas * MyFrame::GetCanvasUnderMouse ( )

Definition at line 1323 of file ocpn_frame.cpp.

◆ GetColorScheme()

ColorScheme MyFrame::GetColorScheme ( )

Definition at line 896 of file ocpn_frame.cpp.

◆ GetDataMonitor()

DataMonitor * MyFrame::GetDataMonitor ( ) const
inline

Definition at line 294 of file ocpn_frame.h.

◆ GetFocusCanvas()

ChartCanvas * MyFrame::GetFocusCanvas ( )

Definition at line 2866 of file ocpn_frame.cpp.

◆ GetMag()

double MyFrame::GetMag ( double  a,
double  lat,
double  lon 
)

Definition at line 5823 of file ocpn_frame.cpp.

◆ GetNextToolbarToolId()

int MyFrame::GetNextToolbarToolId ( )
inline

Definition at line 338 of file ocpn_frame.h.

◆ GetPrimaryCanvas()

ChartCanvas * MyFrame::GetPrimaryCanvas ( )

Definition at line 1084 of file ocpn_frame.cpp.

◆ HandleBasicNavMsg()

void MyFrame::HandleBasicNavMsg ( std::shared_ptr< const BasicNavDataMsg msg)

Definition at line 4993 of file ocpn_frame.cpp.

◆ HandleGPSWatchdogMsg()

void MyFrame::HandleGPSWatchdogMsg ( std::shared_ptr< const GPSWatchdogMsg msg)

Definition at line 4925 of file ocpn_frame.cpp.

◆ InitApiListeners()

void MyFrame::InitApiListeners ( )

Setup handling of events from the local ipc/dbus API.

Definition at line 4912 of file ocpn_frame.cpp.

◆ InitAppMsgBusListener()

void MyFrame::InitAppMsgBusListener ( )

Definition at line 4882 of file ocpn_frame.cpp.

◆ InitializeTrackRestart()

void MyFrame::InitializeTrackRestart ( )

Definition at line 3206 of file ocpn_frame.cpp.

◆ InvalidateAllCanvasUndo()

void MyFrame::InvalidateAllCanvasUndo ( )

Definition at line 3861 of file ocpn_frame.cpp.

◆ InvalidateAllGL()

void MyFrame::InvalidateAllGL ( )

Definition at line 2911 of file ocpn_frame.cpp.

◆ InvalidateAllQuilts()

void MyFrame::InvalidateAllQuilts ( )

Definition at line 4400 of file ocpn_frame.cpp.

◆ JumpToPosition()

void MyFrame::JumpToPosition ( ChartCanvas cc,
double  lat,
double  lon,
double  scale 
)

Definition at line 3889 of file ocpn_frame.cpp.

◆ LoadHarmonics()

void MyFrame::LoadHarmonics ( )

Definition at line 6501 of file ocpn_frame.cpp.

◆ MouseEvent()

void MyFrame::MouseEvent ( wxMouseEvent &  event)

Definition at line 6101 of file ocpn_frame.cpp.

◆ NotifyChildrenResize()

void MyFrame::NotifyChildrenResize ( void  )

Definition at line 1098 of file ocpn_frame.cpp.

◆ OnBellsFinished()

void MyFrame::OnBellsFinished ( wxCommandEvent &  event)

Definition at line 862 of file ocpn_frame.cpp.

◆ OnCloseWindow()

void MyFrame::OnCloseWindow ( wxCloseEvent &  event)

Definition at line 1493 of file ocpn_frame.cpp.

◆ OnEraseBackground()

void MyFrame::OnEraseBackground ( wxEraseEvent &  event)

Definition at line 885 of file ocpn_frame.cpp.

◆ OnEvtPlugInMessage()

void MyFrame::OnEvtPlugInMessage ( OCPN_MsgEvent event)

Definition at line 6169 of file ocpn_frame.cpp.

◆ OnExit()

void MyFrame::OnExit ( wxCommandEvent &  event)

Definition at line 1489 of file ocpn_frame.cpp.

◆ OnFrameCOGTimer()

void MyFrame::OnFrameCOGTimer ( wxTimerEvent &  event)

Definition at line 5888 of file ocpn_frame.cpp.

◆ OnFrameTCTimer()

void MyFrame::OnFrameTCTimer ( wxTimerEvent &  event)

Definition at line 5876 of file ocpn_frame.cpp.

◆ OnFrameTenHzTimer()

void MyFrame::OnFrameTenHzTimer ( wxTimerEvent &  event)

High-frequency timer handler running at 10Hz for smooth navigation updates.

This timer event handler runs at 10Hz to provide smooth, high-frequency updates for navigation display and position estimation. It serves two primary purposes: handling compass rose rotation in non-North-Up modes and providing interpolated position/heading estimates when 10Hz updates are enabled.

Parameters
eventThe wxTimerEvent that triggered this handler (100ms interval)

Definition at line 5378 of file ocpn_frame.cpp.

◆ OnFrameTimer1()

void MyFrame::OnFrameTimer1 ( wxTimerEvent &  event)

Main application timer handler called approximately once per second.

Key responsibilities include anchor watch monitoring, GPS position updates to plugins, toolbar management, and chart database refreshes.

Parameters
eventThe wxTimerEvent that triggered this handler

Definition at line 5626 of file ocpn_frame.cpp.

◆ OnIconize()

void MyFrame::OnIconize ( wxIconizeEvent &  event)

Definition at line 2001 of file ocpn_frame.cpp.

◆ OnInitTimer()

void MyFrame::OnInitTimer ( wxTimerEvent &  event)

Definition at line 4560 of file ocpn_frame.cpp.

◆ OnMaximize()

void MyFrame::OnMaximize ( wxMaximizeEvent &  event)

Definition at line 887 of file ocpn_frame.cpp.

◆ OnMemFootTimer()

void MyFrame::OnMemFootTimer ( wxTimerEvent &  event)

Definition at line 5208 of file ocpn_frame.cpp.

◆ OnMove()

void MyFrame::OnMove ( wxMoveEvent &  event)

Definition at line 1846 of file ocpn_frame.cpp.

◆ OnRecaptureTimer()

void MyFrame::OnRecaptureTimer ( wxTimerEvent &  event)

Definition at line 1937 of file ocpn_frame.cpp.

◆ OnSENCEvtThread()

void MyFrame::OnSENCEvtThread ( OCPN_BUILDSENC_ThreadEvent event)

Definition at line 786 of file ocpn_frame.cpp.

◆ OnSize()

void MyFrame::OnSize ( wxSizeEvent &  event)

Definition at line 2025 of file ocpn_frame.cpp.

◆ OnToolLeftClick()

void MyFrame::OnToolLeftClick ( wxCommandEvent &  event)

Definition at line 2343 of file ocpn_frame.cpp.

◆ PositionConsole()

void MyFrame::PositionConsole ( void  )

Definition at line 2201 of file ocpn_frame.cpp.

◆ PositionIENCToolbar()

void MyFrame::PositionIENCToolbar ( )

Definition at line 4546 of file ocpn_frame.cpp.

◆ PrepareOptionsClose()

void MyFrame::PrepareOptionsClose ( options settings,
int  settings_return_value 
)

Definition at line 3973 of file ocpn_frame.cpp.

◆ ProcessCanvasResize()

void MyFrame::ProcessCanvasResize ( void  )

Definition at line 1920 of file ocpn_frame.cpp.

◆ ProcessOptionsDialog()

void MyFrame::ProcessOptionsDialog ( int  resultFlags,
ArrayOfCDI *  pNewDirArray 
)

Definition at line 4081 of file ocpn_frame.cpp.

◆ RebuildChartDatabase()

void MyFrame::RebuildChartDatabase ( )
static

Definition at line 815 of file ocpn_frame.cpp.

◆ RefreshAllCanvas()

void MyFrame::RefreshAllCanvas ( bool  bErase = true)

Definition at line 2924 of file ocpn_frame.cpp.

◆ RefreshCanvasOther()

void MyFrame::RefreshCanvasOther ( ChartCanvas ccThis)

Definition at line 4363 of file ocpn_frame.cpp.

◆ RefreshGroupIndices()

void MyFrame::RefreshGroupIndices ( void  )

Definition at line 2335 of file ocpn_frame.cpp.

◆ RegisterGlobalMenuItems()

void MyFrame::RegisterGlobalMenuItems ( )

Definition at line 3565 of file ocpn_frame.cpp.

◆ ReleaseApiListeners()

void MyFrame::ReleaseApiListeners ( )

Definition at line 4922 of file ocpn_frame.cpp.

◆ ReloadAllVP()

void MyFrame::ReloadAllVP ( )

Definition at line 898 of file ocpn_frame.cpp.

◆ RequestNewMasterToolbar()

void MyFrame::RequestNewMasterToolbar ( bool  bforcenew = true)

Definition at line 6807 of file ocpn_frame.cpp.

◆ RequestNewToolbarArgEvent()

void MyFrame::RequestNewToolbarArgEvent ( wxCommandEvent &  WXUNUSEDevent)
inline

Definition at line 339 of file ocpn_frame.h.

◆ RequestNewToolbars()

void MyFrame::RequestNewToolbars ( bool  bforcenew = false)

Definition at line 1294 of file ocpn_frame.cpp.

◆ ScheduleDeleteSettingsDialog()

void MyFrame::ScheduleDeleteSettingsDialog ( )

Definition at line 2809 of file ocpn_frame.cpp.

◆ ScheduleReconfigAndSettingsReload()

void MyFrame::ScheduleReconfigAndSettingsReload ( bool  reload,
bool  new_dialog 
)

Definition at line 2827 of file ocpn_frame.cpp.

◆ ScheduleReloadCharts()

void MyFrame::ScheduleReloadCharts ( )

Definition at line 2803 of file ocpn_frame.cpp.

◆ ScheduleSettingsDialog()

void MyFrame::ScheduleSettingsDialog ( )

Definition at line 2815 of file ocpn_frame.cpp.

◆ ScheduleSettingsDialogNew()

void MyFrame::ScheduleSettingsDialogNew ( )

Definition at line 2821 of file ocpn_frame.cpp.

◆ selectChartDisplay()

void MyFrame::selectChartDisplay ( int  type,
int  family 
)

Definition at line 6073 of file ocpn_frame.cpp.

◆ SendJSON_WMM_Var_Request()

bool MyFrame::SendJSON_WMM_Var_Request ( double  lat,
double  lon,
wxDateTime  date 
)

Definition at line 5841 of file ocpn_frame.cpp.

◆ SetAllToolbarScale()

void MyFrame::SetAllToolbarScale ( void  )

Definition at line 1315 of file ocpn_frame.cpp.

◆ SetAndApplyColorScheme()

void MyFrame::SetAndApplyColorScheme ( ColorScheme  cs)

Definition at line 905 of file ocpn_frame.cpp.

◆ SetbFollow()

void MyFrame::SetbFollow ( ChartCanvas cc)

Definition at line 3407 of file ocpn_frame.cpp.

◆ SetCanvasSizes()

void MyFrame::SetCanvasSizes ( wxSize  frameSize)

Definition at line 1939 of file ocpn_frame.cpp.

◆ SetChartUpdatePeriod()

void MyFrame::SetChartUpdatePeriod ( )

Definition at line 6044 of file ocpn_frame.cpp.

◆ SetENCDisplayCategory()

void MyFrame::SetENCDisplayCategory ( ChartCanvas cc,
enum _DisCat  nset 
)

Definition at line 3295 of file ocpn_frame.cpp.

◆ SetGlobalToolbarViz()

bool MyFrame::SetGlobalToolbarViz ( bool  viz)

Definition at line 2765 of file ocpn_frame.cpp.

◆ SetGPSCompassScale()

void MyFrame::SetGPSCompassScale ( void  )

Definition at line 1319 of file ocpn_frame.cpp.

◆ SetMasterToolbarItemState()

void MyFrame::SetMasterToolbarItemState ( int  tool_id,
bool  state 
)

Definition at line 3457 of file ocpn_frame.cpp.

◆ SetMenubarItemState()

void MyFrame::SetMenubarItemState ( int  item_id,
bool  state 
)

Definition at line 3448 of file ocpn_frame.cpp.

◆ setStringVP()

void MyFrame::setStringVP ( wxString  VPS)

Definition at line 2934 of file ocpn_frame.cpp.

◆ SetToolbarItemBitmaps()

void MyFrame::SetToolbarItemBitmaps ( int  tool_id,
wxBitmap *  bitmap,
wxBitmap *  bmpDisabled 
)

Definition at line 3464 of file ocpn_frame.cpp.

◆ SetToolbarItemSVG()

void MyFrame::SetToolbarItemSVG ( int  tool_id,
wxString  normalSVGfile,
wxString  rolloverSVGfile,
wxString  toggledSVGfile 
)

Definition at line 3472 of file ocpn_frame.cpp.

◆ SetUpMode()

void MyFrame::SetUpMode ( ChartCanvas cc,
int  mode 
)

Definition at line 3271 of file ocpn_frame.cpp.

◆ ShouldRestartTrack()

bool MyFrame::ShouldRestartTrack ( )

Definition at line 3238 of file ocpn_frame.cpp.

◆ SwitchKBFocus()

void MyFrame::SwitchKBFocus ( ChartCanvas pCanvas)

Definition at line 1427 of file ocpn_frame.cpp.

◆ ThawCharts()

void MyFrame::ThawCharts ( )

Definition at line 776 of file ocpn_frame.cpp.

◆ ToggleAISDisplay()

void MyFrame::ToggleAISDisplay ( ChartCanvas cc)

Definition at line 3395 of file ocpn_frame.cpp.

◆ ToggleAISMinimizeTargets()

void MyFrame::ToggleAISMinimizeTargets ( ChartCanvas cc)

Definition at line 3401 of file ocpn_frame.cpp.

◆ ToggleAnchor()

void MyFrame::ToggleAnchor ( ChartCanvas cc)

Definition at line 3362 of file ocpn_frame.cpp.

◆ TogglebFollow()

void MyFrame::TogglebFollow ( ChartCanvas cc)

Definition at line 3382 of file ocpn_frame.cpp.

◆ ToggleChartBar()

void MyFrame::ToggleChartBar ( ChartCanvas cc)

Definition at line 2984 of file ocpn_frame.cpp.

◆ ToggleChartOutlines()

void MyFrame::ToggleChartOutlines ( ChartCanvas cc)

Definition at line 3433 of file ocpn_frame.cpp.

◆ ToggleColorScheme()

void MyFrame::ToggleColorScheme ( )

Definition at line 3000 of file ocpn_frame.cpp.

◆ ToggleDataQuality()

void MyFrame::ToggleDataQuality ( ChartCanvas cc)

Definition at line 3372 of file ocpn_frame.cpp.

◆ ToggleENCText()

void MyFrame::ToggleENCText ( ChartCanvas cc)

Definition at line 3284 of file ocpn_frame.cpp.

◆ ToggleFullScreen()

void MyFrame::ToggleFullScreen ( )

Definition at line 3018 of file ocpn_frame.cpp.

◆ ToggleLights()

bool MyFrame::ToggleLights ( ChartCanvas cc)

Definition at line 3321 of file ocpn_frame.cpp.

◆ ToggleNavobjects()

void MyFrame::ToggleNavobjects ( ChartCanvas cc)

Definition at line 3389 of file ocpn_frame.cpp.

◆ ToggleQuiltMode()

void MyFrame::ToggleQuiltMode ( ChartCanvas cc)

Definition at line 4506 of file ocpn_frame.cpp.

◆ ToggleSoundings()

void MyFrame::ToggleSoundings ( ChartCanvas cc)

Definition at line 3310 of file ocpn_frame.cpp.

◆ ToggleTestPause()

void MyFrame::ToggleTestPause ( void  )

Definition at line 3446 of file ocpn_frame.cpp.

◆ TouchAISActive()

void MyFrame::TouchAISActive ( void  )

Definition at line 5857 of file ocpn_frame.cpp.

◆ TrackDailyRestart()

void MyFrame::TrackDailyRestart ( void  )

Definition at line 3249 of file ocpn_frame.cpp.

◆ TrackOff()

Track * MyFrame::TrackOff ( bool  do_add_point = false)

Definition at line 3153 of file ocpn_frame.cpp.

◆ TrackOn()

void MyFrame::TrackOn ( void  )

Definition at line 3109 of file ocpn_frame.cpp.

◆ TriggerRecaptureTimer()

void MyFrame::TriggerRecaptureTimer ( )

Definition at line 1932 of file ocpn_frame.cpp.

◆ UpdateAISMOBRoute()

void MyFrame::UpdateAISMOBRoute ( const AisTargetData ptarget)

Definition at line 6618 of file ocpn_frame.cpp.

◆ UpdateAISTool()

void MyFrame::UpdateAISTool ( void  )

Definition at line 5865 of file ocpn_frame.cpp.

◆ UpdateAllFonts()

void MyFrame::UpdateAllFonts ( void  )

Definition at line 2287 of file ocpn_frame.cpp.

◆ UpdateCanvasConfigDescriptors()

void MyFrame::UpdateCanvasConfigDescriptors ( )

Definition at line 3903 of file ocpn_frame.cpp.

◆ UpdateChartDatabaseInplace()

bool MyFrame::UpdateChartDatabaseInplace ( ArrayOfCDI &  DirArray,
bool  b_force,
bool  b_prog,
const wxString &  ChartListFileName 
)

Definition at line 4411 of file ocpn_frame.cpp.

◆ UpdateControlBar()

void MyFrame::UpdateControlBar ( ChartCanvas cc)

Definition at line 6068 of file ocpn_frame.cpp.

◆ UpdateGlobalMenuItems() [1/2]

void MyFrame::UpdateGlobalMenuItems ( )

Definition at line 3731 of file ocpn_frame.cpp.

◆ UpdateGlobalMenuItems() [2/2]

void MyFrame::UpdateGlobalMenuItems ( ChartCanvas cc)

Definition at line 3801 of file ocpn_frame.cpp.

◆ UpdateGPSCompassStatusBoxes()

void MyFrame::UpdateGPSCompassStatusBoxes ( bool  b_force_new = false)

Definition at line 5966 of file ocpn_frame.cpp.

◆ UpdateRotationState()

void MyFrame::UpdateRotationState ( double  rotation)

Definition at line 5944 of file ocpn_frame.cpp.

◆ UpdateStatusBar()

void MyFrame::UpdateStatusBar ( void  )

Definition at line 5154 of file ocpn_frame.cpp.

Member Data Documentation

◆ BellsTimer

wxTimer MyFrame::BellsTimer

Definition at line 335 of file ocpn_frame.h.

◆ COGTable

double MyFrame::COGTable[MAX_COG_AVERAGE_SECONDS]

Definition at line 354 of file ocpn_frame.h.

◆ FrameCOGTimer

wxTimer MyFrame::FrameCOGTimer

Definition at line 329 of file ocpn_frame.h.

◆ FrameTCTimer

wxTimer MyFrame::FrameTCTimer

Definition at line 327 of file ocpn_frame.h.

◆ FrameTenHzTimer

wxTimer MyFrame::FrameTenHzTimer

Definition at line 332 of file ocpn_frame.h.

◆ FrameTimer1

wxTimer MyFrame::FrameTimer1

Definition at line 328 of file ocpn_frame.h.

◆ InitTimer

wxTimer MyFrame::InitTimer

Definition at line 323 of file ocpn_frame.h.

◆ m_bdefer_resize

bool MyFrame::m_bdefer_resize

Definition at line 352 of file ocpn_frame.h.

◆ m_BellsToPlay

int MyFrame::m_BellsToPlay

Definition at line 334 of file ocpn_frame.h.

◆ m_bTimeIsSet

bool MyFrame::m_bTimeIsSet

Definition at line 321 of file ocpn_frame.h.

◆ m_defer_size

wxSize MyFrame::m_defer_size

Definition at line 353 of file ocpn_frame.h.

◆ m_iInitCount

int MyFrame::m_iInitCount

Definition at line 324 of file ocpn_frame.h.

◆ m_initializing

bool MyFrame::m_initializing

Definition at line 325 of file ocpn_frame.h.

◆ m_pMenuBar

wxMenuBar* MyFrame::m_pMenuBar

Definition at line 319 of file ocpn_frame.h.

◆ m_pStatusBar

wxStatusBar* MyFrame::m_pStatusBar

Definition at line 318 of file ocpn_frame.h.

◆ m_resizeTimer

wxTimer MyFrame::m_resizeTimer

Definition at line 331 of file ocpn_frame.h.

◆ MemFootTimer

wxTimer MyFrame::MemFootTimer

Definition at line 330 of file ocpn_frame.h.

◆ nBlinkerTick

int MyFrame::nBlinkerTick

Definition at line 320 of file ocpn_frame.h.


The documentation for this class was generated from the following files: