summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_view.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-06-09 23:28:32 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-09 23:29:00 -0400
commitce08ec0de0b0b077d9b28533c23886607991d144 (patch)
tree031a01c89075fbf90733da202ce8b19f6f048a6c /gtk2_ardour/region_view.h
parent438179d278559bcb41a8abdadfb5e6b2e1e89d2d (diff)
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
Diffstat (limited to 'gtk2_ardour/region_view.h')
-rw-r--r--gtk2_ardour/region_view.h7
1 files changed, 3 insertions, 4 deletions
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<ARDOUR::Region> 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<ARDOUR::Region> 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<ARDOUR::Region>,
double samples_per_pixel,
- Gdk::Color const & basic_color,
+ uint32_t basic_color,
bool recording,
TimeAxisViewItem::Visibility);