Release 961117
[wine.git] / include / cursoricon.h
blob14c34b8352a05c3b180d8ac027ff07ee03da8ce4
1 /*
2 * Cursor and icon definitions
4 * Copyright 1995 Alexandre Julliard
5 */
7 #ifndef __WINE_CURSORICON_H
8 #define __WINE_CURSORICON_H
10 #include <X11/Xlib.h>
11 #include "windows.h"
13 #pragma pack(1)
15 typedef struct
17 BYTE bWidth;
18 BYTE bHeight;
19 BYTE bColorCount;
20 BYTE bReserved;
21 WORD wPlanes;
22 WORD wBitCount;
23 DWORD dwBytesInRes;
24 WORD wResId;
25 } ICONDIRENTRY;
27 typedef struct
29 WORD wWidth;
30 WORD wHeight;
31 WORD wPlanes;
32 WORD wBitCount;
33 DWORD dwBytesInRes;
34 WORD wResId;
35 } CURSORDIRENTRY;
37 typedef union
39 ICONDIRENTRY icon;
40 CURSORDIRENTRY cursor;
41 } CURSORICONDIRENTRY;
43 typedef struct
45 WORD idReserved;
46 WORD idType;
47 WORD idCount;
48 CURSORICONDIRENTRY idEntries[1] WINE_PACKED;
49 } CURSORICONDIR;
51 #pragma pack(4)
53 extern Cursor CURSORICON_XCursor; /* Current X cursor */
55 #endif /* __WINE_CURSORICON_H */