#include <dlgpath.h>
Public Member Functions | |
CDlgPath (int sx, int sy, int ex, int ey, int nElapsedTime, float fCost, const wxString &strPath, wxWindow *pParent) | |
void | UpdateValues (int sx, int sy, int ex, int ey, int nElapsedTime, float fCost, const wxString &strPath) |
void | OnOK (wxCommandEvent &event) |
close dialog | |
void | OnCopy (wxCommandEvent &event) |
copy way to clipboard | |
void | OnSpeedChanged (wxCommandEvent &event) |
speed changed | |
void | UpdateSpeed (int speed) |
CDlgPath
shows the found path with some nice infos like path length, time needed etc. The user can copy the path to the clipboard. CDlgPath dlg( n_sx, n_sy, n_ex, n_ey, n_time, f_cost, str_path, parent ); dlg.Center(); // ... dlg.UpdateValues( n_sx, n_sy, n_ex, n_ey, n_time, f_cost, str_path );
Definition at line 46 of file dlgpath.h.
|
Constructor.
Definition at line 39 of file dlgpath.cpp. |
|
update speed label
Definition at line 118 of file dlgpath.cpp. Referenced by OnSpeedChanged(), and UpdateValues(). |
|
update values, parameters see constructor Definition at line 99 of file dlgpath.cpp. References UpdateSpeed(). |
Here is the call graph for this function: