Changeset 7107 for trunk/src/user32/oslibres.cpp
- Timestamp:
- Oct 18, 2001, 1:02:22 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/oslibres.cpp
r7079 r7107 1 /* $Id: oslibres.cpp,v 1.2 6 2001-10-16 14:49:46sandervl Exp $ */1 /* $Id: oslibres.cpp,v 1.27 2001-10-18 11:02:22 sandervl Exp $ */ 2 2 /* 3 3 * Window API wrappers for OS/2 … … 281 281 HAB hab; 282 282 283 dprintf2(("Convert color bitmap to mono (%d,%d) %d", pBmpDest->cx, pBmpDest->cy, pBmpDest->cBitCount)); 284 283 285 hab = GetThreadHAB(); 284 286 … … 445 447 goto fail; 446 448 } 447 if( pXorBmp->bmBitsPixel >= 8)449 if(fCursor && pXorBmp->bmBitsPixel >= 8) 448 450 { 449 451 if(isMonoBitmap(pXorBmp, (PBYTE)os2rgb) == TRUE) … … 504 506 } 505 507 506 pointerInfo.fPointer = !fCursor; //TRUE = icon508 pointerInfo.fPointer = fCursor; //FALSE = icon 507 509 pointerInfo.xHotspot = pInfo->ptHotSpot.x; 508 510 pointerInfo.yHotspot = mapY(pInfo->nHeight, pInfo->ptHotSpot.y); 509 511 pointerInfo.hbmColor = hbmColor; 510 512 pointerInfo.hbmPointer = hbmMask; 513 dprintf2(("WinCreatePointerIndirect %d (%d,%d) (org %d,%d)", pointerInfo.fPointer, pointerInfo.xHotspot, pointerInfo.yHotspot, pInfo->ptHotSpot.x, pInfo->ptHotSpot.y)); 511 514 hPointer = WinCreatePointerIndirect(HWND_DESKTOP, &pointerInfo); 512 515
Note:
See TracChangeset
for help on using the changeset viewer.