juicysfplugin/Source/TablesComponent.h

35 lines
621 B
C
Raw Permalink Normal View History

2018-02-27 08:25:20 +08:00
//
// Created by Alex Birch on 17/09/2017.
//
#pragma once
2021-09-07 14:04:35 +08:00
#include <JuceHeader.h>
2018-02-27 08:25:20 +08:00
#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)
};