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