mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 23:05:04 +01:00
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
This commit is contained in:
parent
4342f2aeb0
commit
aa3bb18b17
13 changed files with 484 additions and 675 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue