/* ============================================================================== This is an automatically generated GUI class created by the Introjucer! Be careful when adding custom code to these files, as only the code within the "//[xyz]" and "//[/xyz]" sections will be retained when the file is loaded and re-saved. Created with Introjucer version: 3.1.0 ------------------------------------------------------------------------------ The Introjucer is part of the JUCE library - "Jules' Utility Class Extensions" Copyright 2004-13 by Raw Material Software Ltd. ============================================================================== */ #ifndef __JUCE_HEADER_AD3FF14AD0EF4DBE__ #define __JUCE_HEADER_AD3FF14AD0EF4DBE__ //[Headers] -- You can add your own extra header files here -- #include "../JuceLibraryCode/JuceHeader.h" #include "PluginProcessor.h" #include "ButtonLED.h" #include "MidiCC_PopUp.h" #include "VelKey_PopUp.h" //[/Headers] #include "ButtonLED.h" //============================================================================== /** //[Comments] An auto-generated component, created by the Jucer. Describe your class and how it works here! //[/Comments] */ class JaySynthAudioProcessorEditor : public AudioProcessorEditor, public Timer, public ButtonListener, public ActionListener, public MidiCC_PopUp_Listener, public VelKey_PopUp_Listener, public SliderListener, public LabelListener, public ComboBoxListener { public: //============================================================================== JaySynthAudioProcessorEditor (JaySynthAudioProcessor* ownerFilter, bool has_wt); ~JaySynthAudioProcessorEditor(); //============================================================================== //[UserMethods] -- You can add your own custom methods in this section. void timerCallback(); void update_sliders(); void paramUpdate(int paramID, bool doHostUpdate); void buttonClicked (Button* buttonThatWasClicked); void mouseDoubleClick (const MouseEvent &m); void mouseDown (const MouseEvent &m); void changeListenerCallback (ChangeBroadcaster* source); void actionListenerCallback (const String &message); void MidiCC_PopUp_event(int event); void VelKey_PopUp_event(int event); void MidiCC_PopUp_show(Component *componentThatWasClicked); void VelKey_PopUp_show(Component *componentThatWasClicked); int ModSrc0_findByName(String name); int ModSrc1_findByName(String name); int ModSrcOP_findByName(String name); int ModSrc1_CB_getIndex(int srcID, int opID); //[/UserMethods] void paint (Graphics& g); void resized(); void sliderValueChanged (Slider* sliderThatWasMoved); void labelTextChanged (Label* labelThatHasChanged); void comboBoxChanged (ComboBox* comboBoxThatHasChanged); // Binary resources: static const char* led_23_red_png; static const int led_23_red_pngSize; static const char* led_23_red1_png; static const int led_23_red1_pngSize; private: //[UserVariables] -- You can add your own custom variables in this section. JaySynthAudioProcessor* getProcessor() const { return static_cast (getAudioProcessor()); } TooltipWindow *m_tooltipWindow; MidiCC_PopUp *m_MidiCC_PopUp; VelKey_PopUp *m_VelKey_PopUp; String m_mod_src0_names[VOICE_NUM_MOD_SOURCES_0]; String m_mod_src1_names[VOICE_NUM_MOD_SOURCES_1]; String m_mod_src_op_names[VOICE_NUM_MOD_OPS]; String m_mod_src0_cb_names[VOICE_NUM_MOD_SOURCES_0]; String m_mod_src1_cb_names[(VOICE_NUM_MOD_SOURCES_1-1)*VOICE_NUM_MOD_OPS + 1]; File m_fileChooserDirectory; //[/UserVariables] //============================================================================== ScopedPointer