Author: yuri
Date: 2010-10-11 13:37:18 -0700 (Mon, 11 Oct 2010)
New Revision: 7717
Log:
remove debug print
Modified:
trunk/src/Cursor.cxx
Modified: trunk/src/Cursor.cxx
===================================================================
--- trunk/src/Cursor.cxx 2010-10-11 20:29:56 UTC (rev 7716)
+++ trunk/src/Cursor.cxx 2010-10-11 20:37:18 UTC (rev 7717)
@@ -311,14 +311,12 @@
ReleaseDC(NULL,hdc);
- printf("Img format:%d\n",img->buffer_pixeltype());
int w = img->w() , h = img->h();
unsigned char* isrc = img->buffer();
DWORD *lpdwPixel = (DWORD *)lpBits;
for (int i=0;i<cw;i++)
for (int j=0;j<ch;j++)
{
- fprintf(stderr,"%d %d\n",i,j);
unsigned char* src = isrc + 4*(j + w*(cw - i -1));
//*lpdwPixel = (src[0] << 24) | (src[1] << 16) | (src[2] << 8) | src[3];
*lpdwPixel = (src[3] << 24) | (src[2] << 16) | (src[1] << 8) | src[0];
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit