OpenCPN Partial API docs
|
Primary navigation console display for route and vessel tracking. More...
#include <concanv.h>
Public Member Functions | |
ConsoleCanvasWin (wxWindow *parent) | |
void | UpdateRouteData () |
Updates route-related data displays. | |
void | ShowWithFreshFonts (void) |
Recomputes and applies new fonts to console elements. | |
void | UpdateFonts (void) |
void | SetColorScheme (ColorScheme cs) |
void | LegRoute () |
void | OnContextMenu (wxContextMenuEvent &event) |
void | OnContextMenuSelection (wxCommandEvent &event) |
void | RefreshConsoleData (void) |
void | ToggleShowHighway () |
void | ToggleRouteTotalDisplay () |
Toggles between route total and current leg display modes. | |
Public Attributes | |
wxWindow * | m_pParent |
wxStaticText * | pThisLegText |
wxBoxSizer * | m_pitemBoxSizerLeg |
AnnunText * | pXTE |
AnnunText * | pBRG |
AnnunText * | pRNG |
AnnunText * | pTTG |
AnnunText * | pVMG |
CDI * | pCDI |
wxFont * | pThisLegFont |
bool | m_bNeedClear |
wxBrush * | pbackBrush |
Primary navigation console display for route and vessel tracking.
Manages a dynamic interface that presents real-time navigation metrics during active route tracking. Provides detailed route information and interaction capabilities for maritime navigation.
Key Responsibilities:
Navigation Display Modes:
Interaction Features:
ConsoleCanvasWin::ConsoleCanvasWin | ( | wxWindow * | parent | ) |
Definition at line 80 of file concanv.cpp.
ConsoleCanvasWin::~ConsoleCanvasWin | ( | ) |
Definition at line 147 of file concanv.cpp.
void ConsoleCanvasWin::LegRoute | ( | ) |
Definition at line 190 of file concanv.cpp.
void ConsoleCanvasWin::OnContextMenu | ( | wxContextMenuEvent & | event | ) |
Definition at line 200 of file concanv.cpp.
void ConsoleCanvasWin::OnContextMenuSelection | ( | wxCommandEvent & | event | ) |
Definition at line 222 of file concanv.cpp.
void ConsoleCanvasWin::RefreshConsoleData | ( | void | ) |
Definition at line 442 of file concanv.cpp.
void ConsoleCanvasWin::SetColorScheme | ( | ColorScheme | cs | ) |
Definition at line 149 of file concanv.cpp.
void ConsoleCanvasWin::ShowWithFreshFonts | ( | void | ) |
Recomputes and applies new fonts to console elements.
Ensures consistent font rendering across different platforms and display configurations. Triggers layout recalculation.
Definition at line 453 of file concanv.cpp.
void ConsoleCanvasWin::ToggleRouteTotalDisplay | ( | ) |
Toggles between route total and current leg display modes.
Switches speed calculation method and route information presentation between:
Definition at line 258 of file concanv.cpp.
void ConsoleCanvasWin::ToggleShowHighway | ( | ) |
Definition at line 247 of file concanv.cpp.
void ConsoleCanvasWin::UpdateFonts | ( | void | ) |
Definition at line 460 of file concanv.cpp.
void ConsoleCanvasWin::UpdateRouteData | ( | ) |
Updates route-related data displays.
Calculates and refreshes navigation metrics based on current route state, vessel position, and selected display mode.
Definition at line 275 of file concanv.cpp.