more verbose captions on automation track headers; include the plug name.
This commit is contained in:
parent
8445e8c283
commit
1fca43791c
|
@ -91,11 +91,25 @@ AutomationTimeAxisView::AutomationTimeAxisView (
|
||||||
, _automatable (a)
|
, _automatable (a)
|
||||||
, _parameter (p)
|
, _parameter (p)
|
||||||
, _base_rect (new ArdourCanvas::Rectangle (_canvas_display))
|
, _base_rect (new ArdourCanvas::Rectangle (_canvas_display))
|
||||||
, _name (nom)
|
|
||||||
, _view (show_regions ? new AutomationStreamView (*this) : 0)
|
, _view (show_regions ? new AutomationStreamView (*this) : 0)
|
||||||
, auto_button (X_("")) /* force addition of a label */
|
, auto_button (X_("")) /* force addition of a label */
|
||||||
, _show_regions (show_regions)
|
, _show_regions (show_regions)
|
||||||
{
|
{
|
||||||
|
//concatenate plugin name and param name into the tooltip
|
||||||
|
string tipname = nomparent;
|
||||||
|
if (!tipname.empty()) {
|
||||||
|
tipname += ": ";
|
||||||
|
}
|
||||||
|
tipname += nom;
|
||||||
|
ARDOUR_UI::instance()->set_tip(controls_ebox, tipname);
|
||||||
|
|
||||||
|
//plugin name and param name appear on 2 separate lines in the track header
|
||||||
|
tipname = nomparent;
|
||||||
|
if (!tipname.empty()) {
|
||||||
|
tipname += "\n";
|
||||||
|
}
|
||||||
|
tipname += nom;
|
||||||
|
_name = tipname;
|
||||||
|
|
||||||
CANVAS_DEBUG_NAME (_canvas_display, string_compose ("main for auto %2/%1", _name, r->name()));
|
CANVAS_DEBUG_NAME (_canvas_display, string_compose ("main for auto %2/%1", _name, r->name()));
|
||||||
CANVAS_DEBUG_NAME (selection_group, string_compose ("selections for auto %2/%1", _name, r->name()));
|
CANVAS_DEBUG_NAME (selection_group, string_compose ("selections for auto %2/%1", _name, r->name()));
|
||||||
|
@ -170,13 +184,6 @@ AutomationTimeAxisView::AutomationTimeAxisView (
|
||||||
name_label.set_name (X_("TrackParameterName"));
|
name_label.set_name (X_("TrackParameterName"));
|
||||||
name_label.set_ellipsize (Pango::ELLIPSIZE_END);
|
name_label.set_ellipsize (Pango::ELLIPSIZE_END);
|
||||||
|
|
||||||
string tipname = nomparent;
|
|
||||||
if (!tipname.empty()) {
|
|
||||||
tipname += ": ";
|
|
||||||
}
|
|
||||||
tipname += _name;
|
|
||||||
ARDOUR_UI::instance()->set_tip(controls_ebox, tipname);
|
|
||||||
|
|
||||||
/* add the buttons */
|
/* add the buttons */
|
||||||
controls_table.set_border_width (1);
|
controls_table.set_border_width (1);
|
||||||
controls_table.remove (name_hbox);
|
controls_table.remove (name_hbox);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user