2018-02-27 08:17:12 +08:00
|
|
|
/*
|
|
|
|
==============================================================================
|
|
|
|
|
|
|
|
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"
|
2018-02-27 08:25:20 +08:00
|
|
|
#include "TablesComponent.h"
|
|
|
|
#include "SurjectiveMidiKeyboardComponent.h"
|
|
|
|
#include "FilePicker.h"
|
2018-02-27 08:17:12 +08:00
|
|
|
|
|
|
|
//==============================================================================
|
|
|
|
/**
|
|
|
|
*/
|
2018-02-27 08:25:20 +08:00
|
|
|
class LazarusAudioProcessorEditor : public AudioProcessorEditor
|
2018-02-27 08:17:12 +08:00
|
|
|
{
|
|
|
|
public:
|
2018-02-27 08:39:50 +08:00
|
|
|
LazarusAudioProcessorEditor (JuicySFAudioProcessor&);
|
2018-02-27 08:25:20 +08:00
|
|
|
~LazarusAudioProcessorEditor();
|
2018-02-27 08:17:12 +08:00
|
|
|
|
|
|
|
//==============================================================================
|
|
|
|
void paint (Graphics&) override;
|
|
|
|
void resized() override;
|
|
|
|
|
2018-02-27 08:25:20 +08:00
|
|
|
bool keyPressed(const KeyPress &key) override;
|
|
|
|
bool keyStateChanged (bool isKeyDown) override;
|
|
|
|
|
2018-02-27 08:17:12 +08:00
|
|
|
private:
|
|
|
|
// This reference is provided as a quick way for your editor to
|
|
|
|
// access the processor object that created it.
|
2018-02-27 08:39:50 +08:00
|
|
|
JuicySFAudioProcessor& processor;
|
2018-02-27 08:25:20 +08:00
|
|
|
|
|
|
|
SurjectiveMidiKeyboardComponent midiKeyboard;
|
|
|
|
TablesComponent tablesComponent;
|
|
|
|
FilePicker filePicker;
|
|
|
|
|
|
|
|
bool focusInitialized;
|
2018-02-27 08:17:12 +08:00
|
|
|
|
2018-02-27 08:25:20 +08:00
|
|
|
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (LazarusAudioProcessorEditor)
|
2018-02-27 08:17:12 +08:00
|
|
|
};
|