init
innit
This commit is contained in:
36
Source/PluginEditor.cpp
Normal file
36
Source/PluginEditor.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
==============================================================================
|
||||
|
||||
This file contains the basic framework code for a JUCE plugin editor.
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
|
||||
#include "PluginProcessor.h"
|
||||
#include "PluginEditor.h"
|
||||
|
||||
//==============================================================================
|
||||
CrushFXAudioProcessorEditor::CrushFXAudioProcessorEditor (CrushFXAudioProcessor& p)
|
||||
: AudioProcessorEditor (&p), audioProcessor (p)
|
||||
{
|
||||
// Make sure that before the constructor has finished, you've set the
|
||||
// editor's size to whatever you need it to be.
|
||||
bg = juce::ImageCache::getFromMemory(BinaryData::BG_png, BinaryData::BG_pngSize);
|
||||
setSize (696, 400);
|
||||
}
|
||||
|
||||
CrushFXAudioProcessorEditor::~CrushFXAudioProcessorEditor()
|
||||
{
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void CrushFXAudioProcessorEditor::paint (juce::Graphics& g)
|
||||
{
|
||||
g.drawImage(bg, getLocalBounds().toFloat());
|
||||
}
|
||||
|
||||
void CrushFXAudioProcessorEditor::resized()
|
||||
{
|
||||
// This is generally where you'll want to lay out the positions of any
|
||||
// subcomponents in your editor..
|
||||
}
|
||||
Reference in New Issue
Block a user