L: add some tooltips to show+hide buttons
This commit is contained in:
parent
d312a7faef
commit
9f857f52d6
@ -451,30 +451,35 @@ ARDOUR_UI::livetrax_setup_windows ()
|
|||||||
|
|
||||||
livetrax_view_in_folder_button = manage (new ArdourButton (elements));
|
livetrax_view_in_folder_button = manage (new ArdourButton (elements));
|
||||||
livetrax_view_in_folder_button->set_icon (ArdourWidgets::ArdourIcon::Folder);
|
livetrax_view_in_folder_button->set_icon (ArdourWidgets::ArdourIcon::Folder);
|
||||||
|
ArdourWidgets::set_tooltip (livetrax_view_in_folder_button, _("Show Files in your file manager"));
|
||||||
|
|
||||||
livetrax_editor_view_button = manage (new ArdourButton (_("TRACKS"), ArdourButton::Element (ArdourButton::Text|ArdourButton::Body), true));
|
livetrax_editor_view_button = manage (new ArdourButton (_("TRACKS"), ArdourButton::Element (ArdourButton::Text|ArdourButton::Body), true));
|
||||||
livetrax_editor_view_button->set_icon (ArdourWidgets::ArdourIcon::TrackWaveform);
|
livetrax_editor_view_button->set_icon (ArdourWidgets::ArdourIcon::TrackWaveform);
|
||||||
act = ActionManager::get_action (X_("Common"), X_("livetrax-toggle-editor"));
|
act = ActionManager::get_action (X_("Common"), X_("livetrax-toggle-editor"));
|
||||||
livetrax_editor_view_button->set_related_action (act);
|
livetrax_editor_view_button->set_related_action (act);
|
||||||
livetrax_editor_view_button->set_name ("page switch button");
|
livetrax_editor_view_button->set_name ("page switch button");
|
||||||
|
ArdourWidgets::set_tooltip (livetrax_editor_view_button, _("Show/Hide Track display"));
|
||||||
|
|
||||||
livetrax_prefs_view_button = manage (new ArdourButton (_("PREFS"), ArdourButton::Element (ArdourButton::Text|ArdourButton::Body), true));
|
livetrax_prefs_view_button = manage (new ArdourButton (_("PREFS"), ArdourButton::Element (ArdourButton::Text|ArdourButton::Body), true));
|
||||||
livetrax_prefs_view_button->set_icon (ArdourWidgets::ArdourIcon::Config);
|
livetrax_prefs_view_button->set_icon (ArdourWidgets::ArdourIcon::Config);
|
||||||
act = ActionManager::get_action (X_("Common"), X_("show-ui-prefs"));
|
act = ActionManager::get_action (X_("Common"), X_("show-ui-prefs"));
|
||||||
livetrax_prefs_view_button->set_related_action (act);
|
livetrax_prefs_view_button->set_related_action (act);
|
||||||
livetrax_prefs_view_button->set_name ("page switch button");
|
livetrax_prefs_view_button->set_name ("page switch button");
|
||||||
|
ArdourWidgets::set_tooltip (livetrax_prefs_view_button, _("Show/Hide Preferences window"));
|
||||||
|
|
||||||
livetrax_meter_view_button = manage (new ArdourButton (ArdourButton::Element (ArdourButton::Text|ArdourButton::Body), true));;
|
livetrax_meter_view_button = manage (new ArdourButton (ArdourButton::Element (ArdourButton::Text|ArdourButton::Body), true));;
|
||||||
livetrax_meter_view_button->set_icon (ArdourWidgets::ArdourIcon::Meters);
|
livetrax_meter_view_button->set_icon (ArdourWidgets::ArdourIcon::Meters);
|
||||||
act = ActionManager::get_action (X_("Common"), X_("livetrax-toggle-meter"));
|
act = ActionManager::get_action (X_("Common"), X_("livetrax-toggle-meter"));
|
||||||
livetrax_meter_view_button->set_related_action (act);
|
livetrax_meter_view_button->set_related_action (act);
|
||||||
livetrax_meter_view_button->set_name ("page switch button");
|
livetrax_meter_view_button->set_name ("page switch button");
|
||||||
|
ArdourWidgets::set_tooltip (livetrax_meter_view_button, _("Show/Hide Soundcard input meters"));
|
||||||
|
|
||||||
livetrax_mixer_view_button = manage (new ArdourButton (ArdourButton::Element (ArdourButton::Text|ArdourButton::Body), true));
|
livetrax_mixer_view_button = manage (new ArdourButton (ArdourButton::Element (ArdourButton::Text|ArdourButton::Body), true));
|
||||||
livetrax_mixer_view_button->set_icon (ArdourWidgets::ArdourIcon::Mixer);
|
livetrax_mixer_view_button->set_icon (ArdourWidgets::ArdourIcon::Mixer);
|
||||||
act = ActionManager::get_action (X_("Common"), X_("livetrax-toggle-mixer"));
|
act = ActionManager::get_action (X_("Common"), X_("livetrax-toggle-mixer"));
|
||||||
livetrax_mixer_view_button->set_related_action (act);
|
livetrax_mixer_view_button->set_related_action (act);
|
||||||
livetrax_mixer_view_button->set_name ("page switch button");
|
livetrax_mixer_view_button->set_name ("page switch button");
|
||||||
|
ArdourWidgets::set_tooltip (livetrax_mixer_view_button, _("Show/Hide Mixer"));
|
||||||
|
|
||||||
livetrax_sr_button = manage (new ArdourButton (ArdourButton::Element (ArdourButton::Text|ArdourButton::Edge|ArdourButton::Body), true));
|
livetrax_sr_button = manage (new ArdourButton (ArdourButton::Element (ArdourButton::Text|ArdourButton::Edge|ArdourButton::Body), true));
|
||||||
act = ActionManager::get_action (X_("Window"), X_("toggle-audio-midi-setup"));
|
act = ActionManager::get_action (X_("Window"), X_("toggle-audio-midi-setup"));
|
||||||
@ -492,6 +497,7 @@ ARDOUR_UI::livetrax_setup_windows ()
|
|||||||
livetrax_lock_button->set_icon (ArdourWidgets::ArdourIcon::Lock);
|
livetrax_lock_button->set_icon (ArdourWidgets::ArdourIcon::Lock);
|
||||||
act = ActionManager::get_action (X_("Editor"), X_("lock"));
|
act = ActionManager::get_action (X_("Editor"), X_("lock"));
|
||||||
livetrax_lock_button->set_related_action (act);
|
livetrax_lock_button->set_related_action (act);
|
||||||
|
ArdourWidgets::set_tooltip (livetrax_lock_button, _("Lock the GUI"));
|
||||||
|
|
||||||
act = ActionManager::get_action (X_("Main"), X_("ResetMeterPeakHold"));
|
act = ActionManager::get_action (X_("Main"), X_("ResetMeterPeakHold"));
|
||||||
_livetrax_btn_peak_reset.set_related_action (act);
|
_livetrax_btn_peak_reset.set_related_action (act);
|
||||||
|
Loading…
Reference in New Issue
Block a user