juicysfplugin/Source/PluginEditor.h
2018-02-27 00:39:50 +00:00

48 lines
1.4 KiB
C++

/*
==============================================================================
This file was auto-generated!
It contains the basic framework code for a JUCE plugin editor.
==============================================================================
*/
#pragma once
#include "../JuceLibraryCode/JuceHeader.h"
#include "PluginProcessor.h"
#include "TablesComponent.h"
#include "SurjectiveMidiKeyboardComponent.h"
#include "FilePicker.h"
//==============================================================================
/**
*/
class LazarusAudioProcessorEditor : public AudioProcessorEditor
{
public:
LazarusAudioProcessorEditor (JuicySFAudioProcessor&);
~LazarusAudioProcessorEditor();
//==============================================================================
void paint (Graphics&) override;
void resized() override;
bool keyPressed(const KeyPress &key) override;
bool keyStateChanged (bool isKeyDown) override;
private:
// This reference is provided as a quick way for your editor to
// access the processor object that created it.
JuicySFAudioProcessor& processor;
SurjectiveMidiKeyboardComponent midiKeyboard;
TablesComponent tablesComponent;
FilePicker filePicker;
bool focusInitialized;
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LazarusAudioProcessorEditor)
};