summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2012-03-09 20:47:40 +0000
committerCarl Hetherington <carl@carlh.net>2012-03-09 20:47:40 +0000
commite9bf20021e515939d90469b55dccfd734121b8f5 (patch)
tree01d97973775ddb87bcb38a7f2fd56846d6b46a96 /gtk2_ardour/editor_drag.h
parentc52c2b7368cf40eda6fcbe5840de6390e58ac382 (diff)
Remove unused RegionGainDrag; fix logic in adding new
region gain points; remove unreached switch {} that may have come from a mis-merge. git-svn-id: svn://localhost/ardour2/branches/3.0@11631 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_drag.h')
-rw-r--r--gtk2_ardour/editor_drag.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/gtk2_ardour/editor_drag.h b/gtk2_ardour/editor_drag.h
index 525fc8227a..f39f5cfcb3 100644
--- a/gtk2_ardour/editor_drag.h
+++ b/gtk2_ardour/editor_drag.h
@@ -504,21 +504,6 @@ private:
double _cumulative_dx;
};
-/** Drag of region gain */
-class RegionGainDrag : public Drag
-{
-public:
- RegionGainDrag (Editor *, ArdourCanvas::Item *);
-
- void motion (GdkEvent *, bool);
- void finished (GdkEvent *, bool);
- bool active (Editing::MouseMode m) {
- return (m == Editing::MouseGain);
- }
-
- void aborted (bool);
-};
-
/** Drag to trim region(s) */
class TrimDrag : public RegionDrag
{