annotate Source/Mappings/KeyDivision/TouchkeyKeyDivisionMappingShortEditor.h @ 56:b4a2d2ae43cf tip

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