Release 951003
[wine/multimedia.git] / include / cursoricon.h
blob214ddbf07b7919df8368d34a6c76a67f4d0c8a88
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 #ifndef WINELIB
14 #pragma pack(1)
15 #endif
17 typedef struct
19 BYTE bWidth;
20 BYTE bHeight;
21 BYTE bColorCount;
22 BYTE bReserved;
23 WORD wPlanes;
24 WORD wBitCount;
25 DWORD dwBytesInRes;
26 WORD wResId;
27 } ICONDIRENTRY;
29 typedef struct
31 WORD wWidth;
32 WORD wHeight;
33 WORD wPlanes;
34 WORD wBitCount;
35 DWORD dwBytesInRes;
36 WORD wResId;
37 } CURSORDIRENTRY;
39 typedef union
41 ICONDIRENTRY icon;
42 CURSORDIRENTRY cursor;
43 } CURSORICONDIRENTRY;
45 typedef struct
47 WORD idReserved;
48 WORD idType;
49 WORD idCount;
50 CURSORICONDIRENTRY idEntries[1] WINE_PACKED;
51 } CURSORICONDIR;
53 #ifndef WINELIB
54 #pragma pack(4)
55 #endif
57 extern Cursor CURSORICON_XCursor; /* Current X cursor */
59 #endif /* __WINE_CURSORICON_H */