Go to the documentation of this file.
34 #ifndef TTA_OUTPUT_OPERAND_DIALOG_HH
35 #define TTA_OUTPUT_OPERAND_DIALOG_HH
38 #include <wx/spinctrl.h>
60 wxSizer*
createContents(wxWindow* window,
bool call_fit,
bool set_sizer);
61 void onOk(wxCommandEvent& event);
62 void onType(wxCommandEvent& event);
106 DECLARE_EVENT_TABLE()
bool memData_
Flag indicating whether operand is memory data or not.
wxSizer * createContents(wxWindow *window, bool call_fit, bool set_sizer)
wxSpinCtrl * elementWidthSpinCtrl_
Spin ctrl for operand element width.
wxChoice * outputTypesComboBox_
Choice box for operation input types.
void onElementCount(wxCommandEvent &event)
@ ID_OPERATION_OUTPUT_TYPES
Output Type ComboBox.
std::vector< std::string > outputTypes_
Output types.
std::pair< int, Operand::OperandType > operandPair
OutputOperandDialog(wxWindow *window, Operand *operand, int index)
int elemCount_
Current element count in choice box.
void onOk(wxCommandEvent &event)
void updateElementWidths()
operandList operandTypes_
int elemWidth_
Current element width in choice box.
@ ID_MEM_DATA
Memory data choice.
void onType(wxCommandEvent &event)
int type_
Current operand type in choice box.
wxChoice * elementCountChoice_
Choice box for operand element count.
std::map< int, Operand::OperandType > operandList
virtual ~OutputOperandDialog()
void onElementWidth(wxSpinEvent &event)
OutputOperandDialog & operator=(const OutputOperandDialog &)
Assignment not allowed.
Operand * operand_
Operand to be modified.
int index_
Index of the operand.
void updateElementCounts()