diff libvo/sub.h @ 28255:aeefca2deed3

Change vo_draw_text to a vo_draw_text_ext function which draws DVD navigation highlights at the correct position with the high-resolution OSD of -vo gl.
author reimar
date Sat, 10 Jan 2009 13:47:41 +0000
parents 9e739bdb049c
children 7681eab10aea
line wrap: on
line diff
--- a/libvo/sub.h	Sat Jan 10 13:14:25 2009 +0000
+++ b/libvo/sub.h	Sat Jan 10 13:47:41 2009 +0000
@@ -106,6 +106,9 @@
 extern float spu_gaussvar;
 
 void vo_draw_text(int dxs,int dys,void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
+void vo_draw_text_ext(int dxs, int dys, int left_border, int top_border,
+                      int right_border, int bottom_border, int orig_w, int orig_h,
+                      void (*draw_alpha)(int x0, int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
 void vo_remove_text(int dxs,int dys,void (*remove)(int x0,int y0, int w,int h));
 
 void vo_init_osd(void);