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