OpenCPN Partial API docs
Loading...
Searching...
No Matches
CanvasMenuHandler Class Reference
Inheritance diagram for CanvasMenuHandler:

Public Member Functions

 CanvasMenuHandler (ChartCanvas *parentCanvas, Route *selectedRoute, Track *selectedTrack, RoutePoint *selectedPoint, int selectedAIS_MMSI, void *selectedTCIndex)
 
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
 

Detailed Description

Definition at line 81 of file canvasMenu.h.

Constructor & Destructor Documentation

◆ CanvasMenuHandler()

CanvasMenuHandler::CanvasMenuHandler ( ChartCanvas parentCanvas,
Route selectedRoute,
Track selectedTrack,
RoutePoint selectedPoint,
int  selectedAIS_MMSI,
void *  selectedTCIndex 
)

Definition at line 228 of file canvasMenu.cpp.

◆ ~CanvasMenuHandler()

CanvasMenuHandler::~CanvasMenuHandler ( )

Definition at line 250 of file canvasMenu.cpp.

Member Function Documentation

◆ CanvasPopupMenu()

void CanvasMenuHandler::CanvasPopupMenu ( int  x,
int  y,
int  seltype 
)

Definition at line 317 of file canvasMenu.cpp.

◆ GetNextContextMenuId()

int CanvasMenuHandler::GetNextContextMenuId ( )
static

Definition at line 220 of file canvasMenu.cpp.

◆ MenuAppend1()

void CanvasMenuHandler::MenuAppend1 ( wxMenu *  menu,
int  id,
wxString  label 
)

Definition at line 285 of file canvasMenu.cpp.

◆ MenuPrepend1()

void CanvasMenuHandler::MenuPrepend1 ( wxMenu *  menu,
int  id,
wxString  label 
)

Definition at line 267 of file canvasMenu.cpp.

◆ PopupMenuHandler()

void CanvasMenuHandler::PopupMenuHandler ( wxCommandEvent &  event)

Definition at line 1084 of file canvasMenu.cpp.

◆ PrepareMenuItem()

void CanvasMenuHandler::PrepareMenuItem ( wxMenuItem *  item)

Definition at line 256 of file canvasMenu.cpp.

◆ SetMenuItemFont1()

void CanvasMenuHandler::SetMenuItemFont1 ( wxMenuItem *  item)

Definition at line 303 of file canvasMenu.cpp.

Member Data Documentation

◆ m_scaledFont

wxFont CanvasMenuHandler::m_scaledFont
static

Definition at line 97 of file canvasMenu.h.


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