- Timestamp:
- Jan 5, 2003, 5:34:58 PM (23 years ago)
- Location:
- trunk/src/user32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibres.cpp
r9523 r9624 1 /* $Id: oslibres.cpp,v 1.3 3 2002-12-18 12:28:05sandervl Exp $ */1 /* $Id: oslibres.cpp,v 1.34 2003-01-05 16:34:58 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 415 415 rgb = (RGBQUAD *)(pXorBits); 416 416 417 #if 0 418 if(pXorBmp->bmBitsPixel == 1) { 419 os2rgb->bRed = os2rgb->bBlue = os2rgb->bGreen = 0; 420 os2rgb++; 421 os2rgb->bRed = os2rgb->bBlue = os2rgb->bGreen = 0xff; 422 os2rgb++; 423 } 424 else 425 #endif 417 426 if(pXorBmp->bmBitsPixel <= 8) { 418 427 for(i=0;i<(1<<pXorBmp->bmBitsPixel);i++) { -
trunk/src/user32/winicon.cpp
r9432 r9624 1 /* $Id: winicon.cpp,v 1.3 8 2002-11-26 14:41:07sandervl Exp $ */1 /* $Id: winicon.cpp,v 1.39 2003-01-05 16:34:58 sandervl Exp $ */ 2 2 /* 3 3 * Win32 Icon Code for OS/2 … … 1111 1111 return 0; 1112 1112 } 1113 1114 1113 /* Now create the CURSORICONINFO structure */ 1115 1114 GetObjectA( hXorBits, sizeof(bmpXor), &bmpXor ); 1116 1115 GetObjectA( hAndBits, sizeof(bmpAnd), &bmpAnd ); 1117 1116 colortablesize = 0; 1117 1118 //SvL: Workaround for problem with B&W cursor XOR bitmaps 1119 // End result = inverted PM cursor; not sure what's actually causing 1120 // this... 1121 // So we let GetDIBits convert the mono cursor to 8bpp 1122 if(bmpXor.bmBitsPixel == 1) 1123 { 1124 bmpXor.bmBitsPixel = 8; 1125 bmpXor.bmWidthBytes *= 8; 1126 } 1118 1127 1119 1128 if(bmpXor.bmBitsPixel <= 8) {
Note:
See TracChangeset
for help on using the changeset viewer.