Go to the documentation of this file.
33 #ifndef TTA_TEMPLATE_SLOT_DIALOG_HH
34 #define TTA_TEMPLATE_SLOT_DIALOG_HH
37 #include <wx/spinctrl.h>
40 class InstructionTemplate;
59 wxSizer*
createContents(wxWindow *parent,
bool call_fit,
bool set_sizer);
61 void onOK(wxCommandEvent& event);
TTAMachine::InstructionTemplate * it_
Parent instruction template of the slot.
TemplateSlotDialog(wxWindow *parent, TTAMachine::InstructionTemplate *it, TTAMachine::TemplateSlot *slot=NULL)
virtual ~TemplateSlotDialog()
wxSpinCtrl * widthCtrl_
Spin control for the width.
wxChoice * destinationChoice_
Choice control fot the destination IU.
TTAMachine::TemplateSlot * slot_
Instruction template slot to edit.
wxChoice * slotChoice_
Choice control for the slot.
void onOK(wxCommandEvent &event)
wxSizer * createContents(wxWindow *parent, bool call_fit, bool set_sizer)
virtual bool TransferDataToWindow()
TTAMachine::ImmediateUnit * destination_
Destination immediate unit.
int width_
Bit width of the slot.