#ifndef _LINE_PROP_DIALOG_
#define _LINE_PROP_DIALOG_

#include "DlgCommon.h"

class LinePropDialog: public wxDialog{
    wxStaticBox* sizer_54_staticbox;
    wxStaticText* label_64;
    wxTextCtrl* text_ctrl_42;
    wxTextCtrl* text_ctrl_43;
    wxCheckBox* checkbox_45;
    wxCheckBox* checkbox_52;
    wxCheckBox* checkbox_53;
    wxCheckBox* checkbox_54;
    wxRadioBox* radio_box_1;
    wxStaticText* label_66;
    wxTextCtrl* text_ctrl_45;
    wxStaticText* label_67;
    wxTextCtrl* text_ctrl_46;
    wxStaticText* label_70;
    wxTextCtrl* text_ctrl_47;
    wxStaticText* label_71;
    wxChoice* choice_24;
    wxStaticText* label_69;
    wxChoice* choice_25;
    wxStaticText* label_72;
    wxChoice* choice_26;
    wxStaticText* label_68;
    wxChoice* choice_27;

    //線対象
    int lineIndex;
public:
    LinePropDialog();
    bool Create(wxWindow* parent, wxWindowID id);
    virtual ~LinePropDialog();

    //イベントテーブル作成<en>declare
    DECLARE_EVENT_TABLE()
    void OnEndpoint1Edit(wxCommandEvent &event); // wxGlade: <event_handler>
    void OnEndpoint2Edit(wxCommandEvent &event); // wxGlade: <event_handler>
    void OnLandscape(wxCommandEvent &event); // wxGlade: <event_handler>
    void OnElevation(wxCommandEvent &event); // wxGlade: <event_handler>
    void OnVariableElev(wxCommandEvent &event); // wxGlade: <event_handler>
    void OnHasTransSide(wxCommandEvent &event); // wxGlade: <event_handler>
    void OnRadioSel(wxCommandEvent &event); // wxGlade: <event_handler>
    void OnFloor(wxCommandEvent &event); // wxGlade: <event_handler>
    void OnCeiling(wxCommandEvent &event); // wxGlade: <event_handler>
    void OnClockwiseSide(wxCommandEvent &event); // wxGlade: <event_handler>
    void OnCClockwiseSide(wxCommandEvent &event); // wxGlade: <event_handler>
    void OnClockwisePoly(wxCommandEvent &event); // wxGlade: <event_handler>
    void OnCClockwisePoly(wxCommandEvent &event); // wxGlade: <event_handler>

    void setupDialog();
    int getLineIndex();
public:
    void setLineIndex(int index);
    
};

#endif
