mirror of
https://codeberg.org/armin/rmx-19.git
synced 2026-10-12 09:11:53 +02:00
re-structure menu, darken UI
This commit is contained in:
parent
b03dc2e0c4
commit
4b44841049
16 changed files with 1217 additions and 304 deletions
|
|
@ -10,6 +10,12 @@ struct Patch
|
|||
float v[prm::num];
|
||||
};
|
||||
|
||||
struct CategoryIndex
|
||||
{
|
||||
juce::StringArray names;
|
||||
std::vector<std::vector<int>> patchIndices; // parallel to names
|
||||
};
|
||||
|
||||
class PresetBank
|
||||
{
|
||||
public:
|
||||
|
|
@ -21,6 +27,10 @@ public:
|
|||
|
||||
void writeTo (int i, juce::AudioProcessorValueTreeState&) const;
|
||||
|
||||
const CategoryIndex& categories() const { return catIndex; }
|
||||
|
||||
private:
|
||||
std::vector<Patch> patches;
|
||||
CategoryIndex catIndex;
|
||||
void buildCategoryIndex();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue