The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.6KB

  1. /*
  2. ==============================================================================
  3. This file was auto-generated by the Jucer!
  4. It contains the basic startup code for a Juce application.
  5. ==============================================================================
  6. */
  7. #ifndef __PLUGINEDITOR_H_4ACCBAA__
  8. #define __PLUGINEDITOR_H_4ACCBAA__
  9. #include "../JuceLibraryCode/JuceHeader.h"
  10. #include "PluginProcessor.h"
  11. //==============================================================================
  12. /** This is the editor component that our filter will display.
  13. */
  14. class JuceDemoPluginAudioProcessorEditor : public AudioProcessorEditor,
  15. private Timer
  16. {
  17. public:
  18. JuceDemoPluginAudioProcessorEditor (JuceDemoPluginAudioProcessor&);
  19. ~JuceDemoPluginAudioProcessorEditor();
  20. //==============================================================================
  21. void paint (Graphics&) override;
  22. void resized() override;
  23. void timerCallback() override;
  24. private:
  25. class ParameterSlider;
  26. MidiKeyboardComponent midiKeyboard;
  27. Label timecodeDisplayLabel, gainLabel, delayLabel;
  28. ScopedPointer<ParameterSlider> gainSlider, delaySlider;
  29. //==============================================================================
  30. JuceDemoPluginAudioProcessor& getProcessor() const
  31. {
  32. return static_cast<JuceDemoPluginAudioProcessor&> (processor);
  33. }
  34. void updateTimecodeDisplay (AudioPlayHead::CurrentPositionInfo);
  35. };
  36. #endif // __PLUGINEDITOR_H_4ACCBAA__