diff gui/util/bitmap.h @ 33115:c2da7b725fd8

Use appropriate data type uint32_t for 32 bpp bitmap data. Don't use int. Besides, rename variable holding transparent color.
author ib
date Mon, 04 Apr 2011 13:02:56 +0000
parents 5ad451a5ebec
children 9566100d88a1
line wrap: on
line diff
--- a/gui/util/bitmap.h	Mon Apr 04 12:40:20 2011 +0000
+++ b/gui/util/bitmap.h	Mon Apr 04 13:02:56 2011 +0000
@@ -19,6 +19,8 @@
 #ifndef MPLAYER_GUI_BITMAP_H
 #define MPLAYER_GUI_BITMAP_H
 
+#include <inttypes.h>
+
 typedef struct {
     unsigned long Width;
     unsigned long Height;
@@ -29,6 +31,6 @@
 
 void bpFree(txSample *bf);
 int bpRead(char *fname, txSample *bf);
-int Convert32to1(txSample *in, txSample *out, int adaptivlimit);
+int Convert32to1(txSample *in, txSample *out, uint32_t transparent);
 
 #endif /* MPLAYER_GUI_BITMAP_H */