|
OpenCPN Partial API docs
|
Primary navigation console display for route and vessel tracking. More...
#include <concanv.h>
Public Member Functions | |
| ConsoleCanvas (wxWindow *frame) | |
| 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 | 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:
| ConsoleCanvas::ConsoleCanvas | ( | wxWindow * | frame | ) |
Definition at line 81 of file concanv.cpp.
| ConsoleCanvas::~ConsoleCanvas | ( | ) |
Definition at line 149 of file concanv.cpp.
| void ConsoleCanvas::LegRoute | ( | ) |
Definition at line 194 of file concanv.cpp.
| void ConsoleCanvas::OnContextMenu | ( | wxContextMenuEvent & | event | ) |
Definition at line 204 of file concanv.cpp.
| void ConsoleCanvas::OnContextMenuSelection | ( | wxCommandEvent & | event | ) |
Definition at line 226 of file concanv.cpp.
| void ConsoleCanvas::RefreshConsoleData | ( | void | ) |
Definition at line 429 of file concanv.cpp.
| void ConsoleCanvas::SetColorScheme | ( | ColorScheme | cs | ) |
Definition at line 151 of file concanv.cpp.
| void ConsoleCanvas::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 440 of file concanv.cpp.
| void ConsoleCanvas::ToggleRouteTotalDisplay | ( | ) |
Toggles between route total and current leg display modes.
Switches speed calculation method and route information presentation between:
Definition at line 251 of file concanv.cpp.
| void ConsoleCanvas::UpdateFonts | ( | void | ) |
Definition at line 449 of file concanv.cpp.
| void ConsoleCanvas::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 261 of file concanv.cpp.