|
|
@@ -1,6 +1,6 @@ |
|
|
|
/*
|
|
|
|
* DISTRHO Plugin Framework (DPF)
|
|
|
|
* Copyright (C) 2012-2015 Filipe Coelho <falktx@falktx.com>
|
|
|
|
* Copyright (C) 2012-2018 Filipe Coelho <falktx@falktx.com>
|
|
|
|
*
|
|
|
|
* Permission to use, copy, modify, and/or distribute this software for any purpose with
|
|
|
|
* or without fee is hereby granted, provided that the above copyright notice and this
|
|
|
@@ -123,6 +123,17 @@ protected: |
|
|
|
parameter.hints = kParameterIsAutomable|kParameterIsInteger;
|
|
|
|
parameter.name = "color";
|
|
|
|
parameter.symbol = "color";
|
|
|
|
parameter.enumValues.count = 2;
|
|
|
|
parameter.enumValues.restrictedMode = true;
|
|
|
|
{
|
|
|
|
ParameterEnumerationValue* const values = new ParameterEnumerationValue[2];
|
|
|
|
parameter.enumValues.values = values;
|
|
|
|
|
|
|
|
values[0].label = "Green";
|
|
|
|
values[0].value = METER_COLOR_GREEN;
|
|
|
|
values[1].label = "Blue";
|
|
|
|
values[1].value = METER_COLOR_BLUE;
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case 1:
|
|
|
|
parameter.hints = kParameterIsAutomable|kParameterIsOutput;
|
|
|
|