- Timestamp:
- Mar 28, 2025 11:56:23 AM (3 weeks ago)
- svn:sync-xref-src-repo-rev:
- 168214
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachine.cpp
r106292 r108781 2074 2074 else 2075 2075 { 2076 #if 0 // disabled for public ticket 2076 2077 if (isPointer1bpp(pSrcShapePtr, uWidth, uHeight)) 2077 2078 { … … 2161 2162 } 2162 2163 else 2164 #endif // disabled for public ticket 2163 2165 { 2164 2166 /* Assign alpha channel values according to the AND mask: 1 -> 0x00, 0 -> 0xFF: */ … … 2179 2181 2180 2182 if (u8SrcMaskByte & u8Bit) 2181 *pu32DstPixel++ = pu32SrcShapeScanline[x] & UINT32_C(0x00FFFFFF); 2183 { 2184 /* Inverse cannot be emulated by alpha mask, so make these pixels gray, 2185 * to make it visible on both black and white 2186 * (this is usually used for text select cursor). */ 2187 if ((pu32SrcShapeScanline[x] & UINT32_C(0x00FFFFFF)) == UINT32_C(0x00FFFFFF)) 2188 *pu32DstPixel++ = UINT32_C(0xFF7F7F7F); 2189 else 2190 *pu32DstPixel++ = pu32SrcShapeScanline[x] & UINT32_C(0x00FFFFFF); 2191 } 2182 2192 else 2183 2193 *pu32DstPixel++ = pu32SrcShapeScanline[x] | UINT32_C(0xFF000000);
Note:
See TracChangeset
for help on using the changeset viewer.