trigger_ui: add more tooltips

This commit is contained in:
Ben Loftis 2022-02-19 12:12:43 -06:00
parent ab44c9a750
commit ee9e7589ee
5 changed files with 15 additions and 1 deletions

View File

@ -100,6 +100,8 @@ ARDOUR_UI::setup_tooltips ()
set_tip (secondary_clock, _("<b>Secondary Clock</b> right-click to set display mode. Click to edit, click+drag a digit or mouse-over+scroll wheel to modify.\nText edits: right-to-left overwrite <tt>Esc</tt>: cancel; <tt>Enter</tt>: confirm; postfix the edit with '+' or '-' to enter delta times.\n"));
set_tip (editor_meter_peak_display, _("Reset All Peak Meters"));
set_tip (error_alert_button, _("Show Error Log and acknowledge warnings"));
set_tip (_cue_rec_enable, _("When enabled, triggering Cues will result in Cue Markers added to the timeline"));
set_tip (_cue_play_enable, _("When enabled, Cue Markers will trigger the associated Cue when passed on the timeline"));
set_tip (latency_disable_button, _("Disable all Plugin Delay Compensation. This results in the shortest delay from live input to output, but any paths with delay-causing plugins will sound later than those without."));

View File

@ -74,6 +74,8 @@ CueEntry::CueEntry (Item* item, uint64_t cue_index)
name_button->name = ("slot_selector_button");
name_button->show ();
set_tooltip (_("Click to launch all clips in this row\nRight-click to select properties for all clips in this row"));
/* watch for cue-recording state */
TriggerBox::CueRecordingChanged.connect (_session_connections, MISSING_INVALIDATOR, boost::bind (&CueEntry::rec_state_changed, this), gui_context ());

View File

@ -129,6 +129,9 @@ TriggerClipPicker::TriggerClipPicker ()
ArdourWidgets::set_tooltip (_play_btn, _("Audition selected clip"));
ArdourWidgets::set_tooltip (_stop_btn, _("Stop the audition"));
ArdourWidgets::set_tooltip (_open_library_btn, _("Open clip library folder"));
ArdourWidgets::set_tooltip (_auditioner_combo, _("Select the Synth used for auditioning"));
ArdourWidgets::set_tooltip (_show_plugin_btn, _("Show the GUI for the Auditioner Synth"));
ArdourWidgets::set_tooltip (_clip_dir_menu, _("Click to select a clip folder and edit your available clip folders"));
format_text.set_alignment(Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER);
channels_value.set_alignment(Gtk::ALIGN_LEFT, Gtk::ALIGN_CENTER);

View File

@ -127,6 +127,8 @@ TriggerMaster::TriggerMaster (Item* parent)
_loopster = new Loopster (this);
set_tooltip (_("Click to stop all clips in this track\nRight-click to select properties for all clips in this track"));
#if 0 /* XXX trigger changes */
_triggerbox->PropertyChanged.connect (_trigger_prop_connection, MISSING_INVALIDATOR, boost::bind (&TriggerMaster::prop_change, this, _1), gui_context());
PropertyChange changed;
@ -508,6 +510,8 @@ CueMaster::CueMaster (Item* parent)
Event.connect (sigc::mem_fun (*this, &CueMaster::event_handler));
set_tooltip (_("Click to stop all clips\nRight-click to select properties for all clips in the grid"));
stop_shape = new ArdourCanvas::Polygon (this);
stop_shape->set_outline (false);
stop_shape->set_fill (true);

View File

@ -86,6 +86,7 @@ TriggerEntry::TriggerEntry (Item* item, TriggerReference tr)
follow_button->set_outline (false);
follow_button->set_fill (true);
follow_button->name = ("slot_selector_button");
follow_button->set_tooltip (_("Click to select Follow-Actions for this clip"));
follow_button->show ();
name_button = new ArdourCanvas::Rectangle (this);
@ -96,6 +97,7 @@ TriggerEntry::TriggerEntry (Item* item, TriggerReference tr)
name_text = new Text (name_button);
name_text->set_ignore_events (false);
name_text->set_tooltip (_("Click to select this clip and edit its properties\nRight-Click for context menu"));
name_text->show ();
/* this will trigger a call to on_trigger_changed() */
@ -180,7 +182,6 @@ TriggerEntry::_size_allocate (ArdourCanvas::Rect const& alloc)
void
TriggerEntry::draw_follow_icon (Cairo::RefPtr<Cairo::Context> context, FollowAction const & icon, float size, float scale) const
{
uint32_t bg_color = fill_color ();
uint32_t fg_color = UIConfiguration::instance ().color ("neutral:midground");
/* in the case where there is a random follow-action, just put a "?" */
@ -480,8 +481,10 @@ TriggerEntry::on_trigger_changed (PropertyChange const& change)
if (change.contains (ARDOUR::Properties::name)) {
if (trigger ()->region ()) {
name_text->set (short_version (trigger ()->name (), 16));
play_button->set_tooltip (_("Launch this clip\nRight-click to select Launch Options for this clip"));
} else {
name_text->set ("");
play_button->set_tooltip (_("Stop other clips on this track.\nRight-click to select Launch Options for this clip"));
}
}