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;
|
|
|
|
|
2019-07-29 06:17:19 +08:00
|
|
|
class TablesComponent : public Component
|
2018-02-27 08:25:20 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
TablesComponent(
|
2019-07-15 00:22:36 +08:00
|
|
|
AudioProcessorValueTreeState& valueTreeState
|
2018-02-27 08:25:20 +08:00
|
|
|
);
|
|
|
|
|
|
|
|
void resized() override;
|
|
|
|
|
|
|
|
bool keyPressed(const KeyPress &key) override;
|
|
|
|
|
|
|
|
private:
|
2019-07-07 07:22:47 +08:00
|
|
|
AudioProcessorValueTreeState& valueTreeState;
|
2018-02-27 08:25:20 +08:00
|
|
|
|
2019-07-14 21:19:27 +08:00
|
|
|
Pills banks;
|
|
|
|
TableComponent presetTable;
|
2018-02-27 08:25:20 +08:00
|
|
|
|
|
|
|
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (TablesComponent)
|
|
|
|
};
|