2
0
Fork 0
OPL/Source/PluginEditor.cpp
2013-09-04 21:37:36 +08:00

36 lines
1.1 KiB
C++

/*
==============================================================================
This file was auto-generated by the Introjucer!
It contains the basic startup code for a Juce application.
==============================================================================
*/
#include "PluginProcessor.h"
#include "PluginEditor.h"
//==============================================================================
JuceOplvstiAudioProcessorEditor::JuceOplvstiAudioProcessorEditor (JuceOplvstiAudioProcessor* ownerFilter)
: AudioProcessorEditor (ownerFilter)
{
// This is where our plugin's editor size is set.
setSize (400, 300);
}
JuceOplvstiAudioProcessorEditor::~JuceOplvstiAudioProcessorEditor()
{
}
//==============================================================================
void JuceOplvstiAudioProcessorEditor::paint (Graphics& g)
{
g.fillAll (Colours::white);
g.setColour (Colours::black);
g.setFont (15.0f);
g.drawFittedText ("Hello World!",
0, 0, getWidth(), getHeight(),
Justification::centred, 1);
}