QVisu
Qt-based visualization for smart homes
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vlc_vout_osd.h
1 /*****************************************************************************
2  * vlc_vout_osd.h: vout OSD
3  *****************************************************************************
4  * Copyright (C) 1999-2010 VLC authors and VideoLAN
5  * Copyright (C) 2004-2005 M2X
6  * $Id: 74d79379258cf0af1cdafcd45946c7b4cf23b01f $
7  *
8  * Authors: Jean-Paul Saman <jpsaman #_at_# m2x dot nl>
9  * Gildas Bazin <gbazin@videolan.org>
10  *
11  * This program is free software; you can redistribute it and/or modify it
12  * under the terms of the GNU Lesser General Public License as published by
13  * the Free Software Foundation; either version 2.1 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU Lesser General Public License for more details.
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * along with this program; if not, write to the Free Software Foundation,
23  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24  *****************************************************************************/
25 
26 #ifndef VLC_VOUT_OSD_H
27 #define VLC_VOUT_OSD_H 1
28 
29 #include <vlc_spu.h>
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
38 enum
39 {
40  /* Icons */
41  OSD_PLAY_ICON = 1,
42  OSD_PAUSE_ICON,
43  OSD_SPEAKER_ICON,
44  OSD_MUTE_ICON,
45  /* Sliders */
46  OSD_HOR_SLIDER,
47  OSD_VERT_SLIDER,
48 };
49 
50 /**********************************************************************
51  * Vout text and widget overlays
52  **********************************************************************/
53 VLC_API int vout_OSDEpg( vout_thread_t *, input_item_t * );
54 
63 VLC_API void vout_OSDText( vout_thread_t *vout, int channel, int position, mtime_t duration, const char *text );
64 
74 VLC_API void vout_OSDMessage( vout_thread_t *, int, const char *, ... ) VLC_FORMAT( 3, 4 );
75 
83 VLC_API void vout_OSDSlider( vout_thread_t *, int, int , short );
84 
91 VLC_API void vout_OSDIcon( vout_thread_t *, int, short );
92 
93 #ifdef __cplusplus
94 }
95 #endif
96 
97 #endif /* VLC_VOUT_OSD_H */
98 
Definition: vlc_input_item.h:55
Definition: vlc_vout.h:73
int64_t mtime_t
Definition: vlc_common.h:153