Merged with trunk R1705.
[ardour.git] / gtk2_ardour / ghostregion.cc
index 2cd26014061273df3b7ecae0f3b85d602db6847a..7f7d11c0bec458acb6c0eda85405d3ea7247a5a3 100644 (file)
@@ -69,3 +69,13 @@ GhostRegion::set_height ()
        }
 }
 
+void
+GhostRegion::set_colors ()
+{
+    for (uint32_t n=0; n < waves.size(); ++n) {
+       waves[n]->property_wave_color() = color_map[cGhostTrackWave];
+
+       waves[n]->property_clip_color() = color_map[cGhostTrackWaveClip];
+       waves[n]->property_zero_color() = color_map[cGhostTrackZeroLine];
+    }
+}