From ce08ec0de0b0b077d9b28533c23886607991d144 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 9 Jun 2014 23:28:32 -0400 Subject: substantial changes in color management, involving a reduction in the use of Gdk::Color and more consistent logic for region coloring. Group tabs now also get the text drawn in an appropriately contrast-y color --- gtk2_ardour/region_view.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/region_view.h') diff --git a/gtk2_ardour/region_view.h b/gtk2_ardour/region_view.h index 59c1e364b8..ff2cf00a0d 100644 --- a/gtk2_ardour/region_view.h +++ b/gtk2_ardour/region_view.h @@ -53,7 +53,7 @@ class RegionView : public TimeAxisViewItem TimeAxisView& time_view, boost::shared_ptr region, double samples_per_pixel, - Gdk::Color const & basic_color, + uint32_t base_color, bool automation = false); RegionView (const RegionView& other); @@ -61,7 +61,7 @@ class RegionView : public TimeAxisViewItem ~RegionView (); - virtual void init (Gdk::Color const & base_color, bool wait_for_data); + virtual void init (bool wait_for_data); boost::shared_ptr region() const { return _region; } @@ -79,7 +79,6 @@ class RegionView : public TimeAxisViewItem void lower_to_bottom (); bool set_position(framepos_t pos, void* src, double* delta = 0); - void fake_set_opaque (bool yn); virtual void show_region_editor (); void hide_region_editor (); @@ -133,7 +132,7 @@ class RegionView : public TimeAxisViewItem TimeAxisView&, boost::shared_ptr, double samples_per_pixel, - Gdk::Color const & basic_color, + uint32_t basic_color, bool recording, TimeAxisViewItem::Visibility); -- cgit v1.2.3