|
Gin
|
Control for synth usage. More...
#include <gin_plugincomponents.h>
Inherits juce::Component, and juce::Timer.
Public Member Functions | |
| SynthesiserUsage (gin::Synthesiser &s) | |
| void | timerCallback () override |
| void | paint (juce::Graphics &g) override |
| void | resized () override |
Public Attributes | |
| gin::Synthesiser & | synthesiser |
| int | voices = 0 |
| int | cpu = 0 |
| juce::Path | voicePath { parseSVGPath (gin::Assets::voice) } |
| juce::Path | cpuPath { parseSVGPath (gin::Assets::cpu) } |
| SVGButton | panic { "panic", gin::Assets::panic } |
Control for synth usage.
| SynthesiserUsage::SynthesiserUsage | ( | gin::Synthesiser & | s | ) |
References addAndMakeVisible(), and panic.
|
override |
References cpu, synthesiser, and voices.
|
override |
References cpu, cpuPath, GinLookAndFeel::grey60ColourId, voicePath, and voices.
| gin::Synthesiser& SynthesiserUsage::synthesiser |
Referenced by timerCallback().
| int SynthesiserUsage::voices = 0 |
Referenced by paint(), and timerCallback().
| int SynthesiserUsage::cpu = 0 |
Referenced by paint(), and timerCallback().
| juce::Path SynthesiserUsage::voicePath { parseSVGPath (gin::Assets::voice) } |
Referenced by paint().
| juce::Path SynthesiserUsage::cpuPath { parseSVGPath (gin::Assets::cpu) } |
Referenced by paint().
| SVGButton SynthesiserUsage::panic { "panic", gin::Assets::panic } |
Referenced by resized(), and SynthesiserUsage().