summaryrefslogtreecommitdiff
path: root/gtk2_ardour/region_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2008-12-31 18:44:32 +0000
committerCarl Hetherington <carl@carlh.net>2008-12-31 18:44:32 +0000
commitcc677d5c87265d6af7adc73d386a74511fee28cb (patch)
tree600aa019eec97619404765dba9ce6a2478b2e772 /gtk2_ardour/region_view.h
parent538cf8609a2ae0061403115bee05d9e462271cc6 (diff)
Flip stacked regions order so that the highest layer is at the top of the pile. Colour areas of stacked regions according to what will be played.
git-svn-id: svn://localhost/ardour2/branches/3.0@4363 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/region_view.h')
-rw-r--r--gtk2_ardour/region_view.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/region_view.h b/gtk2_ardour/region_view.h
index b9258396d9..11c6c7e556 100644
--- a/gtk2_ardour/region_view.h
+++ b/gtk2_ardour/region_view.h
@@ -87,6 +87,7 @@ class RegionView : public TimeAxisViewItem
virtual void exited () {}
void enable_display(bool yn) { _enable_display = yn; }
+ void update_coverage_frames (LayerDisplay);
static sigc::signal<void,RegionView*> RegionViewGoingAway;
@@ -143,6 +144,12 @@ class RegionView : public TimeAxisViewItem
sigc::connection data_ready_connection;
std::vector<GhostRegion*> ghosts;
+
+ /** a list of rectangles which are used in stacked display mode to colour
+ different bits of regions according to whether or not they are the one
+ that will be played at any given time.
+ */
+ std::list<ArdourCanvas::SimpleRect*> _coverage_frames;
typedef std::map<const Evoral::Parameter, boost::shared_ptr<AutomationRegionView> > AutomationChildren;
AutomationChildren _automation_children;