andrewm@46
|
1 /*
|
andrewm@46
|
2 ==============================================================================
|
andrewm@46
|
3
|
andrewm@46
|
4 This is an automatically generated GUI class created by the Introjucer!
|
andrewm@46
|
5
|
andrewm@46
|
6 Be careful when adding custom code to these files, as only the code within
|
andrewm@46
|
7 the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
andrewm@46
|
8 and re-saved.
|
andrewm@46
|
9
|
andrewm@46
|
10 Created with Introjucer version: 3.1.0
|
andrewm@46
|
11
|
andrewm@46
|
12 ------------------------------------------------------------------------------
|
andrewm@46
|
13
|
andrewm@46
|
14 The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
|
andrewm@46
|
15 Copyright 2004-13 by Raw Material Software Ltd.
|
andrewm@46
|
16
|
andrewm@46
|
17 ==============================================================================
|
andrewm@46
|
18 */
|
andrewm@46
|
19
|
andrewm@46
|
20 //[Headers] You can add your own extra header files here...
|
andrewm@50
|
21 #ifndef TOUCHKEYS_NO_GUI
|
andrewm@46
|
22 //[/Headers]
|
andrewm@46
|
23
|
andrewm@46
|
24 #include "TouchkeyReleaseAngleMappingExtendedEditor.h"
|
andrewm@46
|
25
|
andrewm@46
|
26
|
andrewm@46
|
27 //[MiscUserDefs] You can add your own user definitions and misc code here...
|
andrewm@46
|
28 //[/MiscUserDefs]
|
andrewm@46
|
29
|
andrewm@46
|
30 //==============================================================================
|
andrewm@46
|
31 TouchkeyReleaseAngleMappingExtendedEditor::TouchkeyReleaseAngleMappingExtendedEditor (TouchkeyReleaseAngleMappingFactory& factory)
|
andrewm@46
|
32 : factory_(factory)
|
andrewm@46
|
33 {
|
andrewm@46
|
34 addAndMakeVisible (titleLabel = new Label ("title label",
|
andrewm@46
|
35 TRANS("Release Angle Mapping (Zone N, #M)")));
|
andrewm@46
|
36 titleLabel->setFont (Font (15.00f, Font::bold));
|
andrewm@46
|
37 titleLabel->setJustificationType (Justification::centredLeft);
|
andrewm@46
|
38 titleLabel->setEditable (false, false, false);
|
andrewm@46
|
39 titleLabel->setColour (TextEditor::textColourId, Colours::black);
|
andrewm@46
|
40 titleLabel->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
andrewm@46
|
41
|
andrewm@46
|
42 addAndMakeVisible (presetLabel = new Label ("preset label",
|
andrewm@46
|
43 TRANS("Preset:")));
|
andrewm@46
|
44 presetLabel->setFont (Font (15.00f, Font::plain));
|
andrewm@46
|
45 presetLabel->setJustificationType (Justification::centredLeft);
|
andrewm@46
|
46 presetLabel->setEditable (false, false, false);
|
andrewm@46
|
47 presetLabel->setColour (TextEditor::textColourId, Colours::black);
|
andrewm@46
|
48 presetLabel->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
andrewm@46
|
49
|
andrewm@46
|
50 addAndMakeVisible (presetComboBox = new ComboBox ("parameter combo box"));
|
andrewm@46
|
51 presetComboBox->setEditableText (false);
|
andrewm@46
|
52 presetComboBox->setJustificationType (Justification::centredLeft);
|
andrewm@46
|
53 presetComboBox->setTextWhenNothingSelected (String::empty);
|
andrewm@46
|
54 presetComboBox->setTextWhenNoChoicesAvailable (TRANS("(no choices)"));
|
andrewm@46
|
55 presetComboBox->addListener (this);
|
andrewm@46
|
56
|
andrewm@46
|
57 addAndMakeVisible (presetLabel2 = new Label ("preset label",
|
andrewm@46
|
58 TRANS("Window Length:")));
|
andrewm@46
|
59 presetLabel2->setFont (Font (15.00f, Font::plain));
|
andrewm@46
|
60 presetLabel2->setJustificationType (Justification::centredLeft);
|
andrewm@46
|
61 presetLabel2->setEditable (false, false, false);
|
andrewm@46
|
62 presetLabel2->setColour (TextEditor::textColourId, Colours::black);
|
andrewm@46
|
63 presetLabel2->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
andrewm@46
|
64
|
andrewm@46
|
65 addAndMakeVisible (windowLengthEditor = new TextEditor ("range low text editor"));
|
andrewm@46
|
66 windowLengthEditor->setMultiLine (false);
|
andrewm@46
|
67 windowLengthEditor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
68 windowLengthEditor->setReadOnly (false);
|
andrewm@46
|
69 windowLengthEditor->setScrollbarsShown (true);
|
andrewm@46
|
70 windowLengthEditor->setCaretVisible (true);
|
andrewm@46
|
71 windowLengthEditor->setPopupMenuEnabled (true);
|
andrewm@46
|
72 windowLengthEditor->setText (String::empty);
|
andrewm@46
|
73
|
andrewm@46
|
74 addAndMakeVisible (presetLabel3 = new Label ("preset label",
|
andrewm@46
|
75 TRANS("ms. before release")));
|
andrewm@46
|
76 presetLabel3->setFont (Font (15.00f, Font::plain));
|
andrewm@46
|
77 presetLabel3->setJustificationType (Justification::centredLeft);
|
andrewm@46
|
78 presetLabel3->setEditable (false, false, false);
|
andrewm@46
|
79 presetLabel3->setColour (TextEditor::textColourId, Colours::black);
|
andrewm@46
|
80 presetLabel3->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
andrewm@46
|
81
|
andrewm@46
|
82 addAndMakeVisible (presetLabel4 = new Label ("preset label",
|
andrewm@46
|
83 TRANS("Release Moving Up")));
|
andrewm@46
|
84 presetLabel4->setFont (Font (15.00f, Font::bold));
|
andrewm@46
|
85 presetLabel4->setJustificationType (Justification::centredLeft);
|
andrewm@46
|
86 presetLabel4->setEditable (false, false, false);
|
andrewm@46
|
87 presetLabel4->setColour (TextEditor::textColourId, Colours::black);
|
andrewm@46
|
88 presetLabel4->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
andrewm@46
|
89
|
andrewm@46
|
90 addAndMakeVisible (upMinSpeedEditor = new TextEditor ("up release speed editor"));
|
andrewm@46
|
91 upMinSpeedEditor->setMultiLine (false);
|
andrewm@46
|
92 upMinSpeedEditor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
93 upMinSpeedEditor->setReadOnly (false);
|
andrewm@46
|
94 upMinSpeedEditor->setScrollbarsShown (true);
|
andrewm@46
|
95 upMinSpeedEditor->setCaretVisible (true);
|
andrewm@46
|
96 upMinSpeedEditor->setPopupMenuEnabled (true);
|
andrewm@46
|
97 upMinSpeedEditor->setText (String::empty);
|
andrewm@46
|
98
|
andrewm@46
|
99 addAndMakeVisible (presetLabel5 = new Label ("preset label",
|
andrewm@46
|
100 TRANS("Min. release speed:")));
|
andrewm@46
|
101 presetLabel5->setFont (Font (15.00f, Font::plain));
|
andrewm@46
|
102 presetLabel5->setJustificationType (Justification::centredRight);
|
andrewm@46
|
103 presetLabel5->setEditable (false, false, false);
|
andrewm@46
|
104 presetLabel5->setColour (TextEditor::textColourId, Colours::black);
|
andrewm@46
|
105 presetLabel5->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
andrewm@46
|
106
|
andrewm@46
|
107 addAndMakeVisible (upNote1Editor = new TextEditor ("up note 1 editor"));
|
andrewm@46
|
108 upNote1Editor->setMultiLine (false);
|
andrewm@46
|
109 upNote1Editor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
110 upNote1Editor->setReadOnly (false);
|
andrewm@46
|
111 upNote1Editor->setScrollbarsShown (true);
|
andrewm@46
|
112 upNote1Editor->setCaretVisible (true);
|
andrewm@46
|
113 upNote1Editor->setPopupMenuEnabled (true);
|
andrewm@46
|
114 upNote1Editor->setText (String::empty);
|
andrewm@46
|
115
|
andrewm@46
|
116 addAndMakeVisible (presetLabel6 = new Label ("preset label",
|
andrewm@46
|
117 TRANS("Send notes:")));
|
andrewm@46
|
118 presetLabel6->setFont (Font (15.00f, Font::plain));
|
andrewm@46
|
119 presetLabel6->setJustificationType (Justification::centredRight);
|
andrewm@46
|
120 presetLabel6->setEditable (false, false, false);
|
andrewm@46
|
121 presetLabel6->setColour (TextEditor::textColourId, Colours::black);
|
andrewm@46
|
122 presetLabel6->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
andrewm@46
|
123
|
andrewm@46
|
124 addAndMakeVisible (upNote2Editor = new TextEditor ("up note 2 editor"));
|
andrewm@46
|
125 upNote2Editor->setMultiLine (false);
|
andrewm@46
|
126 upNote2Editor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
127 upNote2Editor->setReadOnly (false);
|
andrewm@46
|
128 upNote2Editor->setScrollbarsShown (true);
|
andrewm@46
|
129 upNote2Editor->setCaretVisible (true);
|
andrewm@46
|
130 upNote2Editor->setPopupMenuEnabled (true);
|
andrewm@46
|
131 upNote2Editor->setText (String::empty);
|
andrewm@46
|
132
|
andrewm@46
|
133 addAndMakeVisible (upNote3Editor = new TextEditor ("up note 3 editor"));
|
andrewm@46
|
134 upNote3Editor->setMultiLine (false);
|
andrewm@46
|
135 upNote3Editor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
136 upNote3Editor->setReadOnly (false);
|
andrewm@46
|
137 upNote3Editor->setScrollbarsShown (true);
|
andrewm@46
|
138 upNote3Editor->setCaretVisible (true);
|
andrewm@46
|
139 upNote3Editor->setPopupMenuEnabled (true);
|
andrewm@46
|
140 upNote3Editor->setText (String::empty);
|
andrewm@46
|
141
|
andrewm@46
|
142 addAndMakeVisible (presetLabel7 = new Label ("preset label",
|
andrewm@46
|
143 TRANS("With velocities:")));
|
andrewm@46
|
144 presetLabel7->setFont (Font (15.00f, Font::plain));
|
andrewm@46
|
145 presetLabel7->setJustificationType (Justification::centredRight);
|
andrewm@46
|
146 presetLabel7->setEditable (false, false, false);
|
andrewm@46
|
147 presetLabel7->setColour (TextEditor::textColourId, Colours::black);
|
andrewm@46
|
148 presetLabel7->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
andrewm@46
|
149
|
andrewm@46
|
150 addAndMakeVisible (upVelocity1Editor = new TextEditor ("up velocity 1 editor"));
|
andrewm@46
|
151 upVelocity1Editor->setMultiLine (false);
|
andrewm@46
|
152 upVelocity1Editor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
153 upVelocity1Editor->setReadOnly (false);
|
andrewm@46
|
154 upVelocity1Editor->setScrollbarsShown (true);
|
andrewm@46
|
155 upVelocity1Editor->setCaretVisible (true);
|
andrewm@46
|
156 upVelocity1Editor->setPopupMenuEnabled (true);
|
andrewm@46
|
157 upVelocity1Editor->setText (String::empty);
|
andrewm@46
|
158
|
andrewm@46
|
159 addAndMakeVisible (upVelocity2Editor = new TextEditor ("up velocity 2 editor"));
|
andrewm@46
|
160 upVelocity2Editor->setMultiLine (false);
|
andrewm@46
|
161 upVelocity2Editor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
162 upVelocity2Editor->setReadOnly (false);
|
andrewm@46
|
163 upVelocity2Editor->setScrollbarsShown (true);
|
andrewm@46
|
164 upVelocity2Editor->setCaretVisible (true);
|
andrewm@46
|
165 upVelocity2Editor->setPopupMenuEnabled (true);
|
andrewm@46
|
166 upVelocity2Editor->setText (String::empty);
|
andrewm@46
|
167
|
andrewm@46
|
168 addAndMakeVisible (upVelocity3Editor = new TextEditor ("up velocity 3 editor"));
|
andrewm@46
|
169 upVelocity3Editor->setMultiLine (false);
|
andrewm@46
|
170 upVelocity3Editor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
171 upVelocity3Editor->setReadOnly (false);
|
andrewm@46
|
172 upVelocity3Editor->setScrollbarsShown (true);
|
andrewm@46
|
173 upVelocity3Editor->setCaretVisible (true);
|
andrewm@46
|
174 upVelocity3Editor->setPopupMenuEnabled (true);
|
andrewm@46
|
175 upVelocity3Editor->setText (String::empty);
|
andrewm@46
|
176
|
andrewm@46
|
177 addAndMakeVisible (presetLabel8 = new Label ("preset label",
|
andrewm@46
|
178 TRANS("Release Moving Down")));
|
andrewm@46
|
179 presetLabel8->setFont (Font (15.00f, Font::bold));
|
andrewm@46
|
180 presetLabel8->setJustificationType (Justification::centredLeft);
|
andrewm@46
|
181 presetLabel8->setEditable (false, false, false);
|
andrewm@46
|
182 presetLabel8->setColour (TextEditor::textColourId, Colours::black);
|
andrewm@46
|
183 presetLabel8->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
andrewm@46
|
184
|
andrewm@46
|
185 addAndMakeVisible (downMinSpeedEditor = new TextEditor ("down release speed editor"));
|
andrewm@46
|
186 downMinSpeedEditor->setMultiLine (false);
|
andrewm@46
|
187 downMinSpeedEditor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
188 downMinSpeedEditor->setReadOnly (false);
|
andrewm@46
|
189 downMinSpeedEditor->setScrollbarsShown (true);
|
andrewm@46
|
190 downMinSpeedEditor->setCaretVisible (true);
|
andrewm@46
|
191 downMinSpeedEditor->setPopupMenuEnabled (true);
|
andrewm@46
|
192 downMinSpeedEditor->setText (String::empty);
|
andrewm@46
|
193
|
andrewm@46
|
194 addAndMakeVisible (presetLabel9 = new Label ("preset label",
|
andrewm@46
|
195 TRANS("Min. release speed:")));
|
andrewm@46
|
196 presetLabel9->setFont (Font (15.00f, Font::plain));
|
andrewm@46
|
197 presetLabel9->setJustificationType (Justification::centredRight);
|
andrewm@46
|
198 presetLabel9->setEditable (false, false, false);
|
andrewm@46
|
199 presetLabel9->setColour (TextEditor::textColourId, Colours::black);
|
andrewm@46
|
200 presetLabel9->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
andrewm@46
|
201
|
andrewm@46
|
202 addAndMakeVisible (downNote1Editor = new TextEditor ("down note 1 editor"));
|
andrewm@46
|
203 downNote1Editor->setMultiLine (false);
|
andrewm@46
|
204 downNote1Editor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
205 downNote1Editor->setReadOnly (false);
|
andrewm@46
|
206 downNote1Editor->setScrollbarsShown (true);
|
andrewm@46
|
207 downNote1Editor->setCaretVisible (true);
|
andrewm@46
|
208 downNote1Editor->setPopupMenuEnabled (true);
|
andrewm@46
|
209 downNote1Editor->setText (String::empty);
|
andrewm@46
|
210
|
andrewm@46
|
211 addAndMakeVisible (presetLabel10 = new Label ("preset label",
|
andrewm@46
|
212 TRANS("Send notes:")));
|
andrewm@46
|
213 presetLabel10->setFont (Font (15.00f, Font::plain));
|
andrewm@46
|
214 presetLabel10->setJustificationType (Justification::centredRight);
|
andrewm@46
|
215 presetLabel10->setEditable (false, false, false);
|
andrewm@46
|
216 presetLabel10->setColour (TextEditor::textColourId, Colours::black);
|
andrewm@46
|
217 presetLabel10->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
andrewm@46
|
218
|
andrewm@46
|
219 addAndMakeVisible (downNote2Editor = new TextEditor ("down note 2 editor"));
|
andrewm@46
|
220 downNote2Editor->setMultiLine (false);
|
andrewm@46
|
221 downNote2Editor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
222 downNote2Editor->setReadOnly (false);
|
andrewm@46
|
223 downNote2Editor->setScrollbarsShown (true);
|
andrewm@46
|
224 downNote2Editor->setCaretVisible (true);
|
andrewm@46
|
225 downNote2Editor->setPopupMenuEnabled (true);
|
andrewm@46
|
226 downNote2Editor->setText (String::empty);
|
andrewm@46
|
227
|
andrewm@46
|
228 addAndMakeVisible (downNote3Editor = new TextEditor ("down note 3 editor"));
|
andrewm@46
|
229 downNote3Editor->setMultiLine (false);
|
andrewm@46
|
230 downNote3Editor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
231 downNote3Editor->setReadOnly (false);
|
andrewm@46
|
232 downNote3Editor->setScrollbarsShown (true);
|
andrewm@46
|
233 downNote3Editor->setCaretVisible (true);
|
andrewm@46
|
234 downNote3Editor->setPopupMenuEnabled (true);
|
andrewm@46
|
235 downNote3Editor->setText (String::empty);
|
andrewm@46
|
236
|
andrewm@46
|
237 addAndMakeVisible (presetLabel11 = new Label ("preset label",
|
andrewm@46
|
238 TRANS("With velocities:")));
|
andrewm@46
|
239 presetLabel11->setFont (Font (15.00f, Font::plain));
|
andrewm@46
|
240 presetLabel11->setJustificationType (Justification::centredRight);
|
andrewm@46
|
241 presetLabel11->setEditable (false, false, false);
|
andrewm@46
|
242 presetLabel11->setColour (TextEditor::textColourId, Colours::black);
|
andrewm@46
|
243 presetLabel11->setColour (TextEditor::backgroundColourId, Colour (0x00000000));
|
andrewm@46
|
244
|
andrewm@46
|
245 addAndMakeVisible (downVelocity1Editor = new TextEditor ("down velocity 1 editor"));
|
andrewm@46
|
246 downVelocity1Editor->setMultiLine (false);
|
andrewm@46
|
247 downVelocity1Editor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
248 downVelocity1Editor->setReadOnly (false);
|
andrewm@46
|
249 downVelocity1Editor->setScrollbarsShown (true);
|
andrewm@46
|
250 downVelocity1Editor->setCaretVisible (true);
|
andrewm@46
|
251 downVelocity1Editor->setPopupMenuEnabled (true);
|
andrewm@46
|
252 downVelocity1Editor->setText (String::empty);
|
andrewm@46
|
253
|
andrewm@46
|
254 addAndMakeVisible (downVelocity2Editor = new TextEditor ("down velocity 2 editor"));
|
andrewm@46
|
255 downVelocity2Editor->setMultiLine (false);
|
andrewm@46
|
256 downVelocity2Editor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
257 downVelocity2Editor->setReadOnly (false);
|
andrewm@46
|
258 downVelocity2Editor->setScrollbarsShown (true);
|
andrewm@46
|
259 downVelocity2Editor->setCaretVisible (true);
|
andrewm@46
|
260 downVelocity2Editor->setPopupMenuEnabled (true);
|
andrewm@46
|
261 downVelocity2Editor->setText (String::empty);
|
andrewm@46
|
262
|
andrewm@46
|
263 addAndMakeVisible (downVelocity3Editor = new TextEditor ("down velocity 3 editor"));
|
andrewm@46
|
264 downVelocity3Editor->setMultiLine (false);
|
andrewm@46
|
265 downVelocity3Editor->setReturnKeyStartsNewLine (false);
|
andrewm@46
|
266 downVelocity3Editor->setReadOnly (false);
|
andrewm@46
|
267 downVelocity3Editor->setScrollbarsShown (true);
|
andrewm@46
|
268 downVelocity3Editor->setCaretVisible (true);
|
andrewm@46
|
269 downVelocity3Editor->setPopupMenuEnabled (true);
|
andrewm@46
|
270 downVelocity3Editor->setText (String::empty);
|
andrewm@46
|
271
|
andrewm@46
|
272 addAndMakeVisible (upEnableButton = new ToggleButton ("up enable button"));
|
andrewm@46
|
273 upEnableButton->setButtonText (TRANS("Enable"));
|
andrewm@46
|
274 upEnableButton->addListener (this);
|
andrewm@46
|
275
|
andrewm@46
|
276 addAndMakeVisible (downEnableButton = new ToggleButton ("down enable button"));
|
andrewm@46
|
277 downEnableButton->setButtonText (TRANS("Enable"));
|
andrewm@46
|
278 downEnableButton->addListener (this);
|
andrewm@46
|
279
|
andrewm@46
|
280
|
andrewm@46
|
281 //[UserPreSize]
|
andrewm@46
|
282 for(int i = 0; i < factory_.getNumConfigurations(); i++) {
|
andrewm@46
|
283 presetComboBox->addItem(factory_.getConfigurationName(i).c_str(), i+1);
|
andrewm@46
|
284 }
|
andrewm@46
|
285
|
andrewm@46
|
286 windowLengthEditor->addListener(this);
|
andrewm@46
|
287 upMinSpeedEditor->addListener(this);
|
andrewm@46
|
288 downMinSpeedEditor->addListener(this);
|
andrewm@46
|
289 upNote1Editor->addListener(this);
|
andrewm@46
|
290 upNote2Editor->addListener(this);
|
andrewm@46
|
291 upNote3Editor->addListener(this);
|
andrewm@46
|
292 upVelocity1Editor->addListener(this);
|
andrewm@46
|
293 upVelocity2Editor->addListener(this);
|
andrewm@46
|
294 upVelocity3Editor->addListener(this);
|
andrewm@46
|
295 downNote1Editor->addListener(this);
|
andrewm@46
|
296 downNote2Editor->addListener(this);
|
andrewm@46
|
297 downNote3Editor->addListener(this);
|
andrewm@46
|
298 downVelocity1Editor->addListener(this);
|
andrewm@46
|
299 downVelocity2Editor->addListener(this);
|
andrewm@46
|
300 downVelocity3Editor->addListener(this);
|
andrewm@46
|
301 //[/UserPreSize]
|
andrewm@46
|
302
|
andrewm@46
|
303 setSize (342, 328);
|
andrewm@46
|
304
|
andrewm@46
|
305
|
andrewm@46
|
306 //[Constructor] You can add your own custom stuff here..
|
andrewm@46
|
307 //[/Constructor]
|
andrewm@46
|
308 }
|
andrewm@46
|
309
|
andrewm@46
|
310 TouchkeyReleaseAngleMappingExtendedEditor::~TouchkeyReleaseAngleMappingExtendedEditor()
|
andrewm@46
|
311 {
|
andrewm@46
|
312 //[Destructor_pre]. You can add your own custom destruction code here..
|
andrewm@46
|
313 //[/Destructor_pre]
|
andrewm@46
|
314
|
andrewm@46
|
315 titleLabel = nullptr;
|
andrewm@46
|
316 presetLabel = nullptr;
|
andrewm@46
|
317 presetComboBox = nullptr;
|
andrewm@46
|
318 presetLabel2 = nullptr;
|
andrewm@46
|
319 windowLengthEditor = nullptr;
|
andrewm@46
|
320 presetLabel3 = nullptr;
|
andrewm@46
|
321 presetLabel4 = nullptr;
|
andrewm@46
|
322 upMinSpeedEditor = nullptr;
|
andrewm@46
|
323 presetLabel5 = nullptr;
|
andrewm@46
|
324 upNote1Editor = nullptr;
|
andrewm@46
|
325 presetLabel6 = nullptr;
|
andrewm@46
|
326 upNote2Editor = nullptr;
|
andrewm@46
|
327 upNote3Editor = nullptr;
|
andrewm@46
|
328 presetLabel7 = nullptr;
|
andrewm@46
|
329 upVelocity1Editor = nullptr;
|
andrewm@46
|
330 upVelocity2Editor = nullptr;
|
andrewm@46
|
331 upVelocity3Editor = nullptr;
|
andrewm@46
|
332 presetLabel8 = nullptr;
|
andrewm@46
|
333 downMinSpeedEditor = nullptr;
|
andrewm@46
|
334 presetLabel9 = nullptr;
|
andrewm@46
|
335 downNote1Editor = nullptr;
|
andrewm@46
|
336 presetLabel10 = nullptr;
|
andrewm@46
|
337 downNote2Editor = nullptr;
|
andrewm@46
|
338 downNote3Editor = nullptr;
|
andrewm@46
|
339 presetLabel11 = nullptr;
|
andrewm@46
|
340 downVelocity1Editor = nullptr;
|
andrewm@46
|
341 downVelocity2Editor = nullptr;
|
andrewm@46
|
342 downVelocity3Editor = nullptr;
|
andrewm@46
|
343 upEnableButton = nullptr;
|
andrewm@46
|
344 downEnableButton = nullptr;
|
andrewm@46
|
345
|
andrewm@46
|
346
|
andrewm@46
|
347 //[Destructor]. You can add your own custom destruction code here..
|
andrewm@46
|
348 //[/Destructor]
|
andrewm@46
|
349 }
|
andrewm@46
|
350
|
andrewm@46
|
351 //==============================================================================
|
andrewm@46
|
352 void TouchkeyReleaseAngleMappingExtendedEditor::paint (Graphics& g)
|
andrewm@46
|
353 {
|
andrewm@46
|
354 //[UserPrePaint] Add your own custom painting code here..
|
andrewm@46
|
355 //[/UserPrePaint]
|
andrewm@46
|
356
|
andrewm@46
|
357 g.fillAll (Colour (0xffd2d2d2));
|
andrewm@46
|
358
|
andrewm@46
|
359 //[UserPaint] Add your own custom painting code here..
|
andrewm@46
|
360 //[/UserPaint]
|
andrewm@46
|
361 }
|
andrewm@46
|
362
|
andrewm@46
|
363 void TouchkeyReleaseAngleMappingExtendedEditor::resized()
|
andrewm@46
|
364 {
|
andrewm@46
|
365 titleLabel->setBounds (8, 8, 424, 24);
|
andrewm@46
|
366 presetLabel->setBounds (8, 40, 56, 24);
|
andrewm@46
|
367 presetComboBox->setBounds (64, 40, 264, 24);
|
andrewm@46
|
368 presetLabel2->setBounds (8, 80, 112, 24);
|
andrewm@46
|
369 windowLengthEditor->setBounds (120, 80, 56, 24);
|
andrewm@46
|
370 presetLabel3->setBounds (176, 80, 136, 24);
|
andrewm@46
|
371 presetLabel4->setBounds (8, 112, 136, 24);
|
andrewm@46
|
372 upMinSpeedEditor->setBounds (144, 136, 56, 24);
|
andrewm@46
|
373 presetLabel5->setBounds (8, 136, 136, 24);
|
andrewm@46
|
374 upNote1Editor->setBounds (144, 160, 56, 24);
|
andrewm@46
|
375 presetLabel6->setBounds (8, 160, 136, 24);
|
andrewm@46
|
376 upNote2Editor->setBounds (208, 160, 56, 24);
|
andrewm@46
|
377 upNote3Editor->setBounds (272, 160, 56, 24);
|
andrewm@46
|
378 presetLabel7->setBounds (8, 184, 136, 24);
|
andrewm@46
|
379 upVelocity1Editor->setBounds (144, 184, 56, 24);
|
andrewm@46
|
380 upVelocity2Editor->setBounds (208, 184, 56, 24);
|
andrewm@46
|
381 upVelocity3Editor->setBounds (272, 184, 56, 24);
|
andrewm@46
|
382 presetLabel8->setBounds (8, 216, 160, 24);
|
andrewm@46
|
383 downMinSpeedEditor->setBounds (144, 240, 56, 24);
|
andrewm@46
|
384 presetLabel9->setBounds (8, 240, 136, 24);
|
andrewm@46
|
385 downNote1Editor->setBounds (144, 264, 56, 24);
|
andrewm@46
|
386 presetLabel10->setBounds (8, 264, 136, 24);
|
andrewm@46
|
387 downNote2Editor->setBounds (208, 264, 56, 24);
|
andrewm@46
|
388 downNote3Editor->setBounds (272, 264, 56, 24);
|
andrewm@46
|
389 presetLabel11->setBounds (8, 288, 136, 24);
|
andrewm@46
|
390 downVelocity1Editor->setBounds (144, 288, 56, 24);
|
andrewm@46
|
391 downVelocity2Editor->setBounds (208, 288, 56, 24);
|
andrewm@46
|
392 downVelocity3Editor->setBounds (272, 288, 56, 24);
|
andrewm@46
|
393 upEnableButton->setBounds (208, 112, 72, 24);
|
andrewm@46
|
394 downEnableButton->setBounds (208, 216, 72, 24);
|
andrewm@46
|
395 //[UserResized] Add your own custom resize handling here..
|
andrewm@46
|
396 //[/UserResized]
|
andrewm@46
|
397 }
|
andrewm@46
|
398
|
andrewm@46
|
399 void TouchkeyReleaseAngleMappingExtendedEditor::comboBoxChanged (ComboBox* comboBoxThatHasChanged)
|
andrewm@46
|
400 {
|
andrewm@46
|
401 //[UsercomboBoxChanged_Pre]
|
andrewm@46
|
402 //[/UsercomboBoxChanged_Pre]
|
andrewm@46
|
403
|
andrewm@46
|
404 if (comboBoxThatHasChanged == presetComboBox)
|
andrewm@46
|
405 {
|
andrewm@46
|
406 //[UserComboBoxCode_presetComboBox] -- add your combo box handling code here..
|
andrewm@46
|
407 int index = presetComboBox->getSelectedItemIndex();
|
andrewm@46
|
408 factory_.setCurrentConfiguration(index);
|
andrewm@46
|
409 //[/UserComboBoxCode_presetComboBox]
|
andrewm@46
|
410 }
|
andrewm@46
|
411
|
andrewm@46
|
412 //[UsercomboBoxChanged_Post]
|
andrewm@46
|
413 //[/UsercomboBoxChanged_Post]
|
andrewm@46
|
414 }
|
andrewm@46
|
415
|
andrewm@46
|
416 void TouchkeyReleaseAngleMappingExtendedEditor::buttonClicked (Button* buttonThatWasClicked)
|
andrewm@46
|
417 {
|
andrewm@46
|
418 //[UserbuttonClicked_Pre]
|
andrewm@46
|
419 //[/UserbuttonClicked_Pre]
|
andrewm@46
|
420
|
andrewm@46
|
421 if (buttonThatWasClicked == upEnableButton)
|
andrewm@46
|
422 {
|
andrewm@46
|
423 //[UserButtonCode_upEnableButton] -- add your button handler code here..
|
andrewm@46
|
424 factory_.setUpMessagesEnabled(upEnableButton->getToggleState());
|
andrewm@46
|
425 //[/UserButtonCode_upEnableButton]
|
andrewm@46
|
426 }
|
andrewm@46
|
427 else if (buttonThatWasClicked == downEnableButton)
|
andrewm@46
|
428 {
|
andrewm@46
|
429 //[UserButtonCode_downEnableButton] -- add your button handler code here..
|
andrewm@46
|
430 factory_.setDownMessagesEnabled(downEnableButton->getToggleState());
|
andrewm@46
|
431 //[/UserButtonCode_downEnableButton]
|
andrewm@46
|
432 }
|
andrewm@46
|
433
|
andrewm@46
|
434 //[UserbuttonClicked_Post]
|
andrewm@46
|
435 //[/UserbuttonClicked_Post]
|
andrewm@46
|
436 }
|
andrewm@46
|
437
|
andrewm@46
|
438
|
andrewm@46
|
439
|
andrewm@46
|
440 //[MiscUserCode] You can add your own definitions of your custom methods or any other code here...
|
andrewm@46
|
441
|
andrewm@46
|
442 void TouchkeyReleaseAngleMappingExtendedEditor::textEditorReturnKeyPressed(TextEditor &editor)
|
andrewm@46
|
443 {
|
andrewm@46
|
444 if(&editor == windowLengthEditor) {
|
andrewm@46
|
445 float windowLength = atof(windowLengthEditor->getText().toUTF8());
|
andrewm@46
|
446 factory_.setWindowSize(windowLength);
|
andrewm@46
|
447 }
|
andrewm@46
|
448 else if(&editor == upMinSpeedEditor) {
|
andrewm@46
|
449 float speed = atof(upMinSpeedEditor->getText().toUTF8());
|
andrewm@46
|
450 factory_.setUpMinimumAngle(speed);
|
andrewm@46
|
451 }
|
andrewm@46
|
452 else if(&editor == downMinSpeedEditor) {
|
andrewm@46
|
453 float speed = atof(downMinSpeedEditor->getText().toUTF8());
|
andrewm@46
|
454 factory_.setDownMinimumAngle(speed);
|
andrewm@46
|
455 }
|
andrewm@46
|
456 else {
|
andrewm@46
|
457 // All the other editors are int values
|
andrewm@46
|
458 int value = atoi(editor.getText().toUTF8());
|
andrewm@46
|
459
|
andrewm@46
|
460 if(&editor == upNote1Editor)
|
andrewm@46
|
461 factory_.setUpNote(0, value);
|
andrewm@46
|
462 else if(&editor == upNote2Editor)
|
andrewm@46
|
463 factory_.setUpNote(1, value);
|
andrewm@46
|
464 else if(&editor == upNote3Editor)
|
andrewm@46
|
465 factory_.setUpNote(2, value);
|
andrewm@46
|
466 else if(&editor == upVelocity1Editor)
|
andrewm@46
|
467 factory_.setUpVelocity(0, value);
|
andrewm@46
|
468 else if(&editor == upVelocity2Editor)
|
andrewm@46
|
469 factory_.setUpVelocity(1, value);
|
andrewm@46
|
470 else if(&editor == upVelocity3Editor)
|
andrewm@46
|
471 factory_.setUpVelocity(2, value);
|
andrewm@46
|
472 else if(&editor == downNote1Editor)
|
andrewm@46
|
473 factory_.setDownNote(0, value);
|
andrewm@46
|
474 else if(&editor == downNote2Editor)
|
andrewm@46
|
475 factory_.setDownNote(1, value);
|
andrewm@46
|
476 else if(&editor == downNote3Editor)
|
andrewm@46
|
477 factory_.setDownNote(2, value);
|
andrewm@46
|
478 else if(&editor == downVelocity1Editor)
|
andrewm@46
|
479 factory_.setDownVelocity(0, value);
|
andrewm@46
|
480 else if(&editor == downVelocity2Editor)
|
andrewm@46
|
481 factory_.setDownVelocity(1, value);
|
andrewm@46
|
482 else if(&editor == downVelocity3Editor)
|
andrewm@46
|
483 factory_.setDownVelocity(2, value);
|
andrewm@46
|
484 }
|
andrewm@46
|
485 }
|
andrewm@46
|
486
|
andrewm@46
|
487 void TouchkeyReleaseAngleMappingExtendedEditor::textEditorEscapeKeyPressed(TextEditor &editor)
|
andrewm@46
|
488 {
|
andrewm@46
|
489
|
andrewm@46
|
490 }
|
andrewm@46
|
491
|
andrewm@46
|
492 void TouchkeyReleaseAngleMappingExtendedEditor::textEditorFocusLost(TextEditor &editor)
|
andrewm@46
|
493 {
|
andrewm@46
|
494 textEditorReturnKeyPressed(editor);
|
andrewm@46
|
495 }
|
andrewm@46
|
496
|
andrewm@46
|
497 void TouchkeyReleaseAngleMappingExtendedEditor::synchronize()
|
andrewm@46
|
498 {
|
andrewm@46
|
499 // Set the title label
|
andrewm@46
|
500 titleLabel->setText(getDescriptionHelper("Release Angle Mapping"), dontSendNotification);
|
andrewm@46
|
501
|
andrewm@46
|
502 // Update the editors to reflect the current status
|
andrewm@46
|
503 if(!windowLengthEditor->hasKeyboardFocus(true)) {
|
andrewm@46
|
504 float value = factory_.getWindowSize();
|
andrewm@46
|
505 char st[16];
|
andrewm@46
|
506 #ifdef _MSC_VER
|
andrewm@46
|
507 _snprintf_s(st, 16, _TRUNCATE, "%.0f", value);
|
andrewm@46
|
508 #else
|
andrewm@46
|
509 snprintf(st, 16, "%.0f", value);
|
andrewm@46
|
510 #endif
|
andrewm@46
|
511 windowLengthEditor->setText(st);
|
andrewm@46
|
512 }
|
andrewm@46
|
513
|
andrewm@46
|
514 if(!upMinSpeedEditor->hasKeyboardFocus(true)) {
|
andrewm@46
|
515 float value = factory_.getUpMinimumAngle();
|
andrewm@46
|
516 char st[16];
|
andrewm@46
|
517 #ifdef _MSC_VER
|
andrewm@46
|
518 _snprintf_s(st, 16, _TRUNCATE, "%.2f", value);
|
andrewm@46
|
519 #else
|
andrewm@46
|
520 snprintf(st, 16, "%.2f", value);
|
andrewm@46
|
521 #endif
|
andrewm@46
|
522
|
andrewm@46
|
523 upMinSpeedEditor->setText(st);
|
andrewm@46
|
524 }
|
andrewm@46
|
525
|
andrewm@46
|
526 if(!downMinSpeedEditor->hasKeyboardFocus(true)) {
|
andrewm@46
|
527 float value = factory_.getDownMinimumAngle();
|
andrewm@46
|
528 char st[16];
|
andrewm@46
|
529 #ifdef _MSC_VER
|
andrewm@46
|
530 _snprintf_s(st, 16, _TRUNCATE, "%.2f", value);
|
andrewm@46
|
531 #else
|
andrewm@46
|
532 snprintf(st, 16, "%.2f", value);
|
andrewm@46
|
533 #endif
|
andrewm@46
|
534
|
andrewm@46
|
535 downMinSpeedEditor->setText(st);
|
andrewm@46
|
536 }
|
andrewm@46
|
537
|
andrewm@46
|
538 char st[16];
|
andrewm@46
|
539
|
andrewm@46
|
540 if(!upNote1Editor->hasKeyboardFocus(true)) {
|
andrewm@46
|
541 intToString(st, factory_.getUpNote(0));
|
andrewm@46
|
542 upNote1Editor->setText(st);
|
andrewm@46
|
543 }
|
andrewm@46
|
544 if(!upNote2Editor->hasKeyboardFocus(true)) {
|
andrewm@46
|
545 intToString(st, factory_.getUpNote(1));
|
andrewm@46
|
546 upNote2Editor->setText(st);
|
andrewm@46
|
547 }
|
andrewm@46
|
548 if(!upNote3Editor->hasKeyboardFocus(true)) {
|
andrewm@46
|
549 intToString(st, factory_.getUpNote(2));
|
andrewm@46
|
550 upNote3Editor->setText(st);
|
andrewm@46
|
551 }
|
andrewm@46
|
552 if(!upVelocity1Editor->hasKeyboardFocus(true)) {
|
andrewm@46
|
553 intToString(st, factory_.getUpVelocity(0));
|
andrewm@46
|
554 upVelocity1Editor->setText(st);
|
andrewm@46
|
555 }
|
andrewm@46
|
556 if(!upVelocity2Editor->hasKeyboardFocus(true)) {
|
andrewm@46
|
557 intToString(st, factory_.getUpVelocity(1));
|
andrewm@46
|
558 upVelocity2Editor->setText(st);
|
andrewm@46
|
559 }
|
andrewm@46
|
560 if(!upVelocity3Editor->hasKeyboardFocus(true)) {
|
andrewm@46
|
561 intToString(st, factory_.getUpVelocity(2));
|
andrewm@46
|
562 upVelocity3Editor->setText(st);
|
andrewm@46
|
563 }
|
andrewm@46
|
564 if(!downNote1Editor->hasKeyboardFocus(true)) {
|
andrewm@46
|
565 intToString(st, factory_.getDownNote(0));
|
andrewm@46
|
566 downNote1Editor->setText(st);
|
andrewm@46
|
567 }
|
andrewm@46
|
568 if(!downNote2Editor->hasKeyboardFocus(true)) {
|
andrewm@46
|
569 intToString(st, factory_.getDownNote(1));
|
andrewm@46
|
570 downNote2Editor->setText(st);
|
andrewm@46
|
571 }
|
andrewm@46
|
572 if(!downNote3Editor->hasKeyboardFocus(true)) {
|
andrewm@46
|
573 intToString(st, factory_.getDownNote(2));
|
andrewm@46
|
574 downNote3Editor->setText(st);
|
andrewm@46
|
575 }
|
andrewm@46
|
576 if(!downVelocity1Editor->hasKeyboardFocus(true)) {
|
andrewm@46
|
577 intToString(st, factory_.getDownVelocity(0));
|
andrewm@46
|
578 downVelocity1Editor->setText(st);
|
andrewm@46
|
579 }
|
andrewm@46
|
580 if(!downVelocity2Editor->hasKeyboardFocus(true)) {
|
andrewm@46
|
581 intToString(st, factory_.getDownVelocity(1));
|
andrewm@46
|
582 downVelocity2Editor->setText(st);
|
andrewm@46
|
583 }
|
andrewm@46
|
584 if(!downVelocity3Editor->hasKeyboardFocus(true)) {
|
andrewm@46
|
585 intToString(st, factory_.getDownVelocity(2));
|
andrewm@46
|
586 downVelocity3Editor->setText(st);
|
andrewm@46
|
587 }
|
andrewm@46
|
588
|
andrewm@46
|
589 upEnableButton->setToggleState(factory_.getUpMessagesEnabled(), dontSendNotification);
|
andrewm@46
|
590 downEnableButton->setToggleState(factory_.getDownMessageEnabled(), dontSendNotification);
|
andrewm@46
|
591
|
andrewm@46
|
592 int configuration = factory_.getCurrentConfiguration();
|
andrewm@46
|
593 if(configuration >= 0)
|
andrewm@46
|
594 presetComboBox->setSelectedItemIndex(configuration, dontSendNotification);
|
andrewm@46
|
595 else
|
andrewm@46
|
596 presetComboBox->setText("");
|
andrewm@46
|
597 }
|
andrewm@46
|
598
|
andrewm@46
|
599 // Return a human-readable description of this mapping for the window
|
andrewm@46
|
600 String TouchkeyReleaseAngleMappingExtendedEditor::getDescription() {
|
andrewm@46
|
601 return getDescriptionHelper("Release Angle");
|
andrewm@46
|
602 }
|
andrewm@46
|
603
|
andrewm@46
|
604 // Return a human-readable description of this mapping for the window
|
andrewm@46
|
605 String TouchkeyReleaseAngleMappingExtendedEditor::getDescriptionHelper(String baseName) {
|
andrewm@46
|
606 String desc = baseName;
|
andrewm@46
|
607
|
andrewm@46
|
608 desc += " (Zone ";
|
andrewm@46
|
609
|
andrewm@46
|
610 int zone = factory_.segment().outputPort();
|
andrewm@46
|
611 desc += zone;
|
andrewm@46
|
612 desc += ", #";
|
andrewm@46
|
613
|
andrewm@46
|
614 int mappingNumber = factory_.segment().indexOfMappingFactory(&factory_);
|
andrewm@46
|
615 desc += mappingNumber;
|
andrewm@46
|
616 desc += ")";
|
andrewm@46
|
617
|
andrewm@46
|
618 return desc;
|
andrewm@46
|
619 }
|
andrewm@46
|
620
|
andrewm@46
|
621 // Cross-platform helper function to deal with weird Visual Studio definitions...
|
andrewm@46
|
622 void TouchkeyReleaseAngleMappingExtendedEditor::intToString(char *st, int value) {
|
andrewm@46
|
623 #ifdef _MSC_VER
|
andrewm@46
|
624 _snprintf_s(st, 16, _TRUNCATE, "%d", value);
|
andrewm@46
|
625 #else
|
andrewm@46
|
626 snprintf(st, 16, "%d", value);
|
andrewm@46
|
627 #endif
|
andrewm@46
|
628 }
|
andrewm@46
|
629
|
andrewm@46
|
630 //[/MiscUserCode]
|
andrewm@46
|
631
|
andrewm@46
|
632
|
andrewm@46
|
633 //==============================================================================
|
andrewm@46
|
634 #if 0
|
andrewm@46
|
635 /* -- Introjucer information section --
|
andrewm@46
|
636
|
andrewm@46
|
637 This is where the Introjucer stores the metadata that describe this GUI layout, so
|
andrewm@46
|
638 make changes in here at your peril!
|
andrewm@46
|
639
|
andrewm@46
|
640 BEGIN_JUCER_METADATA
|
andrewm@46
|
641
|
andrewm@46
|
642 <JUCER_COMPONENT documentType="Component" className="TouchkeyReleaseAngleMappingExtendedEditor"
|
andrewm@46
|
643 componentName="" parentClasses="public MappingEditorComponent, public TextEditor::Listener"
|
andrewm@46
|
644 constructorParams="TouchkeyReleaseAngleMappingFactory& factory"
|
andrewm@46
|
645 variableInitialisers="factory_(factory)" snapPixels="8" snapActive="1"
|
andrewm@46
|
646 snapShown="1" overlayOpacity="0.330" fixedSize="1" initialWidth="342"
|
andrewm@46
|
647 initialHeight="328">
|
andrewm@46
|
648 <BACKGROUND backgroundColour="ffd2d2d2"/>
|
andrewm@46
|
649 <LABEL name="title label" id="2346b62ce034bea2" memberName="titleLabel"
|
andrewm@46
|
650 virtualName="" explicitFocusOrder="0" pos="8 8 424 24" edTextCol="ff000000"
|
andrewm@46
|
651 edBkgCol="0" labelText="Release Angle Mapping (Zone N, #M)" editableSingleClick="0"
|
andrewm@46
|
652 editableDoubleClick="0" focusDiscardsChanges="0" fontname="Default font"
|
andrewm@46
|
653 fontsize="15" bold="1" italic="0" justification="33"/>
|
andrewm@46
|
654 <LABEL name="preset label" id="5ef7c1b78fdcf616" memberName="presetLabel"
|
andrewm@46
|
655 virtualName="" explicitFocusOrder="0" pos="8 40 56 24" edTextCol="ff000000"
|
andrewm@46
|
656 edBkgCol="0" labelText="Preset:" editableSingleClick="0" editableDoubleClick="0"
|
andrewm@46
|
657 focusDiscardsChanges="0" fontname="Default font" fontsize="15"
|
andrewm@46
|
658 bold="0" italic="0" justification="33"/>
|
andrewm@46
|
659 <COMBOBOX name="parameter combo box" id="f12f6f6e31042be1" memberName="presetComboBox"
|
andrewm@46
|
660 virtualName="" explicitFocusOrder="0" pos="64 40 264 24" editable="0"
|
andrewm@46
|
661 layout="33" items="" textWhenNonSelected="" textWhenNoItems="(no choices)"/>
|
andrewm@46
|
662 <LABEL name="preset label" id="6c7fb9cdad1ef615" memberName="presetLabel2"
|
andrewm@46
|
663 virtualName="" explicitFocusOrder="0" pos="8 80 112 24" edTextCol="ff000000"
|
andrewm@46
|
664 edBkgCol="0" labelText="Window Length:" editableSingleClick="0"
|
andrewm@46
|
665 editableDoubleClick="0" focusDiscardsChanges="0" fontname="Default font"
|
andrewm@46
|
666 fontsize="15" bold="0" italic="0" justification="33"/>
|
andrewm@46
|
667 <TEXTEDITOR name="range low text editor" id="db0f62c03a58af03" memberName="windowLengthEditor"
|
andrewm@46
|
668 virtualName="" explicitFocusOrder="0" pos="120 80 56 24" initialText=""
|
andrewm@46
|
669 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
670 caret="1" popupmenu="1"/>
|
andrewm@46
|
671 <LABEL name="preset label" id="bf72fc0576275cec" memberName="presetLabel3"
|
andrewm@46
|
672 virtualName="" explicitFocusOrder="0" pos="176 80 136 24" edTextCol="ff000000"
|
andrewm@46
|
673 edBkgCol="0" labelText="ms. before release" editableSingleClick="0"
|
andrewm@46
|
674 editableDoubleClick="0" focusDiscardsChanges="0" fontname="Default font"
|
andrewm@46
|
675 fontsize="15" bold="0" italic="0" justification="33"/>
|
andrewm@46
|
676 <LABEL name="preset label" id="737ac0c84cd35f2a" memberName="presetLabel4"
|
andrewm@46
|
677 virtualName="" explicitFocusOrder="0" pos="8 112 136 24" edTextCol="ff000000"
|
andrewm@46
|
678 edBkgCol="0" labelText="Release Moving Up" editableSingleClick="0"
|
andrewm@46
|
679 editableDoubleClick="0" focusDiscardsChanges="0" fontname="Default font"
|
andrewm@46
|
680 fontsize="15" bold="1" italic="0" justification="33"/>
|
andrewm@46
|
681 <TEXTEDITOR name="up release speed editor" id="6d12507cf2b05308" memberName="upMinSpeedEditor"
|
andrewm@46
|
682 virtualName="" explicitFocusOrder="0" pos="144 136 56 24" initialText=""
|
andrewm@46
|
683 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
684 caret="1" popupmenu="1"/>
|
andrewm@46
|
685 <LABEL name="preset label" id="4bf2ba2e74c7f918" memberName="presetLabel5"
|
andrewm@46
|
686 virtualName="" explicitFocusOrder="0" pos="8 136 136 24" edTextCol="ff000000"
|
andrewm@46
|
687 edBkgCol="0" labelText="Min. release speed:" editableSingleClick="0"
|
andrewm@46
|
688 editableDoubleClick="0" focusDiscardsChanges="0" fontname="Default font"
|
andrewm@46
|
689 fontsize="15" bold="0" italic="0" justification="34"/>
|
andrewm@46
|
690 <TEXTEDITOR name="up note 1 editor" id="48bc9cb4bc2b66d7" memberName="upNote1Editor"
|
andrewm@46
|
691 virtualName="" explicitFocusOrder="0" pos="144 160 56 24" initialText=""
|
andrewm@46
|
692 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
693 caret="1" popupmenu="1"/>
|
andrewm@46
|
694 <LABEL name="preset label" id="e98f51307ccd3213" memberName="presetLabel6"
|
andrewm@46
|
695 virtualName="" explicitFocusOrder="0" pos="8 160 136 24" edTextCol="ff000000"
|
andrewm@46
|
696 edBkgCol="0" labelText="Send notes:" editableSingleClick="0"
|
andrewm@46
|
697 editableDoubleClick="0" focusDiscardsChanges="0" fontname="Default font"
|
andrewm@46
|
698 fontsize="15" bold="0" italic="0" justification="34"/>
|
andrewm@46
|
699 <TEXTEDITOR name="up note 2 editor" id="a1078ce66401fa26" memberName="upNote2Editor"
|
andrewm@46
|
700 virtualName="" explicitFocusOrder="0" pos="208 160 56 24" initialText=""
|
andrewm@46
|
701 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
702 caret="1" popupmenu="1"/>
|
andrewm@46
|
703 <TEXTEDITOR name="up note 3 editor" id="3b6be211e2c57644" memberName="upNote3Editor"
|
andrewm@46
|
704 virtualName="" explicitFocusOrder="0" pos="272 160 56 24" initialText=""
|
andrewm@46
|
705 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
706 caret="1" popupmenu="1"/>
|
andrewm@46
|
707 <LABEL name="preset label" id="cd890cf41d7607bd" memberName="presetLabel7"
|
andrewm@46
|
708 virtualName="" explicitFocusOrder="0" pos="8 184 136 24" edTextCol="ff000000"
|
andrewm@46
|
709 edBkgCol="0" labelText="With velocities:" editableSingleClick="0"
|
andrewm@46
|
710 editableDoubleClick="0" focusDiscardsChanges="0" fontname="Default font"
|
andrewm@46
|
711 fontsize="15" bold="0" italic="0" justification="34"/>
|
andrewm@46
|
712 <TEXTEDITOR name="up velocity 1 editor" id="47d3d530ed72615a" memberName="upVelocity1Editor"
|
andrewm@46
|
713 virtualName="" explicitFocusOrder="0" pos="144 184 56 24" initialText=""
|
andrewm@46
|
714 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
715 caret="1" popupmenu="1"/>
|
andrewm@46
|
716 <TEXTEDITOR name="up velocity 2 editor" id="ff6d7b8e5b4a5bd6" memberName="upVelocity2Editor"
|
andrewm@46
|
717 virtualName="" explicitFocusOrder="0" pos="208 184 56 24" initialText=""
|
andrewm@46
|
718 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
719 caret="1" popupmenu="1"/>
|
andrewm@46
|
720 <TEXTEDITOR name="up velocity 3 editor" id="65dabffb4ac41d8d" memberName="upVelocity3Editor"
|
andrewm@46
|
721 virtualName="" explicitFocusOrder="0" pos="272 184 56 24" initialText=""
|
andrewm@46
|
722 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
723 caret="1" popupmenu="1"/>
|
andrewm@46
|
724 <LABEL name="preset label" id="f8444692065e742a" memberName="presetLabel8"
|
andrewm@46
|
725 virtualName="" explicitFocusOrder="0" pos="8 216 160 24" edTextCol="ff000000"
|
andrewm@46
|
726 edBkgCol="0" labelText="Release Moving Down" editableSingleClick="0"
|
andrewm@46
|
727 editableDoubleClick="0" focusDiscardsChanges="0" fontname="Default font"
|
andrewm@46
|
728 fontsize="15" bold="1" italic="0" justification="33"/>
|
andrewm@46
|
729 <TEXTEDITOR name="down release speed editor" id="4d87b35c1bd38cfd" memberName="downMinSpeedEditor"
|
andrewm@46
|
730 virtualName="" explicitFocusOrder="0" pos="144 240 56 24" initialText=""
|
andrewm@46
|
731 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
732 caret="1" popupmenu="1"/>
|
andrewm@46
|
733 <LABEL name="preset label" id="cfa916d2ffe4090d" memberName="presetLabel9"
|
andrewm@46
|
734 virtualName="" explicitFocusOrder="0" pos="8 240 136 24" edTextCol="ff000000"
|
andrewm@46
|
735 edBkgCol="0" labelText="Min. release speed:" editableSingleClick="0"
|
andrewm@46
|
736 editableDoubleClick="0" focusDiscardsChanges="0" fontname="Default font"
|
andrewm@46
|
737 fontsize="15" bold="0" italic="0" justification="34"/>
|
andrewm@46
|
738 <TEXTEDITOR name="down note 1 editor" id="fe8e24594d26ec2d" memberName="downNote1Editor"
|
andrewm@46
|
739 virtualName="" explicitFocusOrder="0" pos="144 264 56 24" initialText=""
|
andrewm@46
|
740 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
741 caret="1" popupmenu="1"/>
|
andrewm@46
|
742 <LABEL name="preset label" id="56bc59cd5ceb0e2" memberName="presetLabel10"
|
andrewm@46
|
743 virtualName="" explicitFocusOrder="0" pos="8 264 136 24" edTextCol="ff000000"
|
andrewm@46
|
744 edBkgCol="0" labelText="Send notes:" editableSingleClick="0"
|
andrewm@46
|
745 editableDoubleClick="0" focusDiscardsChanges="0" fontname="Default font"
|
andrewm@46
|
746 fontsize="15" bold="0" italic="0" justification="34"/>
|
andrewm@46
|
747 <TEXTEDITOR name="down note 2 editor" id="e0088e60d93fd53" memberName="downNote2Editor"
|
andrewm@46
|
748 virtualName="" explicitFocusOrder="0" pos="208 264 56 24" initialText=""
|
andrewm@46
|
749 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
750 caret="1" popupmenu="1"/>
|
andrewm@46
|
751 <TEXTEDITOR name="down note 3 editor" id="23571b41edd72631" memberName="downNote3Editor"
|
andrewm@46
|
752 virtualName="" explicitFocusOrder="0" pos="272 264 56 24" initialText=""
|
andrewm@46
|
753 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
754 caret="1" popupmenu="1"/>
|
andrewm@46
|
755 <LABEL name="preset label" id="a62bc5524128106c" memberName="presetLabel11"
|
andrewm@46
|
756 virtualName="" explicitFocusOrder="0" pos="8 288 136 24" edTextCol="ff000000"
|
andrewm@46
|
757 edBkgCol="0" labelText="With velocities:" editableSingleClick="0"
|
andrewm@46
|
758 editableDoubleClick="0" focusDiscardsChanges="0" fontname="Default font"
|
andrewm@46
|
759 fontsize="15" bold="0" italic="0" justification="34"/>
|
andrewm@46
|
760 <TEXTEDITOR name="down velocity 1 editor" id="f4a94019655ea3ab" memberName="downVelocity1Editor"
|
andrewm@46
|
761 virtualName="" explicitFocusOrder="0" pos="144 288 56 24" initialText=""
|
andrewm@46
|
762 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
763 caret="1" popupmenu="1"/>
|
andrewm@46
|
764 <TEXTEDITOR name="down velocity 2 editor" id="b2c75ef9c586a2e2" memberName="downVelocity2Editor"
|
andrewm@46
|
765 virtualName="" explicitFocusOrder="0" pos="208 288 56 24" initialText=""
|
andrewm@46
|
766 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
767 caret="1" popupmenu="1"/>
|
andrewm@46
|
768 <TEXTEDITOR name="down velocity 3 editor" id="96bf0ea9075d357f" memberName="downVelocity3Editor"
|
andrewm@46
|
769 virtualName="" explicitFocusOrder="0" pos="272 288 56 24" initialText=""
|
andrewm@46
|
770 multiline="0" retKeyStartsLine="0" readonly="0" scrollbars="1"
|
andrewm@46
|
771 caret="1" popupmenu="1"/>
|
andrewm@46
|
772 <TOGGLEBUTTON name="up enable button" id="d3cb9267f9296315" memberName="upEnableButton"
|
andrewm@46
|
773 virtualName="" explicitFocusOrder="0" pos="208 112 72 24" buttonText="Enable"
|
andrewm@46
|
774 connectedEdges="0" needsCallback="1" radioGroupId="0" state="0"/>
|
andrewm@46
|
775 <TOGGLEBUTTON name="down enable button" id="59af46c3b5431919" memberName="downEnableButton"
|
andrewm@46
|
776 virtualName="" explicitFocusOrder="0" pos="208 216 72 24" buttonText="Enable"
|
andrewm@46
|
777 connectedEdges="0" needsCallback="1" radioGroupId="0" state="0"/>
|
andrewm@46
|
778 </JUCER_COMPONENT>
|
andrewm@46
|
779
|
andrewm@46
|
780 END_JUCER_METADATA
|
andrewm@46
|
781 */
|
andrewm@46
|
782 #endif
|
andrewm@46
|
783
|
andrewm@46
|
784
|
andrewm@46
|
785 //[EndFile] You can add extra defines here...
|
andrewm@50
|
786 #endif // TOUCHKEYS_NO_GUI
|
andrewm@46
|
787 //[/EndFile]
|