diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2003-10-06 19:19:04 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2003-10-06 19:19:04 +0000 |
commit | c3a7991dd5e1b7a1013afd4e2c154fc870553c1c (patch) | |
tree | 82054c799a089fd4729951a238f6aee564ce45ff /src | |
parent | 6fdf11ff4f277cb34e936fd20cbc1c95f85dfcd3 (diff) | |
download | xine-lib-c3a7991dd5e1b7a1013afd4e2c154fc870553c1c.tar.gz xine-lib-c3a7991dd5e1b7a1013afd4e2c154fc870553c1c.tar.bz2 |
New API function for setting encoding of OSD texts.
CVS patchset: 5458
CVS date: 2003/10/06 19:19:04
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/xine_interface.c | 8 |
1 files changed, 6 insertions, 2 deletions
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); } |