Gin
Classes | Public Member Functions | Public Attributes | List of all members
PatchBrowser Class Reference

Inherits juce::Component.

Classes

struct  AuthorsModel
 
struct  PresetsModel
 
struct  TagsModel
 

Public Member Functions

 PatchBrowser (Processor &p)
 
void next ()
 
void prev ()
 
void selectionUpdated ()
 
void refresh ()
 
void resized () override
 
void paint (juce::Graphics &g) override
 
void editPreset (int row)
 
void deletePreset (int row)
 

Public Attributes

Processorproc
 
AuthorsModel authorsModel { *this }
 
TagsModel tagsModel { *this }
 
PresetsModel presetsModel { *this }
 
juce::ListBox authors { "", &authorsModel }
 
juce::ListBox tags { "", &tagsModel }
 
juce::ListBox presets { "", &presetsModel }
 
bool updatingSelection = false
 
juce::StringArray currentAuthors
 
juce::StringArray currentTags
 
juce::StringArray currentPresets
 
juce::StringArray selectedAuthors
 
juce::StringArray selectedTags
 

Constructor & Destructor Documentation

◆ PatchBrowser()

PatchBrowser::PatchBrowser ( Processor p)

Member Function Documentation

◆ next()

void PatchBrowser::next ( )

◆ prev()

void PatchBrowser::prev ( )

◆ selectionUpdated()

void PatchBrowser::selectionUpdated ( )

◆ refresh()

void PatchBrowser::refresh ( )

◆ resized()

void PatchBrowser::resized ( )
override

◆ paint()

void PatchBrowser::paint ( juce::Graphics &  g)
override

◆ editPreset()

void PatchBrowser::editPreset ( int  row)

◆ deletePreset()

void PatchBrowser::deletePreset ( int  row)

Member Data Documentation

◆ proc

Processor& PatchBrowser::proc

◆ authorsModel

AuthorsModel PatchBrowser::authorsModel { *this }

◆ tagsModel

TagsModel PatchBrowser::tagsModel { *this }

◆ presetsModel

PresetsModel PatchBrowser::presetsModel { *this }

◆ authors

juce::ListBox PatchBrowser::authors { "", &authorsModel }

◆ tags

juce::ListBox PatchBrowser::tags { "", &tagsModel }

◆ presets

juce::ListBox PatchBrowser::presets { "", &presetsModel }

◆ updatingSelection

bool PatchBrowser::updatingSelection = false

◆ currentAuthors

juce::StringArray PatchBrowser::currentAuthors

◆ currentTags

juce::StringArray PatchBrowser::currentTags

◆ currentPresets

juce::StringArray PatchBrowser::currentPresets

◆ selectedAuthors

juce::StringArray PatchBrowser::selectedAuthors

◆ selectedTags

juce::StringArray PatchBrowser::selectedTags

The documentation for this class was generated from the following file: