|
OpenCPN Partial API docs
|
Handles context menu events for the chart canvas. More...
#include <canvasMenu.h>
Public Member Functions | |
| CanvasMenuHandler (ChartCanvas *parentCanvas, Route *selectedRoute, Track *selectedTrack, RoutePoint *selectedPoint, int selectedAIS_MMSI, void *selectedTCIndex, wxWindow *nmea_log) | |
| void | CanvasPopupMenu (int x, int y, int seltype) |
| void | PopupMenuHandler (wxCommandEvent &event) |
| void | PrepareMenuItem (wxMenuItem *item) |
| void | MenuPrepend1 (wxMenu *menu, int id, wxString label) |
| void | MenuAppend1 (wxMenu *menu, int id, wxString label) |
| void | SetMenuItemFont1 (wxMenuItem *item) |
Static Public Member Functions | |
| static int | GetNextContextMenuId () |
Static Public Attributes | |
| static wxFont | m_scaledFont |
Handles context menu events for the chart canvas.
Manages the creation and handling of context menus that appear when right-clicking on the chart canvas.
Definition at line 82 of file canvasMenu.h.
| CanvasMenuHandler::CanvasMenuHandler | ( | ChartCanvas * | parentCanvas, |
| Route * | selectedRoute, | ||
| Track * | selectedTrack, | ||
| RoutePoint * | selectedPoint, | ||
| int | selectedAIS_MMSI, | ||
| void * | selectedTCIndex, | ||
| wxWindow * | nmea_log ) |
Definition at line 231 of file canvasMenu.cpp.
| CanvasMenuHandler::~CanvasMenuHandler | ( | ) |
Definition at line 251 of file canvasMenu.cpp.
| void CanvasMenuHandler::CanvasPopupMenu | ( | int | x, |
| int | y, | ||
| int | seltype ) |
Definition at line 313 of file canvasMenu.cpp.
|
static |
Definition at line 223 of file canvasMenu.cpp.
| void CanvasMenuHandler::MenuAppend1 | ( | wxMenu * | menu, |
| int | id, | ||
| wxString | label ) |
Definition at line 283 of file canvasMenu.cpp.
| void CanvasMenuHandler::MenuPrepend1 | ( | wxMenu * | menu, |
| int | id, | ||
| wxString | label ) |
Definition at line 266 of file canvasMenu.cpp.
| void CanvasMenuHandler::PopupMenuHandler | ( | wxCommandEvent & | event | ) |
Definition at line 1136 of file canvasMenu.cpp.
| void CanvasMenuHandler::PrepareMenuItem | ( | wxMenuItem * | item | ) |
Definition at line 257 of file canvasMenu.cpp.
| void CanvasMenuHandler::SetMenuItemFont1 | ( | wxMenuItem * | item | ) |
Definition at line 300 of file canvasMenu.cpp.
|
static |
Definition at line 99 of file canvasMenu.h.