Line | |
---|
1 | /* $Id: wincursor.h,v 1.1 1999-08-19 19:51:17 sandervl Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | * PE2LX cursor conversion code
|
---|
5 | *
|
---|
6 | * Copyright 1998 Sander van Leeuwen (sandervl@xs4all.nl)
|
---|
7 | *
|
---|
8 | *
|
---|
9 | * Project Odin Software License can be found in LICENSE.TXT
|
---|
10 | *
|
---|
11 | */
|
---|
12 | #ifndef __WINCURSOR_H__
|
---|
13 | #define __WINCURSOR_H__
|
---|
14 |
|
---|
15 | #pragma pack(1)
|
---|
16 |
|
---|
17 | typedef struct {
|
---|
18 | WORD wReserved; // Currently zero
|
---|
19 | WORD wType; // 2 for cursors
|
---|
20 | WORD cwCount; // Number of components
|
---|
21 | //Fout in docs, geen padding
|
---|
22 | // WORD padding; // filler for DWORD alignment
|
---|
23 | } CursorHeader;
|
---|
24 |
|
---|
25 | typedef struct {
|
---|
26 | WORD wWidth;
|
---|
27 | WORD wHeight;
|
---|
28 | WORD wPlanes;
|
---|
29 | WORD wBitCount;
|
---|
30 | DWORD lBytesInRes;
|
---|
31 | WORD wNameOrdinal; // Points to component
|
---|
32 | //Fout in docs, geen padding
|
---|
33 | // WORD padding; // filler for DWORD alignment
|
---|
34 | } CursorResDir;
|
---|
35 |
|
---|
36 | typedef struct {
|
---|
37 | short xHotspot;
|
---|
38 | short yHotspot;
|
---|
39 | } CursorComponent;
|
---|
40 |
|
---|
41 | #pragma pack()
|
---|
42 |
|
---|
43 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.