diff options
Diffstat (limited to 'gtk2_ardour/ghostregion.cc')
-rw-r--r-- | gtk2_ardour/ghostregion.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/ghostregion.cc b/gtk2_ardour/ghostregion.cc index 2cd2601406..7f7d11c0be 100644 --- a/gtk2_ardour/ghostregion.cc +++ b/gtk2_ardour/ghostregion.cc @@ -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]; + } +} |