Show VST parameter string (#5321)
This commit is contained in:
@@ -54,6 +54,7 @@ SET(LMMS_SRCS
|
||||
gui/widgets/ControllerView.cpp
|
||||
gui/widgets/Controls.cpp
|
||||
gui/widgets/CPULoadWidget.cpp
|
||||
gui/widgets/CustomTextKnob.cpp
|
||||
gui/widgets/EffectRackView.cpp
|
||||
gui/widgets/EffectView.cpp
|
||||
gui/widgets/EnvelopeAndLfoView.cpp
|
||||
|
||||
14
src/gui/widgets/CustomTextKnob.cpp
Normal file
14
src/gui/widgets/CustomTextKnob.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "CustomTextKnob.h"
|
||||
|
||||
CustomTextKnob::CustomTextKnob( knobTypes _knob_num, QWidget * _parent, const QString & _name, const QString & _value_text ) :
|
||||
Knob( _knob_num, _parent, _name ),
|
||||
m_value_text( _value_text ) {}
|
||||
|
||||
CustomTextKnob::CustomTextKnob( QWidget * _parent, const QString & _name, const QString & _value_text ) : //!< default ctor
|
||||
Knob( _parent, _name ),
|
||||
m_value_text( _value_text ) {}
|
||||
|
||||
QString CustomTextKnob::displayValue() const
|
||||
{
|
||||
return m_description.trimmed() + m_value_text;
|
||||
}
|
||||
Reference in New Issue
Block a user