mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
triggerbox: use translatable marker name function in GUI
This commit is contained in:
parent
98f1b4364d
commit
17e5667216
11 changed files with 16 additions and 17 deletions
|
|
@ -235,7 +235,7 @@ TriggerEntry::draw_follow_icon (Cairo::RefPtr<Cairo::Context> context, FollowAct
|
|||
}
|
||||
Glib::RefPtr<Pango::Layout> layout = Pango::Layout::create (context);
|
||||
layout->set_font_description (UIConfiguration::instance ().get_SmallMonospaceFont ());
|
||||
layout->set_text (string_compose ("%1", (char)('A' + cue_idx))); //XXX translate?
|
||||
layout->set_text (cue_marker_name (cue_idx));
|
||||
int tw, th;
|
||||
layout->get_pixel_size (tw, th);
|
||||
context->move_to (size / 2, size / 2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue