1 /*****************************************************************************
\r
2 * renderer.c : dummy text rendering functions
\r
3 *****************************************************************************
\r
4 * Copyright (C) 2000, 2001 VideoLAN
\r
5 * $Id: renderer.c,v 1.1 2003/07/14 22:25:13 sigmunau Exp $
\r
7 * Authors: Sigmund Augdal <sigmunau@idi.ntnu.no>
\r
9 * This program is free software; you can redistribute it and/or modify
\r
10 * it under the terms of the GNU General Public License as published by
\r
11 * the Free Software Foundation; either version 2 of the License, or
\r
12 * (at your option) any later version.
\r
14 * This program is distributed in the hope that it will be useful,
\r
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
17 * GNU General Public License for more details.
\r
19 * You should have received a copy of the GNU General Public License
\r
20 * along with this program; if not, write to the Free Software
\r
21 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
\r
22 *****************************************************************************/
\r
24 #include <vlc/vlc.h>
\r
25 #include <vlc/vout.h>
\r
27 static int AddText ( vout_thread_t *, char *, text_style_t *, int,
\r
28 int, int, mtime_t, mtime_t );
\r
30 int E_(OpenRenderer)( vlc_object_t *p_this )
\r
32 vout_thread_t *p_vout = (vout_thread_t *)p_this;
\r
33 p_vout->pf_add_string = AddText;
\r
37 static int AddText ( vout_thread_t *p_vout, char *psz_string,
\r
38 text_style_t *p_style , int i_flags, int i_x_margin,
\r
39 int i_y_margin, mtime_t i_start, mtime_t i_stop )
\r