00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: plwindefs.h,v 1.1 2004/05/21 21:02:53 maxx Exp $ 00005 | 00006 | Copyright (c) 1996-2002 Ulrich von Zadow 00007 | 00008 \-------------------------------------------------------------------- 00009 */ 00010 00021 00022 #ifndef INCL_PLWINDEFS 00023 #define INCL_PLWINDEFS 00024 00025 typedef struct tagWINRGBQUAD 00026 { 00027 PLBYTE rgbBlue; 00028 PLBYTE rgbGreen; 00029 PLBYTE rgbRed; 00030 PLBYTE rgbReserved; 00031 } WINRGBQUAD; 00032 00033 #pragma pack(2) 00034 typedef struct tagWINBITMAPFILEHEADER 00035 { 00036 PLWORD bfType; 00037 PLLONG bfSize; 00038 PLWORD bfReserved1; 00039 PLWORD bfReserved2; 00040 PLLONG bfOffBits; 00041 } WINBITMAPFILEHEADER; 00042 #pragma pack() 00043 00044 typedef struct tagWINBITMAPINFOHEADER 00045 { 00046 PLLONG biSize; 00047 PLLONG biWidth; 00048 PLLONG biHeight; 00049 PLWORD biPlanes; 00050 PLWORD biBitCount; 00051 PLLONG biCompression; 00052 PLLONG biSizeImage; 00053 PLLONG biXPelsPerMeter; 00054 PLLONG biYPelsPerMeter; 00055 PLLONG biClrUsed; 00056 PLLONG biClrImportant; 00057 } WINBITMAPINFOHEADER; 00058 00059 typedef struct tagWINBITMAPINFO 00060 { 00061 WINBITMAPINFOHEADER bmiHeader; 00062 WINRGBQUAD bmiColors[1]; 00063 } WINBITMAPINFO; 00064 00065 typedef struct tagWINBITMAPCOREHEADER 00066 { 00067 PLLONG bcSize; 00068 PLWORD bcWidth; 00069 PLWORD bcHeight; 00070 PLWORD bcPlanes; 00071 PLWORD bcBitCount; 00072 } WINBITMAPCOREHEADER; 00073 00074 /* constants for the biCompression field */ 00075 #define BI_RGB 0L 00076 #define BI_RLE8 1L 00077 #define BI_RLE4 2L 00078 #define BI_BITFIELDS 3L 00079 00080 00081 #endif 00082 /* 00083 /-------------------------------------------------------------------- 00084 | 00085 | $Log: plwindefs.h,v $ 00086 | Revision 1.1 2004/05/21 21:02:53 maxx 00087 | Initial Version of vuVolume, moderatly changed to make it compile on my windows and linux machine. 00088 | 00089 | Revision 1.1 2002/11/13 01:58:22 mspindle 00090 | *** empty log message *** 00091 | 00092 | Revision 1.3 2002/02/24 13:00:42 uzadow 00093 | Documentation update; removed buggy PLFilterRotate. 00094 | 00095 | Revision 1.2 2001/10/06 22:03:26 uzadow 00096 | Added PL prefix to basic data types. 00097 | 00098 | Revision 1.1 2001/09/16 19:03:22 uzadow 00099 | Added global name prefix PL, changed most filenames. 00100 | 00101 | Revision 1.9 2001/01/14 15:32:21 uzadow 00102 | Unix compatibility changes. 00103 | 00104 | Revision 1.8 2000/12/13 23:40:16 uzadow 00105 | no message 00106 | 00107 | Revision 1.7 2000/11/02 21:27:50 uzadow 00108 | Temporary build fix. 00109 | 00110 | Revision 1.6 2000/10/31 11:27:47 jmbuena 00111 | Moved win definitions from stdpch.h 00112 | 00113 | Revision 1.5 2000/10/28 11:59:46 uzadow 00114 | no message 00115 | 00116 | Revision 1.4 2000/07/07 13:20:47 Ulrich von Zadow 00117 | Bugfix: Added #pragma pack to WINBITMAPFILEHEADER. 00118 | 00119 | Revision 1.3 1999/10/03 18:50:52 Ulrich von Zadow 00120 | Added automatic logging of changes. 00121 | 00122 | 00123 \-------------------------------------------------------------------- 00124 */