Changes between Initial Version and Version 1 of Ticket #13922
- Timestamp:
- Nov 9, 2022, 2:42:26 AM (18 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #13922 – Description
initial v1 1 ` Common::MacCursor` doesn't handle black in color cursors (`crsr` resources). Black pixels aren't drawn because they're treated as transparent.1 `MacCursor` doesn't handle black in color cursors (`crsr` resources). Black pixels aren't drawn because they're treated as transparent. 2 2 3 3 This can be seen in the Run cursor in QFG1VGA-Mac. There are three black pixels, two of which are in the leg, and they're not drawn. 4 4 5 The Mac format allows a full 256 palette plus a separate transparency mask but the `C ommon::Cursor` model requires one color to to be the transparency key color. `MacCursor` is hard-coded to return 0xff as the transparency key but color 0xff is always defined as black in Mac. There is no code that attempts to deal with this and so incoming 0xff pixels aren't drawn.5 The Mac format allows a full 256 palette plus a separate transparency mask but the `Cursor` model requires one color to to be the transparency key. `MacCursor` is hard-coded to return 0xff as the transparency key but color 0xff is always defined as black in Mac. There is no code that attempts to deal with this and so incoming 0xff pixels aren't drawn.