allow to configure color of BBC meter
This commit is contained in:
parent
60dde29038
commit
2faaf71573
@ -222,6 +222,7 @@
|
||||
<Option name="solo safe: text" value="c7c7d8ff"/>
|
||||
<Option name="solo safe: text active" value="c8c8d9ff"/>
|
||||
<Option name="meterbridge peaklabel" value="ff1111ff"/>
|
||||
<Option name="meter color BBC" value="aaaaaaff"/>
|
||||
<Option name="meterbridge peakindicator: fill start" value="444444ff"/>
|
||||
<Option name="meterbridge peakindicator: fill end" value="333333ff"/>
|
||||
<Option name="meterbridge peakindicator on: fill start" value="ff0000ff"/>
|
||||
|
@ -65,6 +65,7 @@ CANVAS_VARIABLE(canvasvar_MeasureLineBar, "measure line bar")
|
||||
CANVAS_VARIABLE(canvasvar_MeasureLineBeat, "measure line beat")
|
||||
CANVAS_VARIABLE(canvasvar_MeterBar, "meter bar")
|
||||
CANVAS_VARIABLE(canvasvar_MeterBridgePeakLabel, "meterbridge peaklabel")
|
||||
CANVAS_VARIABLE(canvasvar_MeterColorBBC, "meter color BBC")
|
||||
CANVAS_VARIABLE(canvasvar_MeterColor0, "meter fill: 0")
|
||||
CANVAS_VARIABLE(canvasvar_MeterColor1, "meter fill: 1")
|
||||
CANVAS_VARIABLE(canvasvar_MeterColor2, "meter fill: 2")
|
||||
|
@ -321,7 +321,8 @@ LevelMeterBase::setup_meters (int len, int initial_width, int thin_width)
|
||||
c[8] = c[9] = 0xff0000ff;
|
||||
break;
|
||||
case MeterIEC2BBC:
|
||||
c[0] = c[1] = c[2] = c[3] = c[4] = c[5] = c[6] = c[7] = c[8] = c[9] = 0xaaaaaaff;
|
||||
c[0] = c[1] = c[2] = c[3] = c[4] = c[5] = c[6] = c[7] = c[8] = c[9] =
|
||||
ARDOUR_UI::config()->color_by_name ("meter color BBC");
|
||||
stp[0] = stp[1] = stp[2] = stp[3] = 115.0;
|
||||
break;
|
||||
case MeterIEC2EBU:
|
||||
|
Loading…
Reference in New Issue
Block a user