From c3a7991dd5e1b7a1013afd4e2c154fc870553c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Mon, 6 Oct 2003 19:19:04 +0000 Subject: New API function for setting encoding of OSD texts. CVS patchset: 5458 CVS date: 2003/10/06 19:19:04 --- src/xine-engine/xine_interface.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c index 3f0f7b5df..b46e2b73f 100644 --- a/src/xine-engine/xine_interface.c +++ b/src/xine-engine/xine_interface.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_interface.c,v 1.58 2003/09/18 18:14:51 valtri Exp $ + * $Id: xine_interface.c,v 1.59 2003/10/06 19:19:05 valtri Exp $ * * convenience/abstraction layer, functions to implement * libxine's public interface @@ -602,7 +602,7 @@ xine_osd_t *xine_osd_new(xine_stream_t *stream, int x, int y, int width, int hei this->osd.renderer->set_encoding(&this->osd, ""); return this; } - + void xine_osd_draw_point(xine_osd_t *this, int x, int y, int color) { this->osd.renderer->point(&this->osd, x, y, color); } @@ -634,6 +634,10 @@ void xine_osd_set_font(xine_osd_t *this, const char *fontname, int size) { this->osd.renderer->set_font(&this->osd, fontname, size); } +void xine_osd_set_encoding(xine_osd_t *this, const char *encoding) { + this->osd.renderer->set_encoding(&this->osd, encoding); +} + void xine_osd_set_position(xine_osd_t *this, int x, int y) { this->osd.renderer->set_position(&this->osd, x, y); } -- cgit v1.2.3