Credit Andrew added returns + vulkan patch
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / mainclock.h
1
2 /*
3  * CINELERRA
4  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
5  * Copyright (C) 2003-2016 Cinelerra CV contributors
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20  *
21  */
22
23 #ifndef MAINCLOCK_H
24 #define MAINCLOCK_H
25
26 #include "guicast.h"
27 #include "mwindow.inc"
28 #include "mwindowgui.inc"
29
30 class MainClock : public BC_Title
31 {
32 public:
33         MainClock(MWindow *mwindow, int x, int y, int w);
34         ~MainClock();
35
36         void set_position_offset(double value);
37         void update(double position);
38         void clear();
39
40         MWindow *mwindow;
41         double position_offset;
42 };
43
44
45 #endif