juicysfplugin/Source/TablesComponent.h

35 lines
640 B
C
Raw Normal View History

2018-02-27 08:25:20 +08:00
//
// Created by Alex Birch on 17/09/2017.
//
#pragma once
#include "../JuceLibraryCode/JuceHeader.h"
#include "Pills.h"
#include "TableComponent.h"
#include "FluidSynthModel.h"
#include <memory>
#include <fluidsynth.h>
using namespace std;
class TablesComponent : public Component
2018-02-27 08:25:20 +08:00
{
public:
TablesComponent(
AudioProcessorValueTreeState& valueTreeState
2018-02-27 08:25:20 +08:00
);
void resized() override;
bool keyPressed(const KeyPress &key) override;
private:
AudioProcessorValueTreeState& valueTreeState;
2018-02-27 08:25:20 +08:00
Pills banks;
TableComponent presetTable;
2018-02-27 08:25:20 +08:00
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TablesComponent)
};