gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 28bdb4aefae4e9dd78bcc068bd2e4ddeddbfd616
parent fed73658bcc63113358d4964f39f014d7e639f95
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Tue, 15 Mar 2022 21:26:57 +0100

add version info

Diffstat:
Msource/jucePlugin/ui3/VirusEditor.cpp | 11+++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)

diff --git a/source/jucePlugin/ui3/VirusEditor.cpp b/source/jucePlugin/ui3/VirusEditor.cpp @@ -1,9 +1,11 @@ #include "VirusEditor.h" #include "BinaryData.h" + #include "../PluginProcessor.h" #include "../VirusController.h" #include "../VirusParameterBinding.h" +#include "../version.h" namespace genericVirusUI { @@ -37,6 +39,15 @@ namespace genericVirusUI addMouseListener(this, true); m_controlLabel->setText("", juce::dontSendNotification); + + auto* versionInfo = findComponentT<juce::Label>("VersionInfo"); + + if(versionInfo) + { + const std::string message = "DSP 56300 Emulator Version " + std::string(g_pluginVersionString) + " - " __DATE__ " " __TIME__; + versionInfo->setText(message, juce::dontSendNotification); + } + } void VirusEditor::onProgramChange()