#include <WaypointDialog.h>
Public Member Functions | |
| WaypointDialog (wxWindow *parent, MapControl *pctlMap, wxFont *pFont=NULL, wxString strTitleBar=wxT("Enter an address"), wxString strTitleText=wxT("Please choose a waypoint")) | |
| ~WaypointDialog () | |
| WaypointDialog destructor - delete m_Timer. | |
| bool | GetMarker (MapMarker &marker) |
| int | ShowModal () |
| This function initializes the prior addresses box, sets the title, and shows the dialog modally. | |
Public Attributes | |
| wxString | m_strTitle |
| specify the window title in this variable | |
Private Member Functions | |
| void | OnOk (wxCommandEvent &event) |
| Ok pressed - Saves the edit controls to member variables. | |
| void | OnCancel (wxCommandEvent &event) |
| Cancel pressed. | |
| void | OnAdvanced (wxCommandEvent &event) |
| Advanced pressed. | |
Private Attributes | |
| wxListBox * | m_ctlOldAddresses |
| List box containing previously entered addresses. | |
| MapControl * | m_pctlMap |
| bool | m_hasMarker |
| MapMarker | m_cMarker |
| wxFont | m_cFont |
Definition at line 42 of file WaypointDialog.h.
| WaypointDialog::WaypointDialog | ( | wxWindow * | parent, | |
| MapControl * | pctlMap, | |||
| wxFont * | pFont = NULL, |
|||
| wxString | strTitleBar = wxT("Enter an address"), |
|||
| wxString | strTitleText = wxT("Please choose a waypoint") | |||
| ) |
| WaypointDialog::~WaypointDialog | ( | ) |
| bool WaypointDialog::GetMarker | ( | MapMarker & | marker | ) |
Definition at line 297 of file WaypointDialog.cpp.
| int WaypointDialog::ShowModal | ( | ) |
This function initializes the prior addresses box, sets the title, and shows the dialog modally.
Definition at line 243 of file WaypointDialog.cpp.
| void WaypointDialog::OnOk | ( | wxCommandEvent & | event | ) | [private] |
Ok pressed - Saves the edit controls to member variables.
Definition at line 253 of file WaypointDialog.cpp.
| void WaypointDialog::OnCancel | ( | wxCommandEvent & | event | ) | [private] |
| void WaypointDialog::OnAdvanced | ( | wxCommandEvent & | event | ) | [private] |
| wxString WaypointDialog::m_strTitle |
wxListBox* WaypointDialog::m_ctlOldAddresses [private] |
MapControl* WaypointDialog::m_pctlMap [private] |
Definition at line 61 of file WaypointDialog.h.
bool WaypointDialog::m_hasMarker [private] |
Definition at line 63 of file WaypointDialog.h.
MapMarker WaypointDialog::m_cMarker [private] |
Definition at line 64 of file WaypointDialog.h.
wxFont WaypointDialog::m_cFont [private] |
Definition at line 66 of file WaypointDialog.h.
1.5.5