Fixed scrolling of listview with a mouse wheel.
[wine.git] / tools / fnt2bdf.h
blob0abd6a8439b3983535698822694f99953a002517
1 #include "wine/wingdi16.h"
3 #include "pshpack1.h"
5 enum data_types {dfChar, dfShort, dfLong, dfString};
7 #define ERROR_DATA 1
8 #define ERROR_VERSION 2
9 #define ERROR_SIZE 3
10 #define ERROR_MEMORY 4
11 #define ERROR_FILE 5
13 typedef struct tagFontHeader
15 short dfVersion; /* Version */
16 long dfSize; /* Total File Size */
17 char dfCopyright[60]; /* Copyright notice */
18 FONTINFO16 fi; /* FONTINFO structure */
19 } fnt_hdrS;
21 typedef struct WinCharStruct
23 unsigned int charWidth;
24 long charOffset;
25 } WinCharS;
27 typedef struct fntFontStruct
29 fnt_hdrS hdr;
30 WinCharS *dfCharTable;
31 unsigned char *dfDeviceP;
32 unsigned char *dfFaceP;
33 unsigned char *dfBitsPointerP;
34 unsigned char *dfBitsOffsetP;
35 short *dfColorTableP;
36 } fnt_fontS;
38 #include "poppack.h"