mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
more color work, including removing rgba{_p_}_from_style()
This commit is contained in:
parent
8455ebce90
commit
aff8a806a2
11 changed files with 78 additions and 238 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue