From a49410074fd4df1f0ca7797e8b4e0ee6a845b927 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 26 Nov 2003 13:33:54 +0000 Subject: public api for unscaled osd CVS patchset: 5786 CVS date: 2003/11/26 13:33:54 --- src/xine-engine/xine_interface.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/xine_interface.c') diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c index de12bafc7..298cf8c6a 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.67 2003/11/16 23:33:49 f1rmb Exp $ + * $Id: xine_interface.c,v 1.68 2003/11/26 13:33:55 miguelfreitas Exp $ * * convenience/abstraction layer, functions to implement * libxine's public interface @@ -603,6 +603,10 @@ xine_osd_t *xine_osd_new(xine_stream_t *stream, int x, int y, int width, int hei return this; } +uint32_t xine_osd_get_capabilities(xine_osd_t *this) { + return this->osd.renderer->get_capabilities(&this->osd); +} + void xine_osd_draw_point(xine_osd_t *this, int x, int y, int color) { this->osd.renderer->point(&this->osd, x, y, color); } @@ -646,6 +650,10 @@ void xine_osd_show(xine_osd_t *this, int64_t vpts) { this->osd.renderer->show(&this->osd, vpts); } +void xine_osd_show_unscaled(xine_osd_t *this, int64_t vpts) { + this->osd.renderer->show(&this->osd, vpts); +} + void xine_osd_hide(xine_osd_t *this, int64_t vpts) { this->osd.renderer->hide(&this->osd, vpts); } -- cgit v1.2.3