OpenCPN Partial API docs
Loading...
Searching...
No Matches
RoutePointGui Class Reference

Public Member Functions

 RoutePointGui (RoutePoint &point)
 
void Draw (ocpnDC &dc, ChartCanvas *canvas, wxPoint *rpn=0, bool boverride_viz=false)
 
void CalculateDCRect (wxDC &dc, ChartCanvas *canvas, wxRect *prect)
 
bool IsVisibleSelectable (ChartCanvas *canvas, bool boverrideViz=false)
 
wxPoint2DDouble GetDragHandlePoint (ChartCanvas *canvas)
 
void SetPointFromDraghandlePoint (ChartCanvas *canvas, double lat, double lon)
 
void SetPointFromDraghandlePoint (ChartCanvas *canvas, int x, int y)
 
void PresetDragOffset (ChartCanvas *canvas, int x, int y)
 
void ShowScaleWarningMessage (ChartCanvas *canvas)
 
bool SendToGPS (const wxString &com_name, SendToGpsDlg *dialog)
 
void ReLoadIcon (void)
 
void EnableDragHandle (bool bEnable)
 
int GetIconImageIndex ()
 
wxBitmap * GetIconBitmap ()
 

Detailed Description

Definition at line 38 of file route_point_gui.h.

Constructor & Destructor Documentation

◆ RoutePointGui()

RoutePointGui::RoutePointGui ( RoutePoint point)
inline

Definition at line 40 of file route_point_gui.h.

Member Function Documentation

◆ CalculateDCRect()

void RoutePointGui::CalculateDCRect ( wxDC &  dc,
ChartCanvas canvas,
wxRect *  prect 
)

Definition at line 661 of file route_point_gui.cpp.

◆ Draw()

void RoutePointGui::Draw ( ocpnDC dc,
ChartCanvas canvas,
wxPoint *  rpn = 0,
bool  boverride_viz = false 
)

Definition at line 36 of file route_point_gui.cpp.

◆ EnableDragHandle()

void RoutePointGui::EnableDragHandle ( bool  bEnable)

Definition at line 741 of file route_point_gui.cpp.

◆ GetDragHandlePoint()

wxPoint2DDouble RoutePointGui::GetDragHandlePoint ( ChartCanvas canvas)

Definition at line 680 of file route_point_gui.cpp.

◆ GetIconBitmap()

wxBitmap * RoutePointGui::GetIconBitmap ( )
inline

Definition at line 56 of file route_point_gui.h.

◆ GetIconImageIndex()

int RoutePointGui::GetIconImageIndex ( )

Definition at line 881 of file route_point_gui.cpp.

◆ IsVisibleSelectable()

bool RoutePointGui::IsVisibleSelectable ( ChartCanvas canvas,
bool  boverrideViz = false 
)

Definition at line 676 of file route_point_gui.cpp.

◆ PresetDragOffset()

void RoutePointGui::PresetDragOffset ( ChartCanvas canvas,
int  x,
int  y 
)

Definition at line 708 of file route_point_gui.cpp.

◆ ReLoadIcon()

void RoutePointGui::ReLoadIcon ( void  )

Definition at line 819 of file route_point_gui.cpp.

◆ SendToGPS()

bool RoutePointGui::SendToGPS ( const wxString &  com_name,
SendToGpsDlg dialog 
)

Definition at line 863 of file route_point_gui.cpp.

◆ SetPointFromDraghandlePoint() [1/2]

void RoutePointGui::SetPointFromDraghandlePoint ( ChartCanvas canvas,
double  lat,
double  lon 
)

Definition at line 687 of file route_point_gui.cpp.

◆ SetPointFromDraghandlePoint() [2/2]

void RoutePointGui::SetPointFromDraghandlePoint ( ChartCanvas canvas,
int  x,
int  y 
)

Definition at line 698 of file route_point_gui.cpp.

◆ ShowScaleWarningMessage()

void RoutePointGui::ShowScaleWarningMessage ( ChartCanvas canvas)

Definition at line 730 of file route_point_gui.cpp.


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