/*
* CINELERRA
* Copyright (C) 1997-2017 Adam Williams <broadcast at earthling dot net>
+ * Copyright (C) 2003-2016 Cinelerra CV contributors
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
this->mwindow = mwindow;
position_offset = 0;
set_bg_color(mwindow->theme->clock_bg_color);
+// *** CONTEXT_HELP ***
+ context_help_set_keyword("Time Format section");
}
MainClock::~MainClock()
lock_window("MainClock::update");
char string[BCTEXTLEN];
position += position_offset;
+ double timecode_offset =
+ mwindow->edl->session->time_format == TIME_TIMECODE ?
+ mwindow->get_timecode_offset() : 0 ;
Units::totext(string, position,
mwindow->edl->session->time_format,
mwindow->edl->session->sample_rate,
mwindow->edl->session->frame_rate,
- mwindow->edl->session->frames_per_foot);
+ mwindow->edl->session->frames_per_foot,
+ timecode_offset);
BC_Title::update(string);
unlock_window();
}