Changeset 21916 for trunk/src/user32/winicon.cpp
- Timestamp:
- Dec 18, 2011, 10:28:22 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:ignore
-
old new 1 bin 2 Makefile.inc 1 env.cmd 2 LocalConfig.kmk
-
-
Property svn:mergeinfo
set to
/branches/gcc-kmk merged eligible
- Property svn:ignore
-
trunk/src/user32/winicon.cpp
r21356 r21916 47 47 #include <string.h> 48 48 #include <winicon.h> 49 #include <win \cursoricon.h>49 #include <win/cursoricon.h> 50 50 #include <objhandle.h> 51 51 #include "dib.h" 52 52 #include <heapstring.h> 53 #include <win \virtual.h>53 #include <win/virtual.h> 54 54 #include "initterm.h" 55 55 #include "oslibres.h" … … 200 200 201 201 /* Transfer the bitmap bits to the CURSORICONINFO structure */ 202 if(bmpAnd.bmBitsPixel > 1) 202 if(bmpAnd.bmBitsPixel > 1) 203 203 {//Our code expects b&w masks, so convert it first 204 204 //We could also use GetDIBits to do the conversion for us, but it returns … … 216 216 217 217 //blit to the destination HDC & convert to 1bpp 218 BitBlt(hdcDest, 0, 0, bmpAnd.bmWidth, bmpAnd.bmHeight, 218 BitBlt(hdcDest, 0, 0, bmpAnd.bmWidth, bmpAnd.bmHeight, 219 219 hdcSrc, 0, 0, SRCCOPY); 220 220 … … 442 442 if(hActiveCursorPM && hActiveCursorPM != OSLibWinQueryPointer()) { 443 443 dprintf(("Another app changed mouse cursor")); 444 hActiveCursorPM = hActiveCursor = 0; 444 hActiveCursorPM = hActiveCursor = 0; 445 445 } 446 446 return hActiveCursor; … … 593 593 bmpXor.bmBitsPixel = info->bBitsPerPixel; 594 594 bmpXor.bmBits = NULL; 595 ((CURSORICONINFO *)ptr)->hColorBmp = 595 ((CURSORICONINFO *)ptr)->hColorBmp = 596 596 OSLibWinCreatePointer(info, (char *)lpANDbits, (LPBITMAP_W)&bmpAnd, (char *)lpXORbits, (LPBITMAP_W)&bmpXor, fIcon == FALSE); 597 597 #endif … … 1085 1085 //SvL: Must use CreateBitmap here as CreateDIBitmap converts data to 8bpp (GetObjectA info -> 8 bpp) 1086 1086 #if 1 1087 int linewidth; 1087 int linewidth; 1088 1088 int orglinewidth; 1089 1089
Note:
See TracChangeset
for help on using the changeset viewer.