clock: pull-up/down display update
git-svn-id: svn://localhost/ardour2/branches/3.0@13484 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
3f35528f18
commit
f761de0d70
@ -1113,12 +1113,12 @@ AudioClock::set_frames (framepos_t when, bool /*force*/)
|
|||||||
float vid_pullup = _session->config.get_video_pullup();
|
float vid_pullup = _session->config.get_video_pullup();
|
||||||
|
|
||||||
if (vid_pullup == 0.0) {
|
if (vid_pullup == 0.0) {
|
||||||
_right_layout->set_markup (string_compose ("<span size=\"%1\" foreground=\"white\">%2</span>",
|
_right_layout->set_markup (string_compose ("<span size=\"%1\"><span foreground=\"white\">%2 </span><span foreground=\"green\">off</span></span>",
|
||||||
INFO_FONT_SIZE, _("<s>pull up/down</s>")));
|
INFO_FONT_SIZE, _("Pull")));
|
||||||
} else {
|
} else {
|
||||||
sprintf (buf, _("%+-6.4f%%"), vid_pullup);
|
sprintf (buf, _("%+.4f%%"), vid_pullup);
|
||||||
_right_layout->set_markup (string_compose ("<span size=\"%1\" foreground=\"green\">%2</span>",
|
_right_layout->set_markup (string_compose ("<span size=\"%1\"><span foreground=\"white\">%2 </span><span foreground=\"green\">%3</span></span>",
|
||||||
INFO_FONT_SIZE, buf));
|
INFO_FONT_SIZE, _("Pull"), buf));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user