11 #include "VTBuilder_UI.h"
26 RoadDlg( wxWindow *parent, wxWindowID
id,
const wxString &title,
27 const wxPoint& pos = wxDefaultPosition,
28 const wxSize& size = wxDefaultSize,
29 long style = wxDEFAULT_DIALOG_STYLE );
33 void AccumulateState(
LinkEdit *pRoad);
34 void TransferStateToControls();
38 wxTextCtrl* GetMarginWidth() {
return (wxTextCtrl*) FindWindow( ID_MARGIN_WIDTH ); }
39 wxTextCtrl* GetParkingWidth() {
return (wxTextCtrl*) FindWindow( ID_PARKING_WIDTH ); }
40 wxTextCtrl* GetCurbHeight() {
return (wxTextCtrl*) FindWindow( ID_CURB_HEIGHT ); }
41 wxTextCtrl* GetSidewalkWidth() {
return (wxTextCtrl*) FindWindow( ID_SIDEWALK_WIDTH ); }
42 wxTextCtrl* GetLaneWidth() {
return (wxTextCtrl*) FindWindow( ID_LANE_WIDTH ); }
43 wxListBox* GetSurfType() {
return (wxListBox*) FindWindow( ID_SURFTYPE ); }
44 wxChoice* GetMargin() {
return (wxChoice*) FindWindow( ID_MARGIN ); }
45 wxChoice* GetParking() {
return (wxChoice*) FindWindow( ID_PARKING ); }
46 wxChoice* GetSidewalk() {
return (wxChoice*) FindWindow( ID_SIDEWALK ); }
47 wxTextCtrl* GetHwyName() {
return (wxTextCtrl*) FindWindow( ID_HWYNAME ); }
48 wxTextCtrl* GetNumLanes() {
return (wxTextCtrl*) FindWindow( ID_NUMLANES ); }
62 float m_fSidewalkWidth;
66 float m_fParkingWidth;
70 void OnOK( wxCommandEvent &
event );
71 void OnInitDialog(wxInitDialogEvent& event);
77 #endif // __RoadDlg_H__