diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-08 10:13:27 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-12-08 22:02:38 -0500 |
commit | aff8a806a269df27d442de401ad73b08ba7c509c (patch) | |
tree | 10d86e67a79cc521631d7ae82df9c88af0136f0b /gtk2_ardour/editor_regions.cc | |
parent | 8455ebce909baebe51b530d949cfd194693bf150 (diff) |
more color work, including removing rgba{_p_}_from_style()
Diffstat (limited to 'gtk2_ardour/editor_regions.cc')
-rw-r--r-- | gtk2_ardour/editor_regions.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_regions.cc b/gtk2_ardour/editor_regions.cc index 78c45c7d8d..f406694e4d 100644 --- a/gtk2_ardour/editor_regions.cc +++ b/gtk2_ardour/editor_regions.cc @@ -341,14 +341,15 @@ EditorRegions::add_region (boost::shared_ptr<Region> region) row = *(_model->append()); if (missing_source) { - c.set_rgb(65535,0,0); // FIXME: error color from style + // c.set_rgb(65535,0,0); // FIXME: error color from style + set_color_from_rgba (c, ARDOUR_UI::config()->color ("region list missing source")); } else if (region->automatic()){ - c.set_rgb(0,65535,0); // FIXME: error color from style + // c.set_rgb(0,65535,0); // FIXME: error color from style + set_color_from_rgba (c, ARDOUR_UI::config()->color ("region list automatic")); } else { - set_color_from_rgba (c, rgba_from_style ("RegionListWholeFile", 0xff, 0, 0, 0, "fg", Gtk::STATE_NORMAL, false )); - + set_color_from_rgba (c, ARDOUR_UI::config()->color ("region list whole file")); } row[_columns.color_] = c; |