25#ifndef _ROUTE_POINT_GUI_H
26#define _ROUTE_POINT_GUI_H
44 bool boverride_viz =
false);
45 void CalculateDCRect(wxDC &dc,
ChartCanvas *canvas, wxRect *prect);
46 bool IsVisibleSelectable(
ChartCanvas *canvas,
bool boverrideViz =
false);
47 wxPoint2DDouble GetDragHandlePoint(
ChartCanvas *canvas);
48 void SetPointFromDraghandlePoint(
ChartCanvas *canvas,
double lat,
double lon);
49 void SetPointFromDraghandlePoint(
ChartCanvas *canvas,
int x,
int y);
50 void PresetDragOffset(
ChartCanvas *canvas,
int x,
int y);
53 bool SendToGPS(
const wxString &com_name,
SendToGpsDlg *dialog);
55 void EnableDragHandle(
bool bEnable);
56 int GetIconImageIndex();
57 wxBitmap *GetIconBitmap() {
59 return m_point.m_pbmIcon;
64 bool use_cached_screen_coords =
false,
bool vizOverride =
false);
68 wxPoint2DDouble computeDragHandlePoint(
ChartCanvas *canvas);
Generic Chart canvas base.
ChartCanvas - Main chart display and interaction component.
Represents a waypoint or mark within the navigation system.
bool m_IconIsDirty
Flag indicating if the waypoint icon needs to be reloaded or redrawn.
Dialog for sending routes/waypoints to a GPS device.
ViewPort - Core geographic projection and coordinate transformation engine.
Device context class that can use either wxDC or OpenGL for drawing.
Layer to use wxDC or opengl.
Waypoint or mark abstraction.
Send route/waypoint to GPS dialog.
Geographic projection and coordinate transformations.