andrewm@41
|
1 /*
|
andrewm@41
|
2 ==============================================================================
|
andrewm@41
|
3
|
andrewm@41
|
4 This is an automatically generated GUI class created by the Introjucer!
|
andrewm@41
|
5
|
andrewm@41
|
6 Be careful when adding custom code to these files, as only the code within
|
andrewm@41
|
7 the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
|
andrewm@41
|
8 and re-saved.
|
andrewm@41
|
9
|
andrewm@41
|
10 Created with Introjucer version: 3.1.0
|
andrewm@41
|
11
|
andrewm@41
|
12 ------------------------------------------------------------------------------
|
andrewm@41
|
13
|
andrewm@41
|
14 The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
|
andrewm@41
|
15 Copyright 2004-13 by Raw Material Software Ltd.
|
andrewm@41
|
16
|
andrewm@41
|
17 ==============================================================================
|
andrewm@41
|
18 */
|
andrewm@41
|
19
|
andrewm@41
|
20 #ifndef __JUCE_HEADER_AD461861885EB942__
|
andrewm@41
|
21 #define __JUCE_HEADER_AD461861885EB942__
|
andrewm@41
|
22
|
andrewm@41
|
23 //[Headers] -- You can add your own extra header files here --
|
andrewm@50
|
24 #ifndef TOUCHKEYS_NO_GUI
|
andrewm@50
|
25
|
andrewm@41
|
26 #include "JuceHeader.h"
|
andrewm@41
|
27 #include "TouchkeyControlMappingFactory.h"
|
andrewm@41
|
28 //[/Headers]
|
andrewm@41
|
29
|
andrewm@41
|
30
|
andrewm@41
|
31
|
andrewm@41
|
32 //==============================================================================
|
andrewm@41
|
33 /**
|
andrewm@41
|
34 //[Comments]
|
andrewm@41
|
35 An auto-generated component, created by the Introjucer.
|
andrewm@41
|
36
|
andrewm@41
|
37 Describe your class and how it works here!
|
andrewm@41
|
38 //[/Comments]
|
andrewm@41
|
39 */
|
andrewm@41
|
40 class TouchkeyControlMappingExtendedEditor : public MappingEditorComponent,
|
andrewm@41
|
41 public TextEditor::Listener,
|
andrewm@41
|
42 public ComboBoxListener,
|
andrewm@41
|
43 public ButtonListener
|
andrewm@41
|
44 {
|
andrewm@41
|
45 public:
|
andrewm@41
|
46 //==============================================================================
|
andrewm@41
|
47 TouchkeyControlMappingExtendedEditor (TouchkeyControlMappingFactory& factory);
|
andrewm@41
|
48 ~TouchkeyControlMappingExtendedEditor();
|
andrewm@41
|
49
|
andrewm@41
|
50 //==============================================================================
|
andrewm@41
|
51 //[UserMethods] -- You can add your own custom methods in this section.
|
andrewm@41
|
52 void textEditorTextChanged(TextEditor &editor) {}
|
andrewm@41
|
53 void textEditorReturnKeyPressed(TextEditor &editor);
|
andrewm@41
|
54 void textEditorEscapeKeyPressed(TextEditor &editor);
|
andrewm@41
|
55 void textEditorFocusLost(TextEditor &editor);
|
andrewm@41
|
56
|
andrewm@41
|
57 void synchronize();
|
andrewm@41
|
58 String getDescription();
|
andrewm@41
|
59 //[/UserMethods]
|
andrewm@41
|
60
|
andrewm@41
|
61 void paint (Graphics& g);
|
andrewm@41
|
62 void resized();
|
andrewm@41
|
63 void comboBoxChanged (ComboBox* comboBoxThatHasChanged);
|
andrewm@41
|
64 void buttonClicked (Button* buttonThatWasClicked);
|
andrewm@41
|
65
|
andrewm@41
|
66
|
andrewm@41
|
67
|
andrewm@41
|
68 private:
|
andrewm@41
|
69 //[UserVariables] -- You can add your own custom variables in this section.
|
andrewm@41
|
70 String getDescriptionHelper(String baseName);
|
andrewm@41
|
71
|
andrewm@41
|
72 TouchkeyControlMappingFactory& factory_;
|
andrewm@41
|
73 bool typeWasAbsolute_;
|
andrewm@41
|
74 //[/UserVariables]
|
andrewm@41
|
75
|
andrewm@41
|
76 //==============================================================================
|
andrewm@41
|
77 ScopedPointer<TextEditor> inputRangeLowEditor;
|
andrewm@41
|
78 ScopedPointer<Label> rangeLabel;
|
andrewm@41
|
79 ScopedPointer<Label> controlLabel;
|
andrewm@41
|
80 ScopedPointer<ComboBox> controlComboBox;
|
andrewm@41
|
81 ScopedPointer<Label> controlLabel2;
|
andrewm@41
|
82 ScopedPointer<ComboBox> parameterComboBox;
|
andrewm@41
|
83 ScopedPointer<Label> controlLabel3;
|
andrewm@41
|
84 ScopedPointer<ComboBox> typeComboBox;
|
andrewm@41
|
85 ScopedPointer<TextEditor> inputRangeHighEditor;
|
andrewm@41
|
86 ScopedPointer<Label> rangeLabel2;
|
andrewm@41
|
87 ScopedPointer<Label> rangeLabel3;
|
andrewm@41
|
88 ScopedPointer<TextEditor> outputRangeLowEditor;
|
andrewm@41
|
89 ScopedPointer<TextEditor> outputRangeHighEditor;
|
andrewm@41
|
90 ScopedPointer<Label> rangeLabel4;
|
andrewm@41
|
91 ScopedPointer<Label> controlLabel4;
|
andrewm@41
|
92 ScopedPointer<ComboBox> directionComboBox;
|
andrewm@41
|
93 ScopedPointer<Label> titleLabel;
|
andrewm@41
|
94 ScopedPointer<Label> rangeLabel5;
|
andrewm@41
|
95 ScopedPointer<TextEditor> thresholdEditor;
|
andrewm@41
|
96 ScopedPointer<ToggleButton> cc14BitButton;
|
andrewm@41
|
97 ScopedPointer<ToggleButton> ignore2FingersButton;
|
andrewm@41
|
98 ScopedPointer<ToggleButton> ignore3FingersButton;
|
andrewm@41
|
99 ScopedPointer<Label> controlLabel6;
|
andrewm@41
|
100 ScopedPointer<ComboBox> outOfRangeComboBox;
|
andrewm@41
|
101 ScopedPointer<Label> rangeLabel6;
|
andrewm@41
|
102 ScopedPointer<TextEditor> outputDefaultEditor;
|
andrewm@41
|
103
|
andrewm@41
|
104
|
andrewm@41
|
105 //==============================================================================
|
andrewm@41
|
106 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TouchkeyControlMappingExtendedEditor)
|
andrewm@41
|
107 };
|
andrewm@41
|
108
|
andrewm@41
|
109 //[EndFile] You can add extra defines here...
|
andrewm@50
|
110 #endif // TOUCHKEYS_NO_GUI
|
andrewm@41
|
111 //[/EndFile]
|
andrewm@41
|
112
|
andrewm@41
|
113 #endif // __JUCE_HEADER_AD461861885EB942__
|