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

n2xFocusedParameter.cpp (621B)


      1 #include "n2xFocusedParameter.h"
      2 
      3 #include "n2xEditor.h"
      4 #include "n2xController.h"
      5 
      6 namespace n2xJucePlugin
      7 {
      8 	FocusedParameter::FocusedParameter(const Editor& _editor)
      9 	: jucePluginEditorLib::FocusedParameter(_editor.getN2xController(), _editor.getParameterBinding(), _editor)
     10 	, m_editor(_editor)
     11 	{
     12 	}
     13 
     14 	void FocusedParameter::updateParameter(const std::string& _name, const std::string& _value)
     15 	{
     16 		// we only have 3 digits but some parameters have values <= -100, doesn't look nice at all
     17 //		m_editor.getLCD().setOverrideText(_value);
     18 		jucePluginEditorLib::FocusedParameter::updateParameter(_name, _value);
     19 	}
     20 }