diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-01-10 13:47:41 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-01-10 13:47:41 +0000 |
commit | 07fb95d10b00e2cc515b9c6cb9dfcfa42f3b4f4a (patch) | |
tree | 22d7d624c7e9364f3c5f77f952d744e79a88de01 /libvo/sub.h | |
parent | a846b34f3e18b95401e97e1e4c788205d39bbee3 (diff) | |
download | mpv-07fb95d10b00e2cc515b9c6cb9dfcfa42f3b4f4a.tar.bz2 mpv-07fb95d10b00e2cc515b9c6cb9dfcfa42f3b4f4a.tar.xz |
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.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28290 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/sub.h')
-rw-r--r-- | libvo/sub.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/sub.h b/libvo/sub.h index 591a166692..b16cd77a60 100644 --- a/libvo/sub.h +++ b/libvo/sub.h @@ -106,6 +106,9 @@ extern int spu_aamode; 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); |