Converted to the new debugging interface (done with the help of the
[wine] / windows / display.c
1 /*
2  * DISPLAY driver
3  *
4  * Copyright 1998 Ulrich Weigand
5  *
6  */
7
8 #include "debug.h"
9 #include "display.h"
10 #include "mouse.h"
11 #include "windef.h"
12 #include "wine/winuser16.h"
13
14 DEFAULT_DEBUG_CHANNEL(cursor)
15
16 /***********************************************************************
17  *           DISPLAY_Inquire                    (DISPLAY.101)
18  */
19 WORD WINAPI DISPLAY_Inquire(LPCURSORINFO lpCursorInfo) 
20 {
21     lpCursorInfo->wXMickeys = 1;
22     lpCursorInfo->wYMickeys = 1;
23
24     return sizeof(CURSORINFO);
25 }
26
27 /***********************************************************************
28  *           DISPLAY_SetCursor                  (DISPLAY.102)
29  */
30 VOID WINAPI DISPLAY_SetCursor( CURSORICONINFO *lpCursor )
31 {
32    MOUSE_Driver->pSetCursor(lpCursor);
33 }
34
35 /***********************************************************************
36  *           DISPLAY_MoveCursor                 (DISPLAY.103)
37  */
38 VOID WINAPI DISPLAY_MoveCursor( WORD wAbsX, WORD wAbsY )
39 {
40    MOUSE_Driver->pMoveCursor(wAbsX, wAbsY);
41 }
42
43 /***********************************************************************
44  *           DISPLAY_CheckCursor                  (DISPLAY.104)
45  */
46 VOID WINAPI DISPLAY_CheckCursor()
47 {
48     FIXME( cursor, "stub\n" );
49 }
50
51 /***********************************************************************
52  *           UserRepaintDisable                 (DISPLAY.500)
53  */
54 VOID WINAPI UserRepaintDisable16( BOOL16 disable )
55 {
56     TRACE( cursor, "(%d): stub\n", disable );
57 }