andrewm@0: /* andrewm@0: ============================================================================== andrewm@0: andrewm@0: This is an automatically generated GUI class created by the Introjucer! andrewm@0: andrewm@0: Be careful when adding custom code to these files, as only the code within andrewm@0: the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded andrewm@0: and re-saved. andrewm@0: andrewm@0: Created with Introjucer version: 3.1.0 andrewm@0: andrewm@0: ------------------------------------------------------------------------------ andrewm@0: andrewm@0: The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions" andrewm@0: Copyright 2004-13 by Raw Material Software Ltd. andrewm@0: andrewm@0: ============================================================================== andrewm@0: */ andrewm@0: andrewm@0: #ifndef __JUCE_HEADER_4586FE55775717B6__ andrewm@0: #define __JUCE_HEADER_4586FE55775717B6__ andrewm@0: andrewm@0: //[Headers] -- You can add your own extra header files here -- andrewm@0: andrewm@0: //#include "../../Shared/LookAndFeelCustom.h" //used to be _nographics andrewm@0: //[/Headers] andrewm@0: andrewm@0: andrewm@0: andrewm@0: //============================================================================== andrewm@0: /** andrewm@0: //[Comments] andrewm@0: An auto-generated component, created by the Jucer. andrewm@0: andrewm@0: Describe your class and how it works here! andrewm@0: //[/Comments] andrewm@0: */ andrewm@0: class DistortionAudioProcessorEditor : public AudioProcessorEditor, andrewm@0: public Timer, andrewm@0: public ButtonListener, andrewm@0: public SliderListener, andrewm@0: public ComboBoxListener andrewm@0: { andrewm@0: public: andrewm@0: //============================================================================== andrewm@0: DistortionAudioProcessorEditor (DistortionAudioProcessor* ownerFilter); andrewm@0: ~DistortionAudioProcessorEditor(); andrewm@0: andrewm@0: //============================================================================== andrewm@0: //[UserMethods] -- You can add your own custom methods in this section. andrewm@0: void timerCallback(); andrewm@0: //[/UserMethods] andrewm@0: andrewm@0: void paint (Graphics& g); andrewm@0: void resized(); andrewm@0: void buttonClicked (Button* buttonThatWasClicked); andrewm@0: void sliderValueChanged (Slider* sliderThatWasMoved); andrewm@0: void comboBoxChanged (ComboBox* comboBoxThatHasChanged); andrewm@0: andrewm@0: andrewm@0: andrewm@0: private: andrewm@0: //[UserVariables] -- You can add your own custom variables in this section. andrewm@0: andrewm@0: ScopedPointer resizer; andrewm@0: ComponentBoundsConstrainer resizeLimits; andrewm@0: andrewm@0: //static LookAndFeelCustom* customLookAndFeel; andrewm@0: andrewm@0: AudioPlayHead::CurrentPositionInfo lastDisplayedPosition; andrewm@0: andrewm@0: DistortionAudioProcessor* getProcessor() const andrewm@0: { andrewm@0: return static_cast (getAudioProcessor()); andrewm@0: } andrewm@0: andrewm@0: void displayPositionInfo (const AudioPlayHead::CurrentPositionInfo& pos); andrewm@0: andrewm@0: void UpdateInterfaceValues(); andrewm@0: andrewm@0: void SetComboBoxActivity(ComboBox * comboBox, bool active); andrewm@0: void SetSliderActivity(Slider * slider, bool active); andrewm@0: andrewm@0: andrewm@0: //[/UserVariables] andrewm@0: andrewm@0: //============================================================================== andrewm@0: ScopedPointer resetButton; andrewm@0: ScopedPointer gainSlider; andrewm@0: ScopedPointer typeComboBox; andrewm@0: andrewm@0: andrewm@0: //============================================================================== andrewm@0: JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (DistortionAudioProcessorEditor) andrewm@0: }; andrewm@0: andrewm@0: //[EndFile] You can add extra defines here... andrewm@0: //[/EndFile] andrewm@0: andrewm@0: #endif // __JUCE_HEADER_4586FE55775717B6__