summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editing.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2017-02-14 16:09:32 +0100
committerPaul Davis <paul@linuxaudiosystems.com>2017-02-15 20:07:49 +0100
commit0a41daa932a0f742c7dc7a14c02ae93baa12903a (patch)
tree75d6585d78fcc5b2d47f0ec90f25289ac9174265 /gtk2_ardour/editing.h
parent2cc94f88801fa98e7b06d782903ab48446d08287 (diff)
classify all region actions based on how they get a list of regions to operate on; use this in Editor::sensitize_the_right_region_actions()
There are still problems because actions like trim_front() that use the edit point get the edit point with different results than the code that sensitizes actions
Diffstat (limited to 'gtk2_ardour/editing.h')
-rw-r--r--gtk2_ardour/editing.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/editing.h b/gtk2_ardour/editing.h
index 8b6f6d9f67..5558f19460 100644
--- a/gtk2_ardour/editing.h
+++ b/gtk2_ardour/editing.h
@@ -221,6 +221,13 @@ enum ZoomAxis {
Both
};
+enum RegionActionTarget {
+ SelectedRegions = 0x1,
+ EnteredRegions = 0x2,
+ EditPointRegions = 0x4,
+ ListSelection = 0x8
+};
+
} // namespace Editing
#endif // __gtk_ardour_editing_h__