WaypointDialog Class Reference

Waypoint selection dialog box. More...

#include <WaypointDialog.h>

List of all members.

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


Detailed Description

Waypoint selection dialog box.

Definition at line 42 of file WaypointDialog.h.


Constructor & Destructor Documentation

WaypointDialog::WaypointDialog ( wxWindow *  parent,
MapControl *  pctlMap,
wxFont *  pFont = NULL,
wxString  strTitleBar = wxT("Enter an address"),
wxString  strTitleText = wxT("Please choose a waypoint") 
)

WaypointDialog::~WaypointDialog (  ) 

WaypointDialog destructor - delete m_Timer.

Definition at line 233 of file WaypointDialog.cpp.


Member Function Documentation

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]

Cancel pressed.

Definition at line 282 of file WaypointDialog.cpp.

void WaypointDialog::OnAdvanced ( wxCommandEvent &  event  )  [private]

Advanced pressed.

Definition at line 292 of file WaypointDialog.cpp.


Member Data Documentation

specify the window title in this variable

Definition at line 51 of file WaypointDialog.h.

wxListBox* WaypointDialog::m_ctlOldAddresses [private]

List box containing previously entered addresses.

Definition at line 59 of file WaypointDialog.h.

MapControl* WaypointDialog::m_pctlMap [private]

Definition at line 61 of file WaypointDialog.h.

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.


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

Generated on Sun Jul 27 17:26:21 2008 for Roadnav by  doxygen 1.5.5