Go to the documentation of this file.
32 #ifndef TTA_RF_DIALOG_HH
33 #define TTA_RF_DIALOG_HH
36 #include <wx/listctrl.h>
37 #include <wx/spinctrl.h>
53 wxSizer*
createContents(wxWindow* parent,
bool call_fit,
bool set_sizer);
56 void onOK(wxCommandEvent& event);
57 void onHelp(wxCommandEvent& event);
58 void onName(wxCommandEvent& event);
119 DECLARE_EVENT_TABLE()
wxString name_
Name of the register file.
wxStaticBoxSizer * portsSizer_
Sizer containing the port list and associated buttons.
void onPortRightClick(wxListEvent &event)
int maxWrites_
Maximum writes.
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
void onPortSelection(wxListEvent &event)
void onActivatePort(wxListEvent &event)
wxListCtrl * portListCtrl_
Port list control.
wxChoice * typeChoice_
Opcode choice control.
void onOK(wxCommandEvent &event)
int guardLatency_
Guard latency.
void onHelp(wxCommandEvent &event)
void onEditPort(wxCommandEvent &event)
void onName(wxCommandEvent &event)
virtual bool TransferDataToWindow()
int size_
Number of registers.
RFDialog(wxWindow *parent, TTAMachine::RegisterFile *registerFile)
bool zeroRegister_
Zero register.
TTAMachine::Port * selectedPort() const
TTAMachine::RegisterFile * registerFile_
Register file to modify.
void onAddPort(wxCommandEvent &event)
void onDeletePort(wxCommandEvent &event)