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.

44 lines
1.4KB

  1. /*
  2. ==============================================================================
  3. This file was auto-generated!
  4. It contains the basic framework code for a JUCE plugin editor.
  5. ==============================================================================
  6. */
  7. #include "PluginProcessor.h"
  8. #include "PluginEditor.h"
  9. //==============================================================================
  10. PaulstretchpluginAudioProcessorEditor::PaulstretchpluginAudioProcessorEditor (PaulstretchpluginAudioProcessor& p)
  11. : AudioProcessorEditor (&p), processor (p)
  12. {
  13. // Make sure that before the constructor has finished, you've set the
  14. // editor's size to whatever you need it to be.
  15. setSize (400, 300);
  16. }
  17. PaulstretchpluginAudioProcessorEditor::~PaulstretchpluginAudioProcessorEditor()
  18. {
  19. }
  20. //==============================================================================
  21. void PaulstretchpluginAudioProcessorEditor::paint (Graphics& g)
  22. {
  23. // (Our component is opaque, so we must completely fill the background with a solid colour)
  24. g.fillAll (getLookAndFeel().findColour (ResizableWindow::backgroundColourId));
  25. g.setColour (Colours::white);
  26. g.setFont (15.0f);
  27. g.drawFittedText ("Hello World!", getLocalBounds(), Justification::centred, 1);
  28. }
  29. void PaulstretchpluginAudioProcessorEditor::resized()
  30. {
  31. // This is generally where you'll want to lay out the positions of any
  32. // subcomponents in your editor..
  33. }