mirror of
https://codeberg.org/armin/trommelkiste.git
synced 2026-09-01 04:10:46 +02:00
Add user preset save/load to the preset menu
This commit is contained in:
parent
ff96ab1a69
commit
143e0bac76
4 changed files with 212 additions and 28 deletions
|
|
@ -42,6 +42,12 @@ public:
|
|||
void mouseDown(const juce::MouseEvent&) override;
|
||||
void timerCallback() override;
|
||||
|
||||
bool isInterestedInFileDrag(const juce::StringArray& files) override;
|
||||
void fileDragEnter(const juce::StringArray& files, int x, int y) override;
|
||||
void fileDragMove(const juce::StringArray& files, int x, int y) override;
|
||||
void fileDragExit(const juce::StringArray& files) override;
|
||||
void filesDropped(const juce::StringArray& files, int x, int y) override;
|
||||
|
||||
private:
|
||||
TrommelkisteProcessor& proc;
|
||||
TrommelkisteLookAndFeel lnf;
|
||||
|
|
@ -78,6 +84,7 @@ private:
|
|||
juce::ComboBox presetCombo;
|
||||
juce::TextButton presetPrevBtn{"<"};
|
||||
juce::TextButton presetNextBtn{">"};
|
||||
juce::TextButton presetSaveBtn{"SAVE"};
|
||||
|
||||
// Global effect controls in header
|
||||
KnobSlider globalRingFreq, globalDestruction;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue