annotate effects/reverb/Source/PluginEditor.h @ 1:04e171d2a747 tip

JUCE 4 compatible. Standardised paths on Mac: modules '../../juce/modules'; VST folder '~/SDKs/vstsdk2.4' (JUCE default). Replaced deprecated 'getSampleData(channel)'; getToggleState(...); setToggleState(...); setSelectedId(...). Removed unused variables. Ignore JUCE code and build files.
author Brecht De Man <b.deman@qmul.ac.uk>
date Sun, 22 Nov 2015 15:23:40 +0000
parents e32fe563e124
children
rev   line source
andrewm@0 1 /*
andrewm@0 2 ==============================================================================
andrewm@0 3
andrewm@0 4 This is an automatically generated GUI class created by the Introjucer!
andrewm@0 5
andrewm@0 6 Be careful when adding custom code to these files, as only the code within
andrewm@0 7 the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded
andrewm@0 8 and re-saved.
andrewm@0 9
andrewm@0 10 Created with Introjucer version: 3.1.0
andrewm@0 11
andrewm@0 12 ------------------------------------------------------------------------------
andrewm@0 13
andrewm@0 14 The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions"
andrewm@0 15 Copyright 2004-13 by Raw Material Software Ltd.
andrewm@0 16
andrewm@0 17 ==============================================================================
andrewm@0 18 */
andrewm@0 19
andrewm@0 20 #ifndef __JUCE_HEADER_3DB9693590AE4D1__
andrewm@0 21 #define __JUCE_HEADER_3DB9693590AE4D1__
andrewm@0 22
andrewm@0 23 //[Headers] -- You can add your own extra header files here --
andrewm@0 24
andrewm@0 25 //#include "../../Shared/LookAndFeelCustom.h" //used to be _nographics
andrewm@0 26 //[/Headers]
andrewm@0 27
andrewm@0 28
andrewm@0 29
andrewm@0 30 //==============================================================================
andrewm@0 31 /**
andrewm@0 32 //[Comments]
andrewm@0 33 An auto-generated component, created by the Jucer.
andrewm@0 34
andrewm@0 35 Describe your class and how it works here!
andrewm@0 36 //[/Comments]
andrewm@0 37 */
andrewm@0 38 class ReverbAudioProcessorEditor : public AudioProcessorEditor,
andrewm@0 39 public Timer,
andrewm@0 40 public SliderListener
andrewm@0 41 {
andrewm@0 42 public:
andrewm@0 43 //==============================================================================
andrewm@0 44 ReverbAudioProcessorEditor (ReverbAudioProcessor* ownerFilter);
andrewm@0 45 ~ReverbAudioProcessorEditor();
andrewm@0 46
andrewm@0 47 //==============================================================================
andrewm@0 48 //[UserMethods] -- You can add your own custom methods in this section.
andrewm@0 49 void timerCallback();
andrewm@0 50 //[/UserMethods]
andrewm@0 51
andrewm@0 52 void paint (Graphics& g);
andrewm@0 53 void resized();
andrewm@0 54 void sliderValueChanged (Slider* sliderThatWasMoved);
andrewm@0 55
andrewm@0 56
andrewm@0 57
andrewm@0 58 private:
andrewm@0 59 //[UserVariables] -- You can add your own custom variables in this section.
andrewm@0 60
andrewm@0 61 ScopedPointer<ResizableCornerComponent> resizer;
andrewm@0 62 ComponentBoundsConstrainer resizeLimits;
andrewm@0 63
andrewm@0 64 //static LookAndFeelCustom* customLookAndFeel;
andrewm@0 65
andrewm@0 66 AudioPlayHead::CurrentPositionInfo lastDisplayedPosition;
andrewm@0 67
andrewm@0 68 ReverbAudioProcessor* getProcessor() const
andrewm@0 69 {
andrewm@0 70 return static_cast <ReverbAudioProcessor*> (getAudioProcessor());
andrewm@0 71 }
andrewm@0 72
andrewm@0 73 void displayPositionInfo (const AudioPlayHead::CurrentPositionInfo& pos);
andrewm@0 74
andrewm@0 75 void UpdateInterfaceValues();
andrewm@0 76
andrewm@0 77 void SetComboBoxActivity(ComboBox * comboBox, bool active);
andrewm@0 78 void SetSliderActivity(Slider * slider, bool active);
andrewm@0 79
andrewm@0 80
andrewm@0 81 //[/UserVariables]
andrewm@0 82
andrewm@0 83 //==============================================================================
andrewm@0 84 ScopedPointer<Slider> lateEarlySlider;
andrewm@0 85 ScopedPointer<Slider> mixSlider;
andrewm@0 86 ScopedPointer<Slider> gainSlider;
andrewm@0 87 ScopedPointer<Slider> preDelaySlider;
andrewm@0 88 ScopedPointer<Slider> bandWidthSlider;
andrewm@0 89 ScopedPointer<Slider> dampSlider;
andrewm@0 90 ScopedPointer<Slider> sizeSlider;
andrewm@0 91 ScopedPointer<Slider> decaySlider;
andrewm@0 92 ScopedPointer<Slider> densitySlider;
andrewm@0 93
andrewm@0 94
andrewm@0 95 //==============================================================================
andrewm@0 96 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (ReverbAudioProcessorEditor)
andrewm@0 97 };
andrewm@0 98
andrewm@0 99 //[EndFile] You can add extra defines here...
andrewm@0 100 //[/EndFile]
andrewm@0 101
andrewm@0 102 #endif // __JUCE_HEADER_3DB9693590AE4D1__