11 #include "VTBuilder_UI.h"
13 #include "RoadMapEdit.h"
14 #include "ScaledView.h"
21 NodeDlgView(wxWindow *parent, wxWindowID
id = -1,
const wxPoint& pos = wxDefaultPosition,
22 const wxSize& size = wxDefaultSize,
long style = wxHSCROLL | wxVSCROLL,
const wxString& name = _T(
"")) :
27 void OnDraw(wxDC &dc);
38 NodeDlg( wxWindow *parent, wxWindowID
id,
const wxString &title,
39 const wxPoint& pos = wxDefaultPosition,
40 const wxSize& size = wxDefaultSize,
41 long style = wxDEFAULT_DIALOG_STYLE );
43 void SetScale(
float fScale);
45 void ApplyVisualToNode(
NodeEdit *pNode, VisualIntersectionType vitype);
48 wxListBox* GetBehavior() {
return (wxListBox*) FindWindow( ID_BEHAVIOR ); }
49 wxListBox* GetLinkNum() {
return (wxListBox*) FindWindow( ID_ROADNUM ); }
50 wxListBox* GetIntType() {
return (wxListBox*) FindWindow( ID_INTTYPE ); }
60 void OnBehavior( wxCommandEvent &
event );
61 void OnLinkNum( wxCommandEvent &event );
62 void OnIntType( wxCommandEvent &event );
63 void OnOK( wxCommandEvent &event );
64 void OnInitDialog(wxInitDialogEvent& event);
65 void OnDraw(wxDC &dc);
71 #endif // __NodeDlg_H__