26#ifndef _ROUTE_POINT_GUI_H
27#define _ROUTE_POINT_GUI_H
33#include "route_point.h"
43 bool boverride_viz =
false);
44 void CalculateDCRect(wxDC &dc,
ChartCanvas *canvas, wxRect *prect);
45 bool IsVisibleSelectable(
ChartCanvas *canvas,
bool boverrideViz =
false);
46 wxPoint2DDouble GetDragHandlePoint(
ChartCanvas *canvas);
47 void SetPointFromDraghandlePoint(
ChartCanvas *canvas,
double lat,
double lon);
48 void SetPointFromDraghandlePoint(
ChartCanvas *canvas,
int x,
int y);
49 void PresetDragOffset(
ChartCanvas *canvas,
int x,
int y);
52 bool SendToGPS(
const wxString &com_name,
SendToGpsDlg *dialog);
53 void ReLoadIcon(
void);
54 void EnableDragHandle(
bool bEnable);
55 int GetIconImageIndex();
56 wxBitmap* GetIconBitmap() {
57 if (m_point.m_IconIsDirty) ReLoadIcon();
58 return m_point.m_pbmIcon;
63 bool use_cached_screen_coords =
false,
bool vizOverride =
false);
67 wxPoint2DDouble computeDragHandlePoint(
ChartCanvas *canvas);
Route "Send to GPS..." Dialog Definition.