13
0

L: pixel-pushing: tweaks to marker-buttons

This commit is contained in:
Ben Loftis 2024-05-28 22:21:28 -05:00
parent c032826631
commit d312a7faef

View File

@ -999,24 +999,26 @@ Editor::livetrax_assign_ui_dependent_actions()
{ {
Glib::RefPtr<Action> act; Glib::RefPtr<Action> act;
_livetrax_btn_prev_marker.set_elements(ArdourButton::Element (ArdourButton::VectorIcon|ArdourButton::Body)); _livetrax_btn_prev_marker.set_elements(ArdourButton::Element (ArdourButton::VectorIcon|ArdourButton::Edge|ArdourButton::Body));
_livetrax_btn_prev_marker.set_icon(ArdourWidgets::ArdourIcon::ScrollLeft); _livetrax_btn_prev_marker.set_icon(ArdourWidgets::ArdourIcon::ScrollLeft);
act = ActionManager::get_action (X_("Common"), X_("jump-backward-to-mark")); act = ActionManager::get_action (X_("Common"), X_("jump-backward-to-mark"));
_livetrax_btn_prev_marker.set_related_action (act); _livetrax_btn_prev_marker.set_related_action (act);
set_tooltip (_livetrax_btn_prev_marker, _("Jump to Prior Marker")); set_tooltip (_livetrax_btn_prev_marker, _("Jump to Prior Marker"));
_livetrax_btn_next_marker.set_elements(ArdourButton::Element (ArdourButton::VectorIcon|ArdourButton::Body)); _livetrax_btn_next_marker.set_elements(ArdourButton::Element (ArdourButton::VectorIcon|ArdourButton::Edge|ArdourButton::Body));
_livetrax_btn_next_marker.set_icon(ArdourWidgets::ArdourIcon::ScrollRight); _livetrax_btn_next_marker.set_icon(ArdourWidgets::ArdourIcon::ScrollRight);
act = ActionManager::get_action (X_("Common"), X_("jump-forward-to-mark")); act = ActionManager::get_action (X_("Common"), X_("jump-forward-to-mark"));
_livetrax_btn_next_marker.set_related_action (act); _livetrax_btn_next_marker.set_related_action (act);
set_tooltip (_livetrax_btn_next_marker, _("Jump to Next Marker")); set_tooltip (_livetrax_btn_next_marker, _("Jump to Next Marker"));
_livetrax_btn_new_location.set_elements(ArdourButton::Element (ArdourButton::Text|ArdourButton::Body)); _livetrax_btn_new_location.set_elements(ArdourButton::Element (ArdourButton::Text|ArdourButton::Body));
_livetrax_btn_new_location.set_alignment(1.0, 0.5);
act = ActionManager::get_action (X_("Common"), X_("add-location-from-playhead")); act = ActionManager::get_action (X_("Common"), X_("add-location-from-playhead"));
_livetrax_btn_new_location.set_related_action (act); _livetrax_btn_new_location.set_related_action (act);
set_tooltip (_livetrax_btn_new_location, _("Create a New Marker at Playhead")); set_tooltip (_livetrax_btn_new_location, _("Create a New Marker at Playhead"));
_livetrax_btn_new_section.set_elements(ArdourButton::Element (ArdourButton::Text|ArdourButton::Body)); _livetrax_btn_new_section.set_elements(ArdourButton::Element (ArdourButton::Text|ArdourButton::Body));
_livetrax_btn_new_section.set_alignment(1.0, 0.5);
act = ActionManager::get_action (X_("Common"), X_("add-section-from-playhead")); act = ActionManager::get_action (X_("Common"), X_("add-section-from-playhead"));
_livetrax_btn_new_section.set_related_action (act); _livetrax_btn_new_section.set_related_action (act);
set_tooltip (_livetrax_btn_new_section, _("Start a New Section at Playhead")); set_tooltip (_livetrax_btn_new_section, _("Start a New Section at Playhead"));