Release 990226.
[wine/gsoc-2012-control.git] / windows / display.c
blobc40fdc28bfe4b3723346efa448f2a848f7a74421
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 UserRepaintDisable16( BOOL16 disable )
72 TRACE( cursor, "(%d): stub\n", disable );