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 #ifndef __JUCE_HEADER_24D73157539FBFD0__
|
andrewm@46
|
21 #define __JUCE_HEADER_24D73157539FBFD0__
|
andrewm@46
|
22
|
andrewm@46
|
23 //[Headers] -- You can add your own extra header files here --
|
andrewm@50
|
24 #ifndef TOUCHKEYS_NO_GUI
|
andrewm@50
|
25
|
andrewm@46
|
26 #include "JuceHeader.h"
|
andrewm@46
|
27 #include "TouchkeyReleaseAngleMappingFactory.h"
|
andrewm@46
|
28 //[/Headers]
|
andrewm@46
|
29
|
andrewm@46
|
30
|
andrewm@46
|
31
|
andrewm@46
|
32 //==============================================================================
|
andrewm@46
|
33 /**
|
andrewm@46
|
34 //[Comments]
|
andrewm@46
|
35 An auto-generated component, created by the Introjucer.
|
andrewm@46
|
36
|
andrewm@46
|
37 Describe your class and how it works here!
|
andrewm@46
|
38 //[/Comments]
|
andrewm@46
|
39 */
|
andrewm@46
|
40 class TouchkeyReleaseAngleMappingExtendedEditor : public MappingEditorComponent,
|
andrewm@46
|
41 public TextEditor::Listener,
|
andrewm@46
|
42 public ComboBoxListener,
|
andrewm@46
|
43 public ButtonListener
|
andrewm@46
|
44 {
|
andrewm@46
|
45 public:
|
andrewm@46
|
46 //==============================================================================
|
andrewm@46
|
47 TouchkeyReleaseAngleMappingExtendedEditor (TouchkeyReleaseAngleMappingFactory& factory);
|
andrewm@46
|
48 ~TouchkeyReleaseAngleMappingExtendedEditor();
|
andrewm@46
|
49
|
andrewm@46
|
50 //==============================================================================
|
andrewm@46
|
51 //[UserMethods] -- You can add your own custom methods in this section.
|
andrewm@46
|
52 void textEditorTextChanged(TextEditor &editor) {}
|
andrewm@46
|
53 void textEditorReturnKeyPressed(TextEditor &editor);
|
andrewm@46
|
54 void textEditorEscapeKeyPressed(TextEditor &editor);
|
andrewm@46
|
55 void textEditorFocusLost(TextEditor &editor);
|
andrewm@46
|
56
|
andrewm@46
|
57 void synchronize();
|
andrewm@46
|
58 String getDescription();
|
andrewm@46
|
59 //[/UserMethods]
|
andrewm@46
|
60
|
andrewm@46
|
61 void paint (Graphics& g);
|
andrewm@46
|
62 void resized();
|
andrewm@46
|
63 void comboBoxChanged (ComboBox* comboBoxThatHasChanged);
|
andrewm@46
|
64 void buttonClicked (Button* buttonThatWasClicked);
|
andrewm@46
|
65
|
andrewm@46
|
66
|
andrewm@46
|
67
|
andrewm@46
|
68 private:
|
andrewm@46
|
69 //[UserVariables] -- You can add your own custom variables in this section.
|
andrewm@46
|
70 void intToString(char *st, int value);
|
andrewm@46
|
71
|
andrewm@46
|
72 String getDescriptionHelper(String baseName);
|
andrewm@46
|
73
|
andrewm@46
|
74 TouchkeyReleaseAngleMappingFactory& factory_;
|
andrewm@46
|
75 //[/UserVariables]
|
andrewm@46
|
76
|
andrewm@46
|
77 //==============================================================================
|
andrewm@46
|
78 ScopedPointer<Label> titleLabel;
|
andrewm@46
|
79 ScopedPointer<Label> presetLabel;
|
andrewm@46
|
80 ScopedPointer<ComboBox> presetComboBox;
|
andrewm@46
|
81 ScopedPointer<Label> presetLabel2;
|
andrewm@46
|
82 ScopedPointer<TextEditor> windowLengthEditor;
|
andrewm@46
|
83 ScopedPointer<Label> presetLabel3;
|
andrewm@46
|
84 ScopedPointer<Label> presetLabel4;
|
andrewm@46
|
85 ScopedPointer<TextEditor> upMinSpeedEditor;
|
andrewm@46
|
86 ScopedPointer<Label> presetLabel5;
|
andrewm@46
|
87 ScopedPointer<TextEditor> upNote1Editor;
|
andrewm@46
|
88 ScopedPointer<Label> presetLabel6;
|
andrewm@46
|
89 ScopedPointer<TextEditor> upNote2Editor;
|
andrewm@46
|
90 ScopedPointer<TextEditor> upNote3Editor;
|
andrewm@46
|
91 ScopedPointer<Label> presetLabel7;
|
andrewm@46
|
92 ScopedPointer<TextEditor> upVelocity1Editor;
|
andrewm@46
|
93 ScopedPointer<TextEditor> upVelocity2Editor;
|
andrewm@46
|
94 ScopedPointer<TextEditor> upVelocity3Editor;
|
andrewm@46
|
95 ScopedPointer<Label> presetLabel8;
|
andrewm@46
|
96 ScopedPointer<TextEditor> downMinSpeedEditor;
|
andrewm@46
|
97 ScopedPointer<Label> presetLabel9;
|
andrewm@46
|
98 ScopedPointer<TextEditor> downNote1Editor;
|
andrewm@46
|
99 ScopedPointer<Label> presetLabel10;
|
andrewm@46
|
100 ScopedPointer<TextEditor> downNote2Editor;
|
andrewm@46
|
101 ScopedPointer<TextEditor> downNote3Editor;
|
andrewm@46
|
102 ScopedPointer<Label> presetLabel11;
|
andrewm@46
|
103 ScopedPointer<TextEditor> downVelocity1Editor;
|
andrewm@46
|
104 ScopedPointer<TextEditor> downVelocity2Editor;
|
andrewm@46
|
105 ScopedPointer<TextEditor> downVelocity3Editor;
|
andrewm@46
|
106 ScopedPointer<ToggleButton> upEnableButton;
|
andrewm@46
|
107 ScopedPointer<ToggleButton> downEnableButton;
|
andrewm@46
|
108
|
andrewm@46
|
109
|
andrewm@46
|
110 //==============================================================================
|
andrewm@46
|
111 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TouchkeyReleaseAngleMappingExtendedEditor)
|
andrewm@46
|
112 };
|
andrewm@46
|
113
|
andrewm@46
|
114 //[EndFile] You can add extra defines here...
|
andrewm@50
|
115 #endif // TOUCHKEYS_NO_GUI
|
andrewm@46
|
116 //[/EndFile]
|
andrewm@46
|
117
|
andrewm@46
|
118 #endif // __JUCE_HEADER_24D73157539FBFD0__
|