diff options
author | Carl Hetherington <carl@carlh.net> | 2009-06-08 19:28:51 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-06-08 19:28:51 +0000 |
commit | 0874426a5b6777559a12f87070b2aadb230ec50d (patch) | |
tree | d5126aab2f88035fe42531e663816f4509333618 /gtk2_ardour/region_view.h | |
parent | 472fa271fd2de889ef41dc3d7a1aaccce9ea42c0 (diff) |
Further refactoring of drag code. Changes so that drags from the region list display a region view during the drag.
git-svn-id: svn://localhost/ardour2/branches/3.0@5127 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_view.h')
-rw-r--r-- | gtk2_ardour/region_view.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk2_ardour/region_view.h b/gtk2_ardour/region_view.h index 25c4eb8714..98329ee77b 100644 --- a/gtk2_ardour/region_view.h +++ b/gtk2_ardour/region_view.h @@ -45,14 +45,14 @@ class RegionView : public TimeAxisViewItem TimeAxisView& time_view, boost::shared_ptr<ARDOUR::Region> region, double samples_per_unit, - Gdk::Color& basic_color); + Gdk::Color const & basic_color); RegionView (const RegionView& other); RegionView (const RegionView& other, boost::shared_ptr<ARDOUR::Region> other_region); ~RegionView (); - virtual void init (Gdk::Color& base_color, bool wait_for_data); + virtual void init (Gdk::Color const & base_color, bool wait_for_data); boost::shared_ptr<ARDOUR::Region> region() const { return _region; } @@ -99,8 +99,8 @@ class RegionView : public TimeAxisViewItem RegionView (ArdourCanvas::Group *, TimeAxisView&, boost::shared_ptr<ARDOUR::Region>, - double samples_per_unit, - Gdk::Color& basic_color, + double samples_per_unit, + Gdk::Color const & basic_color, bool recording, TimeAxisViewItem::Visibility); @@ -117,7 +117,6 @@ class RegionView : public TimeAxisViewItem void lock_toggle (); virtual void set_colors (); - virtual void compute_colors (Gdk::Color&); virtual void set_frame_color (); virtual void reset_width_dependent_items (double pixel_width); |