Changeset 9624 for trunk/src/user32/winicon.cpp
- Timestamp:
- Jan 5, 2003, 5:34:58 PM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.