![]() |
Mema
Memory Matrix — multi-channel audio matrix monitor and router
|
#include <CrosspointsControlComponent.h>
Inheritance diagram for Mema::CrosspointComponent:
Collaboration diagram for Mema::CrosspointComponent:Public Types | |
| using | CrosspointIdent = std::pair< int, int > |
Public Member Functions | |
| CrosspointComponent (const CrosspointIdent &ident) | |
| ~CrosspointComponent () | |
| const CrosspointIdent & | getIdent () |
| void | paint (Graphics &g) override |
| void | setChecked (bool checked) |
| void | toggleChecked () |
| void | setFactor (float factor) |
| float | getFactor () |
| void | mouseUp (const MouseEvent &e) override |
| void | mouseDrag (const MouseEvent &e) override |
Public Attributes | |
| std::function< void(bool, CrosspointComponent *)> | onCheckedChanged |
| std::function< void(float, CrosspointComponent *)> | onFactorChanged |
Static Public Attributes | |
| static constexpr auto | pi = juce::MathConstants<float>::pi |
| static constexpr auto | arcStartRad = 0.0f |
node in the crosspoint matrix — draggable to set gain, clickable to toggle enable.
Definition at line 33 of file CrosspointsControlComponent.h.
| using Mema::CrosspointComponent::CrosspointIdent = std::pair<int, int> |
Definition at line 36 of file CrosspointsControlComponent.h.
|
inline |
Definition at line 42 of file CrosspointsControlComponent.h.
|
inline |
Definition at line 43 of file CrosspointsControlComponent.h.
|
inline |
Definition at line 102 of file CrosspointsControlComponent.h.
|
inline |
Definition at line 45 of file CrosspointsControlComponent.h.
|
inlineoverride |
Definition at line 126 of file CrosspointsControlComponent.h.
References Mema::ProcessorDataAnalyzer::getGlobalMindB(), and onFactorChanged.
|
inlineoverride |
Definition at line 108 of file CrosspointsControlComponent.h.
References onFactorChanged, and toggleChecked().
|
inlineoverride |
Definition at line 48 of file CrosspointsControlComponent.h.
References arcStartRad, Mema::ProcessorDataAnalyzer::getGlobalMindB(), and pi.
|
inline |
Definition at line 81 of file CrosspointsControlComponent.h.
Referenced by toggleChecked().
|
inline |
Definition at line 97 of file CrosspointsControlComponent.h.
|
inline |
Definition at line 86 of file CrosspointsControlComponent.h.
References onCheckedChanged, onFactorChanged, and setChecked().
Referenced by mouseUp().
|
staticconstexpr |
Definition at line 39 of file CrosspointsControlComponent.h.
Referenced by paint().
| std::function<void(bool, CrosspointComponent*)> Mema::CrosspointComponent::onCheckedChanged |
Definition at line 155 of file CrosspointsControlComponent.h.
Referenced by toggleChecked().
| std::function<void(float, CrosspointComponent*)> Mema::CrosspointComponent::onFactorChanged |
Definition at line 156 of file CrosspointsControlComponent.h.
Referenced by mouseDrag(), mouseUp(), and toggleChecked().
|
staticconstexpr |
Definition at line 38 of file CrosspointsControlComponent.h.
Referenced by paint().