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/time_axis_view_item.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/time_axis_view_item.h')
-rw-r--r-- | gtk2_ardour/time_axis_view_item.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/time_axis_view_item.h b/gtk2_ardour/time_axis_view_item.h index 7cd1699caa..97e7a73745 100644 --- a/gtk2_ardour/time_axis_view_item.h +++ b/gtk2_ardour/time_axis_view_item.h @@ -213,7 +213,7 @@ class TimeAxisViewItem : public Selectable /** * */ - void set_color(Gdk::Color& color) ; + void set_color (Gdk::Color const &); /** * @@ -341,19 +341,19 @@ class TimeAxisViewItem : public Selectable * @param start the start point of this item * @param duration the duration of this item */ - TimeAxisViewItem(const std::string & it_name, ArdourCanvas::Group& parent, TimeAxisView& tv, double spu, Gdk::Color& base_color, + TimeAxisViewItem(const std::string & it_name, ArdourCanvas::Group& parent, TimeAxisView& tv, double spu, Gdk::Color const & base_color, nframes_t start, nframes_t duration, bool recording = false, Visibility v = Visibility (0)); TimeAxisViewItem (const TimeAxisViewItem& other); - void init (const std::string& it_name, double spu, Gdk::Color& base_color, nframes_t start, nframes_t duration, Visibility vis); + void init (const std::string& it_name, double spu, Gdk::Color const & base_color, nframes_t start, nframes_t duration, Visibility vis); /** * Calculates some contrasting color for displaying various parts of this item, based upon the base color * * @param color the base color of the item */ - virtual void compute_colors(Gdk::Color& color) ; + virtual void compute_colors (Gdk::Color const & color); /** * convenience method to set the various canvas item colors |