view gui/bitmap.h @ 25159:fb1bd7bf749d

Avoid gcc warning: vcd_read_win32.h:61: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'DWORD'
author zuxy
date Wed, 28 Nov 2007 11:36:23 +0000
parents 3f0d00abc073
children 9d0b189ce1b2
line wrap: on
line source

#ifndef GUI_BITMAP_H
#define GUI_BITMAP_H

typedef struct _txSample
{
 unsigned long Width;
 unsigned long Height;
 unsigned int  BPP;
 unsigned long ImageSize;
 char *        Image;
} txSample;

int bpRead( char * fname, txSample * bf );
void Convert32to1( txSample * in,txSample * out,int adaptivlimit );

#endif /* GUI_BITMAP_H */