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.

47 lines
1.5KB

  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. #pragma once
  8. #include "../JuceLibraryCode/JuceHeader.h"
  9. #include "PluginProcessor.h"
  10. //==============================================================================
  11. /** This is the editor component that our filter will display.
  12. */
  13. class JuceDemoPluginAudioProcessorEditor : public AudioProcessorEditor,
  14. private Timer
  15. {
  16. public:
  17. JuceDemoPluginAudioProcessorEditor (JuceDemoPluginAudioProcessor&);
  18. ~JuceDemoPluginAudioProcessorEditor();
  19. //==============================================================================
  20. void paint (Graphics&) override;
  21. void resized() override;
  22. void timerCallback() override;
  23. private:
  24. class ParameterSlider;
  25. MidiKeyboardComponent midiKeyboard;
  26. Label timecodeDisplayLabel, gainLabel, delayLabel;
  27. ScopedPointer<ParameterSlider> gainSlider, delaySlider;
  28. //==============================================================================
  29. JuceDemoPluginAudioProcessor& getProcessor() const
  30. {
  31. return static_cast<JuceDemoPluginAudioProcessor&> (processor);
  32. }
  33. void updateTimecodeDisplay (AudioPlayHead::CurrentPositionInfo);
  34. };