Release 960712
[wine/multimedia.git] / include / cursoricon.h
blob1555b1809d72512c311349a6064a8a06d2180ee1
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 typedef struct
15 BYTE bWidth;
16 BYTE bHeight;
17 BYTE bColorCount;
18 BYTE bReserved;
19 WORD wPlanes;
20 WORD wBitCount;
21 DWORD dwBytesInRes;
22 WORD wResId;
23 } ICONDIRENTRY;
25 typedef struct
27 WORD wWidth;
28 WORD wHeight;
29 WORD wPlanes;
30 WORD wBitCount;
31 DWORD dwBytesInRes;
32 WORD wResId;
33 } CURSORDIRENTRY;
35 typedef union
37 ICONDIRENTRY icon;
38 CURSORDIRENTRY cursor;
39 } CURSORICONDIRENTRY;
41 #pragma pack(1)
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 */