Mercurial > hg > touchkeys
comparison Source/Mappings/Control/TouchkeyControlMappingShortEditor.cpp @ 32:5f25a9b0139e
Change the order of controllers in Control mapping to put PW and AT first
author | Andrew McPherson <andrewm@eecs.qmul.ac.uk> |
---|---|
date | Thu, 20 Mar 2014 00:18:35 +0000 |
parents | dfff66c07936 |
children | 114427cb39f0 |
comparison
equal
deleted
inserted
replaced
31:88287c1c2c92 | 32:5f25a9b0139e |
---|---|
119 | 119 |
120 typeComboBox->addItem("Absolute", TouchkeyControlMapping::kTypeAbsolute); | 120 typeComboBox->addItem("Absolute", TouchkeyControlMapping::kTypeAbsolute); |
121 typeComboBox->addItem("1st Touch Relative", TouchkeyControlMapping::kTypeFirstTouchRelative); | 121 typeComboBox->addItem("1st Touch Relative", TouchkeyControlMapping::kTypeFirstTouchRelative); |
122 typeComboBox->addItem("Note Onset Relative", TouchkeyControlMapping::kTypeNoteOnsetRelative); | 122 typeComboBox->addItem("Note Onset Relative", TouchkeyControlMapping::kTypeNoteOnsetRelative); |
123 | 123 |
124 for(int i = 1; i <= 119; i++) { | |
125 controlComboBox->addItem(String(i), i); | |
126 } | |
127 controlComboBox->addItem("Pitch Wheel", MidiKeyboardSegment::kControlPitchWheel); | 124 controlComboBox->addItem("Pitch Wheel", MidiKeyboardSegment::kControlPitchWheel); |
128 controlComboBox->addItem("Channel Pressure", MidiKeyboardSegment::kControlChannelAftertouch); | 125 controlComboBox->addItem("Channel Pressure", MidiKeyboardSegment::kControlChannelAftertouch); |
129 controlComboBox->addItem("Poly Aftertouch", MidiKeyboardSegment::kControlPolyphonicAftertouch); | 126 controlComboBox->addItem("Poly Aftertouch", MidiKeyboardSegment::kControlPolyphonicAftertouch); |
127 for(int i = 1; i <= 119; i++) { | |
128 controlComboBox->addItem(String(i), i); | |
129 } | |
130 //[/UserPreSize] | 130 //[/UserPreSize] |
131 | 131 |
132 setSize (328, 71); | 132 setSize (328, 71); |
133 | 133 |
134 | 134 |