OpenCPN Partial API docs
|
Public Member Functions | |
ConsoleCanvasFrame (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 |
ConsoleCanvasFrame::ConsoleCanvasFrame | ( | wxWindow * | parent | ) |
Definition at line 487 of file concanv.cpp.
ConsoleCanvasFrame::~ConsoleCanvasFrame | ( | ) |
Definition at line 555 of file concanv.cpp.
void ConsoleCanvasFrame::LegRoute | ( | ) |
Definition at line 599 of file concanv.cpp.
void ConsoleCanvasFrame::OnContextMenu | ( | wxContextMenuEvent & | event | ) |
Definition at line 609 of file concanv.cpp.
void ConsoleCanvasFrame::OnContextMenuSelection | ( | wxCommandEvent & | event | ) |
Definition at line 639 of file concanv.cpp.
void ConsoleCanvasFrame::RefreshConsoleData | ( | void | ) |
Definition at line 860 of file concanv.cpp.
void ConsoleCanvasFrame::SetColorScheme | ( | ColorScheme | cs | ) |
Definition at line 557 of file concanv.cpp.
void ConsoleCanvasFrame::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 871 of file concanv.cpp.
void ConsoleCanvasFrame::ToggleRouteTotalDisplay | ( | ) |
Toggles between route total and current leg display modes.
Switches speed calculation method and route information presentation between:
Definition at line 675 of file concanv.cpp.
void ConsoleCanvasFrame::ToggleShowHighway | ( | ) |
Definition at line 664 of file concanv.cpp.
void ConsoleCanvasFrame::UpdateFonts | ( | void | ) |
Definition at line 879 of file concanv.cpp.
void ConsoleCanvasFrame::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 692 of file concanv.cpp.