view gui/bitmap.h @ 24559:7b6a3948f5f2

(Re)move idiotic checks, ret can't be < 0 or > 0 if the loop condition is that it is == 0!
author reimar
date Wed, 19 Sep 2007 13:01:08 +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 */