]> git.sesse.net Git - vlc/blob - include/osd.h
* include/vlc_block_helper.h, modules/codec/a52.c: same as thedj ;)
[vlc] / include / osd.h
1 /*****************************************************************************
2  * osd.h : Constants for use with osd modules
3  *****************************************************************************
4  * Copyright (C) 2003 VideoLAN
5  * $Id: osd.h,v 1.3 2003/08/10 10:22:52 gbazin Exp $
6  *
7  * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 #define OSD_ALIGN_LEFT 0x1
25 #define OSD_ALIGN_RIGHT 0x2
26 #define OSD_ALIGN_TOP 0x4
27 #define OSD_ALIGN_BOTTOM 0x8
28 struct text_style_t
29 {
30     int i_size;
31     uint32_t i_color;
32     vlc_bool_t b_italic;
33     vlc_bool_t b_bold;
34     vlc_bool_t b_underline;
35 };
36 static const text_style_t default_text_style = { 22, 0xffffff, VLC_FALSE, VLC_FALSE, VLC_FALSE };
37
38 VLC_EXPORT( void, vout_ShowTextRelative, ( vout_thread_t *, char *, text_style_t *, int, int, int, mtime_t ) );
39 VLC_EXPORT( void,  vout_ShowTextAbsolute, ( vout_thread_t *, char *, text_style_t *, int, int, int, mtime_t, mtime_t ) );