OpenCPN Partial API docs
MyFrame Class Reference
Inheritance diagram for MyFrame:

Public Member Functions

 MyFrame (wxFrame *frame, const wxString &title, const wxPoint &pos, const wxSize &size, long style)
 
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)
 
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 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 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)
 
int DoOptionsDialog ()
 
bool ProcessOptionsDialog (int resultFlags, ArrayOfCDI *pNewDirArray)
 
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 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)
 
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 PositionIENCToolbar ()
 
void InitAppMsgBusListener ()
 
void InitApiListeners ()
 Setup handling of events from the local ipc/dbus API.
 
void ReleaseApiListeners ()
 
void UpdateStatusBar (void)
 

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
 
int m_BellsToPlay
 
wxTimer BellsTimer
 
bool m_bdefer_resize
 
wxSize m_defer_size
 
double COGTable [MAX_COG_AVERAGE_SECONDS]
 

Detailed Description

Definition at line 149 of file ocpn_frame.h.

Member Function Documentation

◆ OnFrameTimer1()

void MyFrame::OnFrameTimer1 ( wxTimerEvent &  event)

g_bCourseUp &&

Definition at line 5386 of file ocpn_frame.cpp.


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