From 376d6fe34eeebc6506b4bcb36b99104ee025880d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 24 Jul 2013 23:24:11 +0200 Subject: [PATCH] use only two colors for VU meter indicator and bright-gray for BBC --- gtk2_ardour/level_meter.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/level_meter.cc b/gtk2_ardour/level_meter.cc index 05f7569925..6a60239ecc 100644 --- a/gtk2_ardour/level_meter.cc +++ b/gtk2_ardour/level_meter.cc @@ -312,8 +312,10 @@ LevelMeter::setup_meters (int len, int initial_width, int thin_width) c[6] = c[7] = 0xffff00ff; c[8] = c[9] = 0xff0000ff; break; - case MeterIEC2EBU: case MeterIEC2BBC: + c[0] = c[1] = c[2] = c[3] = c[4] = c[5] = c[6] = c[7] = c[8] = c[9] = 0xaaaaaaff; + break; + case MeterIEC2EBU: stp[0] = 115.0 * meter_deflect_ppm(-18); stp[1] = 115.0 * meter_deflect_ppm(-14); stp[2] = 115.0 * meter_deflect_ppm(-10); @@ -336,6 +338,8 @@ LevelMeter::setup_meters (int len, int initial_width, int thin_width) stp[1] = 115.0 * meter_deflect_vu(-23); // -3 stp[2] = 115.0 * meter_deflect_vu(-20); // 0 stp[3] = 115.0 * meter_deflect_vu(-18); // +2 + c[0] = c[1] = c[2] = c[3] = c[4] = c[5] = 0x00aa00ff; + c[6] = c[7] = c[8] = c[9] = 0xff8800ff; styleflags = 1; break; default: // PEAK, RMS