summaryrefslogtreecommitdiff
path: root/gtk2_ardour/selection.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2007-05-10 11:53:35 +0000
committerCarl Hetherington <carl@carlh.net>2007-05-10 11:53:35 +0000
commitaa3bb18b173fdd8bc7f9611f3dbe52e36cfe6215 (patch)
tree15217bff4c9ed78a865967850c6e0c9c417c0dfd /gtk2_ardour/selection.h
parent4342f2aeb0510ec272144c9523663df3ba0c38af (diff)
Re-work main right-click context menu to operate on the selection, and remove some confusion about what region(s) will be affected by menu selections.
git-svn-id: svn://localhost/ardour2/trunk@1831 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/selection.h')
-rw-r--r--gtk2_ardour/selection.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/selection.h b/gtk2_ardour/selection.h
index 00bc6eeaaa..868163d04f 100644
--- a/gtk2_ardour/selection.h
+++ b/gtk2_ardour/selection.h
@@ -45,6 +45,10 @@ namespace ARDOUR {
class AutomationList;
}
+/// Lists of selected things
+
+/** The Selection class holds lists of selected items (tracks, regions, etc. etc.). */
+
class Selection : public sigc::trackable
{
public:
@@ -149,6 +153,7 @@ class Selection : public sigc::trackable
void clear_points ();
void foreach_region (void (ARDOUR::Region::*method)(void));
+ void foreach_regionview (void (RegionView::*method)(void));
template<class A> void foreach_region (void (ARDOUR::Region::*method)(A), A arg);
private: