Authors: Adrian Thurston <adriant@corel.ca>, Zygo Blaxell <zblaxell@corel.ca>
[wine/multimedia.git] / windows / display.c
blobb1c8299f8da0fbedd0e0f107342478bb4f8cb065
1 /*
2 * DISPLAY driver
4 * Copyright 1998 Ulrich Weigand
6 */
8 #include "config.h"
10 #include "debug.h"
11 #include "display.h"
12 #include "wintypes.h"
14 #ifndef X_DISPLAY_MISSING
15 extern MOUSE_DRIVER X11DRV_MOUSE_Driver;
16 #else /* X_DISPLAY_MISSING */
17 extern MOUSE_DRIVER TTYDRV_MOUSE_Driver;
18 #endif /* X_DISPLAY_MISSING */
20 /***********************************************************************
21 * MOUSE_GetDriver()
23 MOUSE_DRIVER *MOUSE_GetDriver()
25 #ifndef X_DISPLAY_MISSING
26 return &X11DRV_MOUSE_Driver;
27 #else /* X_DISPLAY_MISSING */
28 return &TTYDRV_MOUSE_Driver;
29 #endif /* X_DISPLAY_MISSING */
32 /***********************************************************************
33 * DISPLAY_Inquire (DISPLAY.101)
35 WORD WINAPI DISPLAY_Inquire(LPCURSORINFO lpCursorInfo)
37 lpCursorInfo->wXMickeys = 1;
38 lpCursorInfo->wYMickeys = 1;
40 return sizeof(CURSORINFO);
43 /***********************************************************************
44 * DISPLAY_SetCursor (DISPLAY.102)
46 VOID WINAPI DISPLAY_SetCursor( CURSORICONINFO *lpCursor )
48 MOUSE_GetDriver()->pSetCursor(lpCursor);
51 /***********************************************************************
52 * DISPLAY_MoveCursor (DISPLAY.103)
54 VOID WINAPI DISPLAY_MoveCursor( WORD wAbsX, WORD wAbsY )
56 MOUSE_GetDriver()->pMoveCursor(wAbsX, wAbsY);
59 /***********************************************************************
60 * DISPLAY_CheckCursor (DISPLAY.104)
62 VOID WINAPI DISPLAY_CheckCursor()
64 FIXME( cursor, "stub\n" );
67 /***********************************************************************
68 * UserRepaintDisable (DISPLAY.500)
70 VOID WINAPI UserRepaintDisable( BOOL16 disable )
72 TRACE( cursor, "(%d): stub\n", disable );