LT: thin the range-selection context-menu
This commit is contained in:
parent
a6391e175c
commit
774638bec9
@ -1728,7 +1728,7 @@ Editor::popup_track_context_menu (int button, int32_t time, ItemType item_type,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item_type != SelectionItem && clicked_routeview && clicked_routeview->audio_track()) {
|
if (!ARDOUR::Profile->get_livetrax() && item_type != SelectionItem && clicked_routeview && clicked_routeview->audio_track()) {
|
||||||
|
|
||||||
/* Bounce to disk */
|
/* Bounce to disk */
|
||||||
|
|
||||||
@ -2005,6 +2005,26 @@ Editor::add_selection_context_items (Menu_Helpers::MenuList& edit_items, bool ti
|
|||||||
{
|
{
|
||||||
using namespace Menu_Helpers;
|
using namespace Menu_Helpers;
|
||||||
|
|
||||||
|
if (ARDOUR::Profile->get_livetrax()) {
|
||||||
|
edit_items.push_back (MenuElem (_("Play Range"), sigc::mem_fun(*this, &Editor::play_selection)));
|
||||||
|
edit_items.push_back (MenuElem (_("Loop Range"), sigc::bind (sigc::mem_fun(*this, &Editor::set_loop_from_selection), true)));
|
||||||
|
|
||||||
|
edit_items.push_back (SeparatorElem());
|
||||||
|
edit_items.push_back (MenuElem (_("Zoom to Range"), sigc::bind (sigc::mem_fun(*this, &Editor::temporal_zoom_selection), Horizontal)));
|
||||||
|
|
||||||
|
edit_items.push_back (SeparatorElem());
|
||||||
|
edit_items.push_back (MenuElem (_("Spectral Analysis"), sigc::mem_fun(*this, &Editor::spectral_analyze_range_selection)));
|
||||||
|
|
||||||
|
edit_items.push_back (SeparatorElem());
|
||||||
|
edit_items.push_back (MenuElem (_("Separate"), mem_fun(*this, &Editor::separate_region_from_selection)));
|
||||||
|
edit_items.push_back (MenuElem (_("Crop Region to Range"), sigc::mem_fun(*this, &Editor::crop_region_to_selection)));
|
||||||
|
|
||||||
|
edit_items.push_back (SeparatorElem());
|
||||||
|
edit_items.push_back (MenuElem (_("Set Session Start/End from Selection"), sigc::mem_fun(*this, &Editor::set_session_extents_from_selection)));
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
edit_items.push_back (MenuElem (_("Play Range"), sigc::mem_fun(*this, &Editor::play_selection)));
|
edit_items.push_back (MenuElem (_("Play Range"), sigc::mem_fun(*this, &Editor::play_selection)));
|
||||||
edit_items.push_back (MenuElem (_("Loop Range"), sigc::bind (sigc::mem_fun(*this, &Editor::set_loop_from_selection), true)));
|
edit_items.push_back (MenuElem (_("Loop Range"), sigc::bind (sigc::mem_fun(*this, &Editor::set_loop_from_selection), true)));
|
||||||
|
|
||||||
@ -2089,6 +2109,10 @@ Editor::add_selection_context_items (Menu_Helpers::MenuList& edit_items, bool ti
|
|||||||
void
|
void
|
||||||
Editor::add_dstream_context_items (Menu_Helpers::MenuList& edit_items)
|
Editor::add_dstream_context_items (Menu_Helpers::MenuList& edit_items)
|
||||||
{
|
{
|
||||||
|
if (ARDOUR::Profile->get_livetrax()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
using namespace Menu_Helpers;
|
using namespace Menu_Helpers;
|
||||||
|
|
||||||
/* Playback */
|
/* Playback */
|
||||||
|
Loading…
Reference in New Issue
Block a user