Mercurial > mplayer.hg
comparison libvo/vo_directx.c @ 28121:2a6dfdf16b6b
#include sub.h instead of locally declaring vo_draw_text().
author | diego |
---|---|
date | Wed, 17 Dec 2008 00:06:03 +0000 |
parents | 9e739bdb049c |
children | eda346733b8c |
comparison
equal
deleted
inserted
replaced
28120:4439fff4d904 | 28121:2a6dfdf16b6b |
---|---|
35 #include "input/mouse.h" | 35 #include "input/mouse.h" |
36 #include "mp_msg.h" | 36 #include "mp_msg.h" |
37 #include "aspect.h" | 37 #include "aspect.h" |
38 #include "geometry.h" | 38 #include "geometry.h" |
39 #include "mp_fifo.h" | 39 #include "mp_fifo.h" |
40 #include "sub.h" | |
40 | 41 |
41 #ifdef CONFIG_GUI | 42 #ifdef CONFIG_GUI |
42 #include "gui/interface.h" | 43 #include "gui/interface.h" |
43 #endif | 44 #endif |
44 | 45 |
87 static RECT monitor_rect; //monitor coordinates | 88 static RECT monitor_rect; //monitor coordinates |
88 static float window_aspect; | 89 static float window_aspect; |
89 static BOOL (WINAPI* myGetMonitorInfo)(HMONITOR, LPMONITORINFO) = NULL; | 90 static BOOL (WINAPI* myGetMonitorInfo)(HMONITOR, LPMONITORINFO) = NULL; |
90 static RECT last_rect = {0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE}; | 91 static RECT last_rect = {0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE, 0xDEADC0DE}; |
91 | 92 |
92 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)); | |
93 extern int vidmode; | 93 extern int vidmode; |
94 | 94 |
95 /***************************************************************************** | 95 /***************************************************************************** |
96 * DirectDraw GUIDs. | 96 * DirectDraw GUIDs. |
97 * Defining them here allows us to get rid of the dxguid library during | 97 * Defining them here allows us to get rid of the dxguid library during |