andrewm@0
|
1 /*
|
andrewm@0
|
2 ==============================================================================
|
andrewm@0
|
3
|
andrewm@0
|
4 This is an automatically generated GUI class created by the Introjucer!
|
andrewm@0
|
5
|
andrewm@0
|
6 Be careful when adding custom code to these files, as only the code within
|
andrewm@0
|
7 the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
andrewm@0
|
8 and re-saved.
|
andrewm@0
|
9
|
andrewm@0
|
10 Created with Introjucer version: 3.1.0
|
andrewm@0
|
11
|
andrewm@0
|
12 ------------------------------------------------------------------------------
|
andrewm@0
|
13
|
andrewm@0
|
14 The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
|
andrewm@0
|
15 Copyright 2004-13 by Raw Material Software Ltd.
|
andrewm@0
|
16
|
andrewm@0
|
17 ==============================================================================
|
andrewm@0
|
18 */
|
andrewm@0
|
19
|
andrewm@0
|
20 #ifndef __JUCE_HEADER_15DE9AB413FD564C__
|
andrewm@0
|
21 #define __JUCE_HEADER_15DE9AB413FD564C__
|
andrewm@0
|
22
|
andrewm@0
|
23 //[Headers] -- You can add your own extra header files here --
|
andrewm@50
|
24 #ifndef TOUCHKEYS_NO_GUI
|
andrewm@50
|
25
|
andrewm@0
|
26 #include "JuceHeader.h"
|
andrewm@0
|
27 #include "TouchkeyVibratoMappingFactory.h"
|
andrewm@0
|
28 //[/Headers]
|
andrewm@0
|
29
|
andrewm@0
|
30
|
andrewm@0
|
31
|
andrewm@0
|
32 //==============================================================================
|
andrewm@0
|
33 /**
|
andrewm@0
|
34 //[Comments]
|
andrewm@0
|
35 An auto-generated component, created by the Introjucer.
|
andrewm@0
|
36
|
andrewm@0
|
37 Describe your class and how it works here!
|
andrewm@0
|
38 //[/Comments]
|
andrewm@0
|
39 */
|
andrewm@0
|
40 class TouchkeyVibratoMappingShortEditor : public MappingEditorComponent,
|
andrewm@0
|
41 public TextEditor::Listener,
|
andrewm@0
|
42 public ComboBoxListener
|
andrewm@0
|
43 {
|
andrewm@0
|
44 public:
|
andrewm@0
|
45 //==============================================================================
|
andrewm@0
|
46 TouchkeyVibratoMappingShortEditor (TouchkeyVibratoMappingFactory& factory);
|
andrewm@0
|
47 ~TouchkeyVibratoMappingShortEditor();
|
andrewm@0
|
48
|
andrewm@0
|
49 //==============================================================================
|
andrewm@0
|
50 //[UserMethods] -- You can add your own custom methods in this section.
|
andrewm@0
|
51 // TextEditor listener methods
|
andrewm@0
|
52 void textEditorTextChanged(TextEditor &editor) {}
|
andrewm@0
|
53 void textEditorReturnKeyPressed(TextEditor &editor);
|
andrewm@0
|
54 void textEditorEscapeKeyPressed(TextEditor &editor);
|
andrewm@0
|
55 void textEditorFocusLost(TextEditor &editor);
|
andrewm@0
|
56
|
andrewm@0
|
57 void synchronize();
|
andrewm@0
|
58 //[/UserMethods]
|
andrewm@0
|
59
|
andrewm@0
|
60 void paint (Graphics& g);
|
andrewm@0
|
61 void resized();
|
andrewm@0
|
62 void comboBoxChanged (ComboBox* comboBoxThatHasChanged);
|
andrewm@0
|
63
|
andrewm@0
|
64
|
andrewm@0
|
65
|
andrewm@0
|
66 private:
|
andrewm@0
|
67 //[UserVariables] -- You can add your own custom variables in this section.
|
andrewm@0
|
68 TouchkeyVibratoMappingFactory& factory_;
|
andrewm@0
|
69 //[/UserVariables]
|
andrewm@0
|
70
|
andrewm@0
|
71 //==============================================================================
|
andrewm@0
|
72 ScopedPointer<TextEditor> rangeEditor;
|
andrewm@0
|
73 ScopedPointer<Label> rangeLabel;
|
andrewm@0
|
74 ScopedPointer<TextEditor> thresholdEditor;
|
andrewm@0
|
75 ScopedPointer<Label> thresholdLabel;
|
andrewm@0
|
76 ScopedPointer<Label> controlLabel;
|
andrewm@0
|
77 ScopedPointer<ComboBox> controlComboBox;
|
andrewm@0
|
78
|
andrewm@0
|
79
|
andrewm@0
|
80 //==============================================================================
|
andrewm@0
|
81 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TouchkeyVibratoMappingShortEditor)
|
andrewm@0
|
82 };
|
andrewm@0
|
83
|
andrewm@0
|
84 //[EndFile] You can add extra defines here...
|
andrewm@50
|
85 #endif // TOUCHKEYS_NO_GUI
|
andrewm@0
|
86 //[/EndFile]
|
andrewm@0
|
87
|
andrewm@0
|
88 #endif // __JUCE_HEADER_15DE9AB413FD564C__
|