13
0

allow to configure color of BBC meter

This commit is contained in:
Robin Gareus 2013-07-29 03:54:43 +02:00
parent 60dde29038
commit 2faaf71573
3 changed files with 4 additions and 1 deletions

View File

@ -222,6 +222,7 @@
<Option name="solo safe: text" value="c7c7d8ff"/> <Option name="solo safe: text" value="c7c7d8ff"/>
<Option name="solo safe: text active" value="c8c8d9ff"/> <Option name="solo safe: text active" value="c8c8d9ff"/>
<Option name="meterbridge peaklabel" value="ff1111ff"/> <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 start" value="444444ff"/>
<Option name="meterbridge peakindicator: fill end" value="333333ff"/> <Option name="meterbridge peakindicator: fill end" value="333333ff"/>
<Option name="meterbridge peakindicator on: fill start" value="ff0000ff"/> <Option name="meterbridge peakindicator on: fill start" value="ff0000ff"/>

View File

@ -65,6 +65,7 @@ CANVAS_VARIABLE(canvasvar_MeasureLineBar, "measure line bar")
CANVAS_VARIABLE(canvasvar_MeasureLineBeat, "measure line beat") CANVAS_VARIABLE(canvasvar_MeasureLineBeat, "measure line beat")
CANVAS_VARIABLE(canvasvar_MeterBar, "meter bar") CANVAS_VARIABLE(canvasvar_MeterBar, "meter bar")
CANVAS_VARIABLE(canvasvar_MeterBridgePeakLabel, "meterbridge peaklabel") CANVAS_VARIABLE(canvasvar_MeterBridgePeakLabel, "meterbridge peaklabel")
CANVAS_VARIABLE(canvasvar_MeterColorBBC, "meter color BBC")
CANVAS_VARIABLE(canvasvar_MeterColor0, "meter fill: 0") CANVAS_VARIABLE(canvasvar_MeterColor0, "meter fill: 0")
CANVAS_VARIABLE(canvasvar_MeterColor1, "meter fill: 1") CANVAS_VARIABLE(canvasvar_MeterColor1, "meter fill: 1")
CANVAS_VARIABLE(canvasvar_MeterColor2, "meter fill: 2") CANVAS_VARIABLE(canvasvar_MeterColor2, "meter fill: 2")

View File

@ -321,7 +321,8 @@ LevelMeterBase::setup_meters (int len, int initial_width, int thin_width)
c[8] = c[9] = 0xff0000ff; c[8] = c[9] = 0xff0000ff;
break; break;
case MeterIEC2BBC: 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; stp[0] = stp[1] = stp[2] = stp[3] = 115.0;
break; break;
case MeterIEC2EBU: case MeterIEC2EBU: