Release 971221
[wine/multimedia.git] / include / cursoricon.h
blob691487ee58a2ddfa894ea29e051456650364b882
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 HCURSOR16 CURSORICON_IconToCursor( HICON16 hIcon,
54 BOOL32 bSemiTransparent );
56 extern Cursor CURSORICON_XCursor; /* Current X cursor */
58 #endif /* __WINE_CURSORICON_H */