From 2292e33ee418070c4d12971a72e01eb29dfc8de9 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Thu, 13 Dec 2012 16:42:05 +0000 Subject: crossfade hack and slash. removed overlap checks, overlap mode, default length, fade_is_xfade, fade_is_short, and other leftovers from previous crossfade models. Draw crossfade drags in realtime so fade_line is no longer needed. remove code for hiding crossfades during a drag. moved crossfade rect to top layer so crossfade lines dont grab mouse focus. drag-trim-with-fixed-fade-anchor is partially implemented and needs discussion git-svn-id: svn://localhost/ardour2/branches/3.0@13659 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/region_view.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk2_ardour/region_view.h') diff --git a/gtk2_ardour/region_view.h b/gtk2_ardour/region_view.h index 901e2a8596..1eda8fd360 100644 --- a/gtk2_ardour/region_view.h +++ b/gtk2_ardour/region_view.h @@ -107,12 +107,12 @@ class RegionView : public TimeAxisViewItem /** Called when a front trim is about to begin */ virtual void trim_front_starting () {} - void trim_front (framepos_t, bool); + bool trim_front (framepos_t, bool); /** Called when a start trim has finished */ virtual void trim_front_ending () {} - void trim_end (framepos_t, bool); + bool trim_end (framepos_t, bool); void trim_contents (framepos_t, bool, bool); virtual void thaw_after_trim (); -- cgit v1.2.3