Release 950727
[wine] / include / cursor.h
1 /*
2  * structure definitions for CURSOR
3  *
4  * Copyright  Martin Ayotte, 1993
5  *
6  */
7 #ifndef __WINE_CURSOR_H
8 #define __WINE_CURSOR_H
9
10
11 typedef struct {
12         POINT           pntHotSpot;     /* cursor hot spot */
13         WORD            nWidth;         /* width of bitmap in pixels */
14         WORD            nHeight;
15         WORD            nWidthBytes;
16         BYTE            byPlanes;       /* number of bit planes */
17         BYTE            byBitsPix;      /* bits per pixel */
18         } CURSORICONINFO, FAR *LPCURSORICONINFO;
19
20 typedef struct {
21         BYTE    Width;
22         BYTE    Reserved1;
23         BYTE    Height;
24         BYTE    Reserved2;
25         WORD    curXHotspot;
26         WORD    curYHotspot;
27         DWORD   curDIBSize;
28         DWORD   curDIBOffset;
29         } CURSORDESCRIP;
30
31 typedef struct {
32         CURSORDESCRIP   descriptor;
33         HBITMAP         hBitmap;
34         Display         *display;
35         Pixmap          pixshape;
36         Pixmap          pixmask;
37         Cursor          xcursor;
38         } CURSORALLOC;
39
40 extern void CURSOR_SetWinCursor( HWND hwnd, HCURSOR hcursor );   /* cursor.c */
41
42 #endif /* __WINE_CURSOR_H */