/*
  ==============================================================================

    This file contains the basic framework code for a JUCE plugin editor.

  ==============================================================================
*/

#include "PluginProcessor.h"
#include "PluginEditor.h"

//==============================================================================
CMLSProjectAudioProcessorEditor::CMLSProjectAudioProcessorEditor (CMLSProjectAudioProcessor& p)
    : AudioProcessorEditor (&p), audioProcessor (p)
{
    // OSC receiver
    this->oscReceiver = new OSCReceiverWrapper(57121, p.getApvts());

    // Make sure that before the constructor has finished, you've set the
    // editor's size to whatever you need it to be.
}

CMLSProjectAudioProcessorEditor::~CMLSProjectAudioProcessorEditor()
{
}

//==============================================================================
void CMLSProjectAudioProcessorEditor::paint (juce::Graphics& g)
{
    // (Our component is opaque, so we must completely fill the background with a solid colour)
    g.fillAll (getLookAndFeel().findColour (juce::ResizableWindow::backgroundColourId));
}

void CMLSProjectAudioProcessorEditor::resized()
{}
