GRAPHICS: MacCursor: Make two virtual functions
This is for the Director engine, which has a cursor class inheriting from MacCursor.
This commit is contained in:
parent
f3b18aba52
commit
51c7e019d9
1 changed files with 2 additions and 2 deletions
|
@ -54,11 +54,11 @@ public:
|
||||||
/** Return the cursor's hotspot's y coordinate. */
|
/** Return the cursor's hotspot's y coordinate. */
|
||||||
uint16 getHotspotY() const { return _hotspotY; }
|
uint16 getHotspotY() const { return _hotspotY; }
|
||||||
/** Return the cursor's transparent key. */
|
/** Return the cursor's transparent key. */
|
||||||
byte getKeyColor() const { return 0xFF; }
|
virtual byte getKeyColor() const { return 0xFF; }
|
||||||
|
|
||||||
const byte *getSurface() const { return _surface; }
|
const byte *getSurface() const { return _surface; }
|
||||||
|
|
||||||
const byte *getPalette() const { return _palette; }
|
virtual const byte *getPalette() const { return _palette; }
|
||||||
byte getPaletteStartIndex() const { return 0; }
|
byte getPaletteStartIndex() const { return 0; }
|
||||||
uint16 getPaletteCount() const { return 256; }
|
uint16 getPaletteCount() const { return 256; }
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue