2 #include "edlsession.h"
8 MainClock::MainClock(MWindow *mwindow, int x, int y, int w)
17 this->mwindow = mwindow;
21 MainClock::~MainClock()
25 void MainClock::set_frame_offset(double value)
27 position_offset = value;
30 void MainClock::update(double position)
32 char string[BCTEXTLEN];
34 position += position_offset;
38 mwindow->edl->session->time_format,
39 mwindow->edl->session->sample_rate,
40 mwindow->edl->session->frame_rate,
41 mwindow->edl->session->frames_per_foot);
42 BC_Title::update(string);