]> git.sesse.net Git - mlt/blob - src/modules/qt/kdenlivetitle_wrapper.h
Fix clock hand for down direction
[mlt] / src / modules / qt / kdenlivetitle_wrapper.h
1 /*
2  * kdenlivetitle_wrapper.h -- kdenlivetitle wrapper
3  * Copyright (c) 2009 Marco Gittler <g.marco@freenet.de>
4  * Copyright (c) 2009 Jean-Baptiste Mardelle <jb@kdenlive.org>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
19  */
20
21 #include <framework/mlt.h>
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26   
27 #include <framework/mlt_producer.h>
28 #include <framework/mlt_cache.h>
29 #include <framework/mlt_frame.h>
30
31
32 struct producer_ktitle_s
33 {
34         struct mlt_producer_s parent;
35         uint8_t *current_image;
36         int current_width;
37         int current_height;
38         pthread_mutex_t mutex;
39 };
40
41 typedef struct producer_ktitle_s *producer_ktitle;
42
43 extern void drawKdenliveTitle( producer_ktitle self, mlt_frame frame, int, int, double, int );
44
45
46 #ifdef __cplusplus
47 }
48 #endif
49
50
51