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

#include <GoToPositionDialog.h>

Inheritance diagram for GoToPositionDialog:

Public Member Functions

 GoToPositionDialog ()
 Constructors. More...
 
 GoToPositionDialog (wxWindow *parent, wxWindowID id=SYMBOL_GOTOPOS_IDNAME, const wxString &caption=SYMBOL_GOTOPOS_TITLE, const wxPoint &pos=SYMBOL_GOTOPOS_POSITION, const wxSize &size=SYMBOL_GOTOPOS_SIZE, long style=SYMBOL_GOTOPOS_STYLE)
 
bool Create (wxWindow *parent, wxWindowID id=SYMBOL_GOTOPOS_IDNAME, const wxString &caption=SYMBOL_GOTOPOS_TITLE, const wxPoint &pos=SYMBOL_GOTOPOS_POSITION, const wxSize &size=SYMBOL_GOTOPOS_SIZE, long style=SYMBOL_GOTOPOS_STYLE)
 Creation. More...
 
void SetCanvas (ChartCanvas *canvas)
 
void SetColorScheme (ColorScheme cs)
 
void CreateControls ()
 
void OnGoToPosCancelClick (wxCommandEvent &event)
 
void OnGoToPosOkClick (wxCommandEvent &event)
 
void OnPositionCtlUpdated (wxCommandEvent &event)
 
void CheckPasteBufferForPosition ()
 

Static Public Member Functions

static bool ShowToolTips ()
 Should we show tooltips? More...
 

Public Attributes

wxTextCtrl * m_MarkLatCtl
 
wxTextCtrl * m_MarkLonCtl
 
wxButton * m_CancelButton
 
wxButton * m_OKButton
 
double m_lat_save
 
double m_lon_save
 
ChartCanvasm_hostCanvas
 

Detailed Description

GoToPositionDialog class declaration

Definition at line 56 of file GoToPositionDialog.h.

Constructor & Destructor Documentation

◆ GoToPositionDialog() [1/2]

GoToPositionDialog::GoToPositionDialog ( )

Constructors.

GoToPositionDialog type definition

GoToPositionDialog event table definition

GoToPositionDialog constructors

Definition at line 66 of file GoToPositionDialog.cpp.

◆ GoToPositionDialog() [2/2]

GoToPositionDialog::GoToPositionDialog ( wxWindow *  parent,
wxWindowID  id = SYMBOL_GOTOPOS_IDNAME,
const wxString &  caption = SYMBOL_GOTOPOS_TITLE,
const wxPoint &  pos = SYMBOL_GOTOPOS_POSITION,
const wxSize &  size = SYMBOL_GOTOPOS_SIZE,
long  style = SYMBOL_GOTOPOS_STYLE 
)

Definition at line 68 of file GoToPositionDialog.cpp.

◆ ~GoToPositionDialog()

GoToPositionDialog::~GoToPositionDialog ( )

Definition at line 78 of file GoToPositionDialog.cpp.

Member Function Documentation

◆ CheckPasteBufferForPosition()

void GoToPositionDialog::CheckPasteBufferForPosition ( )

Definition at line 194 of file GoToPositionDialog.cpp.

◆ Create()

bool GoToPositionDialog::Create ( wxWindow *  parent,
wxWindowID  id = SYMBOL_GOTOPOS_IDNAME,
const wxString &  caption = SYMBOL_GOTOPOS_TITLE,
const wxPoint &  pos = SYMBOL_GOTOPOS_POSITION,
const wxSize &  size = SYMBOL_GOTOPOS_SIZE,
long  style = SYMBOL_GOTOPOS_STYLE 
)

Creation.

GoToPositionDialog creator

Definition at line 87 of file GoToPositionDialog.cpp.

◆ CreateControls()

void GoToPositionDialog::CreateControls ( )

Control creation for GoToPositionDialog

Definition at line 106 of file GoToPositionDialog.cpp.

◆ OnGoToPosCancelClick()

void GoToPositionDialog::OnGoToPosCancelClick ( wxCommandEvent &  event)

Definition at line 162 of file GoToPositionDialog.cpp.

◆ OnGoToPosOkClick()

void GoToPositionDialog::OnGoToPosOkClick ( wxCommandEvent &  event)

Definition at line 169 of file GoToPositionDialog.cpp.

◆ OnPositionCtlUpdated()

void GoToPositionDialog::OnPositionCtlUpdated ( wxCommandEvent &  event)

Definition at line 210 of file GoToPositionDialog.cpp.

◆ SetCanvas()

void GoToPositionDialog::SetCanvas ( ChartCanvas canvas)
inline

Definition at line 78 of file GoToPositionDialog.h.

◆ SetColorScheme()

void GoToPositionDialog::SetColorScheme ( ColorScheme  cs)

Definition at line 158 of file GoToPositionDialog.cpp.

◆ ShowToolTips()

bool GoToPositionDialog::ShowToolTips ( )
static

Should we show tooltips?

Definition at line 160 of file GoToPositionDialog.cpp.

Member Data Documentation

◆ m_CancelButton

wxButton* GoToPositionDialog::m_CancelButton

Definition at line 93 of file GoToPositionDialog.h.

◆ m_hostCanvas

ChartCanvas* GoToPositionDialog::m_hostCanvas

Definition at line 98 of file GoToPositionDialog.h.

◆ m_lat_save

double GoToPositionDialog::m_lat_save

Definition at line 96 of file GoToPositionDialog.h.

◆ m_lon_save

double GoToPositionDialog::m_lon_save

Definition at line 97 of file GoToPositionDialog.h.

◆ m_MarkLatCtl

wxTextCtrl* GoToPositionDialog::m_MarkLatCtl

Definition at line 91 of file GoToPositionDialog.h.

◆ m_MarkLonCtl

wxTextCtrl* GoToPositionDialog::m_MarkLonCtl

Definition at line 92 of file GoToPositionDialog.h.

◆ m_OKButton

wxButton* GoToPositionDialog::m_OKButton

Definition at line 94 of file GoToPositionDialog.h.


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