| Line |  | 
|---|
| 1 | /* $Id: dib.h,v 1.6 2000-11-15 20:44:26 sandervl Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * Win32 DIB functions for OS/2 | 
|---|
| 5 | * | 
|---|
| 6 | * Copyright 1999 Sander van Leeuwen (OS/2 Port) | 
|---|
| 7 | * | 
|---|
| 8 | * Based on Wine code (objects\dib.c): | 
|---|
| 9 | * | 
|---|
| 10 | * GDI device-independent bitmaps | 
|---|
| 11 | * | 
|---|
| 12 | * Copyright 1993,1994  Alexandre Julliard | 
|---|
| 13 | * | 
|---|
| 14 | * Project Odin Software License can be found in LICENSE.TXT | 
|---|
| 15 | * | 
|---|
| 16 | */ | 
|---|
| 17 |  | 
|---|
| 18 | #ifndef __DIB_H__ | 
|---|
| 19 | #define __DIB_H__ | 
|---|
| 20 |  | 
|---|
| 21 | //must use WIN32API as it's exported | 
|---|
| 22 | int WIN32API DIB_GetDIBWidthBytes( int width, int depth ); | 
|---|
| 23 |  | 
|---|
| 24 | int DIB_GetDIBImageBytes( int width, int height, int depth ); | 
|---|
| 25 | int DIB_BitmapInfoSize( BITMAPINFO * info, WORD coloruse ); | 
|---|
| 26 | int DIB_GetBitmapInfo( const BITMAPINFOHEADER *header, DWORD *width, | 
|---|
| 27 | int *height, WORD *bpp, WORD *compr ); | 
|---|
| 28 | void DIB_FixColorsToLoadflags(BITMAPINFO * bmi, UINT loadflags, BYTE pix); | 
|---|
| 29 | int  WIN32API BITMAP_GetWidthBytes( INT width, INT depth ); | 
|---|
| 30 |  | 
|---|
| 31 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.