Changeset 3567 for trunk/src/gdi32/dibsect.cpp
- Timestamp:
- May 19, 2000, 8:42:14 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gdi32/dibsect.cpp
r3527 r3567 1 /* $Id: dibsect.cpp,v 1.3 0 2000-05-12 19:14:55sandervl Exp $ */1 /* $Id: dibsect.cpp,v 1.31 2000-05-19 18:42:14 sandervl Exp $ */ 2 2 3 3 /* … … 348 348 349 349 dprintf(("DIBSection::SetDIBits (%d,%d), %d %d", pbmi->biWidth, pbmi->biHeight, pbmi->biBitCount, pbmi->biCompression)); 350 if(palsize) 351 memcpy(pOS2bmp->argbColor, (char *)pbmi + 1 , palsize); 350 if(palsize) { 351 SetDIBColorTable(0, 1 << pbmi->biBitCount, (RGBQUAD *)(pbmi+1)); 352 } 352 353 353 354 if(bits) … … 418 419 hdcWidth = pOS2bmp->cx; 419 420 } 420 421 #if 0422 nXdest = 0;423 nYdest = 0;424 nXsrc = 0;425 nXsrc = 0;426 nDestWidth = pOS2bmp->cx;427 nDestHeight = pOS2bmp->cy;428 nSrcWidth = pOS2bmp->cx;429 nSrcHeight = pOS2bmp->cy;430 #endif431 421 432 422 //win32 coordinates are of the left top, OS/2 expects left bottom
Note:
See TracChangeset
for help on using the changeset viewer.