![]() |
Mema
Memory Matrix — multi-channel audio matrix monitor and router
|
#include <PluginControlComponent.h>
Inheritance diagram for Mema::CustomPluginListComponentTableModel:
Collaboration diagram for Mema::CustomPluginListComponentTableModel:Public Types | |
| enum | { nameCol = 1 , typeCol = 2 , categoryCol = 3 , manufacturerCol = 4 , descCol = 5 } |
Public Member Functions | |
| CustomPluginListComponentTableModel (juce::PluginListComponent &c, juce::KnownPluginList &l) | |
| int | getNumRows () override |
| void | paintRowBackground (juce::Graphics &g, int, int, int, bool rowIsSelected) override |
| void | paintCell (juce::Graphics &g, int row, int columnId, int width, int height, bool) override |
| void | cellClicked (int rowNumber, int columnId, const juce::MouseEvent &e) override |
| void | deleteKeyPressed (int) override |
| void | sortOrderChanged (int newSortColumnId, bool isForwards) override |
| void | selectedRowsChanged (int lastRowSelected) override |
| juce::PluginDescription | getPluginDescriptionOfSelectedRow () |
Static Public Member Functions | |
| static juce::String | getPluginDescription (const juce::PluginDescription &desc) |
Public Attributes | |
| std::function< void(int)> | onSelectionChanged |
| juce::PluginListComponent & | m_owner |
| juce::KnownPluginList & | m_list |
| int | m_lastRowSelected = -1 |
This class was stolen from juce's juce::PluginListComponent::TableModel for customization to be able to react on row selection changes
Definition at line 35 of file PluginControlComponent.h.
| anonymous enum |
| Enumerator | |
|---|---|
| nameCol | |
| typeCol | |
| categoryCol | |
| manufacturerCol | |
| descCol | |
Definition at line 54 of file PluginControlComponent.h.
|
inline |
Definition at line 38 of file PluginControlComponent.h.
|
inlineoverride |
Definition at line 102 of file PluginControlComponent.h.
References getNumRows(), and m_owner.
|
inlineoverride |
Definition at line 110 of file PluginControlComponent.h.
References m_owner.
|
inlineoverride |
Definition at line 40 of file PluginControlComponent.h.
References m_list.
Referenced by cellClicked().
|
inlinestatic |
Definition at line 139 of file PluginControlComponent.h.
Referenced by paintCell().
|
inline |
Definition at line 152 of file PluginControlComponent.h.
References m_lastRowSelected, and m_list.
|
inlineoverride |
Definition at line 63 of file PluginControlComponent.h.
References categoryCol, descCol, getPluginDescription(), m_list, m_owner, manufacturerCol, nameCol, and typeCol.
|
inlineoverride |
Definition at line 45 of file PluginControlComponent.h.
References m_owner.
|
inlineoverride |
Definition at line 129 of file PluginControlComponent.h.
References m_lastRowSelected, and onSelectionChanged.
|
inlineoverride |
Definition at line 115 of file PluginControlComponent.h.
References categoryCol, descCol, m_list, manufacturerCol, nameCol, and typeCol.
| int Mema::CustomPluginListComponentTableModel::m_lastRowSelected = -1 |
Definition at line 169 of file PluginControlComponent.h.
Referenced by getPluginDescriptionOfSelectedRow(), and selectedRowsChanged().
| juce::KnownPluginList& Mema::CustomPluginListComponentTableModel::m_list |
Definition at line 168 of file PluginControlComponent.h.
Referenced by getNumRows(), getPluginDescriptionOfSelectedRow(), paintCell(), and sortOrderChanged().
| juce::PluginListComponent& Mema::CustomPluginListComponentTableModel::m_owner |
Definition at line 167 of file PluginControlComponent.h.
Referenced by cellClicked(), deleteKeyPressed(), paintCell(), and paintRowBackground().
| std::function<void(int)> Mema::CustomPluginListComponentTableModel::onSelectionChanged |
Definition at line 164 of file PluginControlComponent.h.
Referenced by selectedRowsChanged().