diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-10-21 22:55:08 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-10-21 22:58:58 -0400 |
commit | ba4d1cd1c1d5e4b47e288cd83c81011e7399207b (patch) | |
tree | ca91dc6ddffb96acf6a274664f12cd310b701281 /gtk2_ardour/ghostregion.cc | |
parent | 90df6f3fe625a95275a70c0ef0565cf062f8445d (diff) |
remove "canvasvar_" from all functions related to obtaining values from ARDOUR_UI::config()
Diffstat (limited to 'gtk2_ardour/ghostregion.cc')
-rw-r--r-- | gtk2_ardour/ghostregion.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gtk2_ardour/ghostregion.cc b/gtk2_ardour/ghostregion.cc index ec062155cb..f8255a30c9 100644 --- a/gtk2_ardour/ghostregion.cc +++ b/gtk2_ardour/ghostregion.cc @@ -87,8 +87,8 @@ void GhostRegion::set_colors () { if (is_automation_ghost()) { - base_rect->set_outline_color (ARDOUR_UI::config()->get_canvasvar_GhostTrackBase()); - base_rect->set_fill_color (ARDOUR_UI::config()->get_canvasvar_GhostTrackBase()); + base_rect->set_outline_color (ARDOUR_UI::config()->get_GhostTrackBase()); + base_rect->set_fill_color (ARDOUR_UI::config()->get_GhostTrackBase()); } } @@ -142,17 +142,17 @@ AudioGhostRegion::set_colors () guint fill_color; if (is_automation_ghost()) { - fill_color = ARDOUR_UI::config()->get_canvasvar_GhostTrackWaveFill(); + fill_color = ARDOUR_UI::config()->get_GhostTrackWaveFill(); } else { fill_color = source_track_color(200); } for (uint32_t n=0; n < waves.size(); ++n) { - waves[n]->set_outline_color (ARDOUR_UI::config()->get_canvasvar_GhostTrackWave()); + waves[n]->set_outline_color (ARDOUR_UI::config()->get_GhostTrackWave()); waves[n]->set_fill_color (fill_color); - waves[n]->set_clip_color (ARDOUR_UI::config()->get_canvasvar_GhostTrackWaveClip()); - waves[n]->set_zero_color (ARDOUR_UI::config()->get_canvasvar_GhostTrackZeroLine()); + waves[n]->set_clip_color (ARDOUR_UI::config()->get_GhostTrackWaveClip()); + waves[n]->set_zero_color (ARDOUR_UI::config()->get_GhostTrackZeroLine()); } } @@ -237,7 +237,7 @@ MidiGhostRegion::set_colors() for (EventList::iterator it = events.begin(); it != events.end(); ++it) { (*it)->rect->set_fill_color (fill); - (*it)->rect->set_outline_color (ARDOUR_UI::config()->get_canvasvar_GhostTrackMidiOutline()); + (*it)->rect->set_outline_color (ARDOUR_UI::config()->get_GhostTrackMidiOutline()); } } @@ -274,7 +274,7 @@ MidiGhostRegion::add_note (NoteBase* n) events.push_back (event); event->rect->set_fill_color (source_track_color(200)); - event->rect->set_outline_color (ARDOUR_UI::config()->get_canvasvar_GhostTrackMidiOutline()); + event->rect->set_outline_color (ARDOUR_UI::config()->get_GhostTrackMidiOutline()); MidiStreamView* mv = midi_view(); |