Go to the documentation of this file.
32 #ifndef TTA_BRIDGE_DIALOG_HH
33 #define TTA_BRIDGE_DIALOG_HH
36 #include <wx/statline.h>
62 void onOK(wxCommandEvent&);
64 void onHelp(wxCommandEvent& event);
65 void onName(wxCommandEvent&);
113 DECLARE_EVENT_TABLE()
wxCheckBox * bidirectionalBox_
Indicates whether the bridge is bidirectional.
wxString inputBus_
Name of the bridge input bus.
void onName(wxCommandEvent &)
wxChoice * outputBusChoice_
Output bus choice control.
wxString name_
Name of the bridge.
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
void onHelp(wxCommandEvent &event)
void onBidirectional(wxCommandEvent &)
virtual bool TransferDataToWindow()
void onOK(wxCommandEvent &)
TTAMachine::Machine * machine_
Parent machine of the bridge(s).
void onInputBus(wxCommandEvent &)
wxString oppositeName_
Name of the opposite bridge.
bool adding_
Indicates whether we are adding a bridge or not.
void onOutputBus(wxCommandEvent &)
wxTextCtrl * oppositeNameCtrl_
Opposite name control.
BridgeDialog(wxWindow *parent, TTAMachine::Bridge *bridge, TTAMachine::Bridge *opposite)
wxChoice * inputBusChoice_
Input bus choice control.
bool bidirectional_
Indicates whether we are modifying a bidirectional bridge or not.
wxString outputBus_
Name of the bridge output bus.
void onCancel(wxCommandEvent &)