8 #ifndef __ImportStructDlg_H__ 
    9 #define __ImportStructDlg_H__ 
   11 #include "VTBuilder_UI.h" 
   12 #include "vtdata/StructArray.h" 
   24     ImportStructDlg( wxWindow *parent, wxWindowID 
id, 
const wxString &title,
 
   25         const wxPoint& pos = wxDefaultPosition,
 
   26         const wxSize& size = wxDefaultSize,
 
   27         long style = wxDEFAULT_DIALOG_STYLE );
 
   30     wxRadioButton* GetRadioColorFixed()  { 
return (wxRadioButton*) FindWindow( ID_RADIO_COLOR_FIXED ); }
 
   31     wxRadioButton* GetRadioColorDefault()  { 
return (wxRadioButton*) FindWindow( ID_RADIO_COLOR_DEFAULT ); }
 
   32     wxButton* GetColorBuilding()  { 
return (wxButton*) FindWindow( ID_SET_COLOR1 ); }
 
   33     wxButton* GetColorRoof()  { 
return (wxButton*) FindWindow( ID_SET_COLOR2 ); }
 
   34     wxStaticBitmap* GetColorBitmapBuilding()  { 
return (wxStaticBitmap*) FindWindow( ID_COLOR3 ); }
 
   35     wxStaticBitmap* GetColorBitmapRoof()  { 
return (wxStaticBitmap*) FindWindow( ID_COLOR4 ); }
 
   36     wxSpinCtrl* GetEdgeDeg()  { 
return (wxSpinCtrl*) FindWindow( ID_SLOPECNTR ); }
 
   37     wxChoice* GetChoiceRoofField()  { 
return (wxChoice*) FindWindow( ID_CHOICE_ROOF_FIELD ); }
 
   38     wxChoice* GetChoiceRoofType()  { 
return (wxChoice*) FindWindow( ID_CHOICE_ROOF_TYPE ); }
 
   39     wxRadioButton* GetRadioRoofField()  { 
return (wxRadioButton*) FindWindow( ID_RADIO_ROOF_FIELD ); }
 
   40     wxRadioButton* GetRadioRoofSingle()  { 
return (wxRadioButton*) FindWindow( ID_RADIO_ROOF_SINGLE ); }
 
   41     wxRadioButton* GetRadioRoofDefault()  { 
return (wxRadioButton*) FindWindow( ID_RADIO_ROOF_DEFAULT ); }
 
   42     wxChoice* GetChoiceHeightType()  { 
return (wxChoice*) FindWindow( ID_CHOICE_HEIGHT_TYPE ); }
 
   43     wxChoice* GetChoiceHeightField()  { 
return (wxChoice*) FindWindow( ID_CHOICE_HEIGHT_FIELD ); }
 
   44     wxChoice* GetChoiceFileField()  { 
return (wxChoice*) FindWindow( ID_CHOICE_FILE_FIELD ); }
 
   45     wxRadioButton* GetTypeInstance()  { 
return (wxRadioButton*) FindWindow( ID_TYPE_INSTANCE ); }
 
   46     wxRadioButton* GetTypeLinear()  { 
return (wxRadioButton*) FindWindow( ID_TYPE_LINEAR ); }
 
   47     wxRadioButton* GetTypeFootprint()  { 
return (wxRadioButton*) FindWindow( ID_TYPE_FOOTPRINT ); }
 
   48     wxRadioButton* GetTypeCenter()  { 
return (wxRadioButton*) FindWindow( ID_TYPE_CENTER ); }
 
   49     void SetFileName(
const wxString &str) { m_filename = str; }
 
   52     bool GetRadio(
int id);
 
   53     void UpdateColorControl(
bool select);
 
   67     wxString m_defaults_filename;
 
   71     void OnChoiceFileField( wxCommandEvent &
event );
 
   72     void OnChoiceHeightField( wxCommandEvent &event );
 
   73     void OnChoiceHeightType( wxCommandEvent &event );
 
   74     void OnChoiceRoofType( wxCommandEvent &event );
 
   75     void OnChoiceRoofField( wxCommandEvent &event );
 
   76     void OnRadio( wxCommandEvent &event );
 
   77     void OnInitDialog(wxInitDialogEvent& event);
 
   79     wxStaticBitmap  *m_pColorBitmapRoof;
 
   80     wxStaticBitmap  *m_pColorBitmapBuilding;
 
   84     void OnChoiceSlopeType( wxCommandEvent &event );
 
   85     void OnTextRoofDegrees( wxCommandEvent &event );
 
   86     void OnSpinRoofDegrees( wxSpinEvent &event );
 
   87     void OnColorRoof( wxCommandEvent &event );
 
   88     void OnColorBuilding( wxCommandEvent &event );