aboutsummaryrefslogtreecommitdiff
path: root/graphics/maccursor.h
diff options
context:
space:
mode:
authorsluicebox2019-08-20 18:54:24 -0700
committerFilippos Karapetis2019-08-21 14:13:26 +0300
commit60fcf993e7c19cf3c3c5e74c2dd447e2e2b2c4ac (patch)
tree1e7347bfa807b79f2eff2169a0ee273cb56d17f7 /graphics/maccursor.h
parent83a479470ff467ced73ee97e2d5ed7203071050a (diff)
downloadscummvm-rg350-60fcf993e7c19cf3c3c5e74c2dd447e2e2b2c4ac.tar.gz
scummvm-rg350-60fcf993e7c19cf3c3c5e74c2dd447e2e2b2c4ac.tar.bz2
scummvm-rg350-60fcf993e7c19cf3c3c5e74c2dd447e2e2b2c4ac.zip
GRAPHICS: Display Mac monochrome cursor inverted pixels
Bug #7050
Diffstat (limited to 'graphics/maccursor.h')
-rw-r--r--graphics/maccursor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/maccursor.h b/graphics/maccursor.h
index 1ae38f8aa9..a4da7cb46f 100644
--- a/graphics/maccursor.h
+++ b/graphics/maccursor.h
@@ -63,11 +63,11 @@ public:
uint16 getPaletteCount() const { return 256; }
/** Read the cursor's data out of a stream. */
- bool readFromStream(Common::SeekableReadStream &stream, bool forceMonochrome = false);
+ bool readFromStream(Common::SeekableReadStream &stream, bool forceMonochrome = false, byte monochromeInvertedPixelColor = 0xff);
private:
- bool readFromCURS(Common::SeekableReadStream &stream);
- bool readFromCRSR(Common::SeekableReadStream &stream, bool forceMonochrome);
+ bool readFromCURS(Common::SeekableReadStream &stream, byte monochromeInvertedPixelColor);
+ bool readFromCRSR(Common::SeekableReadStream &stream, bool forceMonochrome, byte monochromeInvertedPixelColor);
byte *_surface;
byte _palette[256 * 3];