summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.h
diff options
context:
space:
mode:
authorBen Loftis <ben@glw.com>2012-12-13 16:42:05 +0000
committerBen Loftis <ben@glw.com>2012-12-13 16:42:05 +0000
commit2292e33ee418070c4d12971a72e01eb29dfc8de9 (patch)
tree6ed7d15db7ff0984efd2bd87f6f3cfa22adc3444 /gtk2_ardour/editor_drag.h
parent1224fc07007a99a138678a800497c841f4f04e1b (diff)
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
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r--gtk2_ardour/editor_drag.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h
index 2177555856..f18a40a9e2 100644
--- a/gtk2_ardour/editor_drag.h
+++ b/gtk2_ardour/editor_drag.h
@@ -515,7 +515,7 @@ public:
ContentsTrim,
};
- TrimDrag (Editor *, ArdourCanvas::Item *, RegionView*, std::list<RegionView*> const &);
+ TrimDrag (Editor *, ArdourCanvas::Item *, RegionView*, std::list<RegionView*> const &, bool preserve_fade_anchor = false);
void start_grab (GdkEvent *, Gdk::Cursor* c = 0);
void motion (GdkEvent *, bool);
@@ -531,6 +531,8 @@ public:
private:
Operation _operation;
+
+ bool _preserve_fade_anchor;
};
/** Meter marker drag */