Public Member Functions | |
| CursorRef | getRef () |
| void | readFromCast (Datum casts) |
| void | readFromResource (Datum resourceId) |
| void | readBuiltinType (Datum resourceId) |
| bool | readFromArchive (Archive *archive, uint16 resourceId) |
| bool | isEmpty () |
| bool | operator== (const Cursor &c) |
| bool | operator== (const CursorRef &c) |
| byte | getKeyColor () const override |
| const byte * | getPalette () const override |
Public Member Functions inherited from Graphics::MacCursor | |
| uint16 | getWidth () const |
| uint16 | getHeight () const |
| uint16 | getHotspotX () const |
| uint16 | getHotspotY () const |
| const byte * | getSurface () const |
| byte | getPaletteStartIndex () const |
| uint16 | getPaletteCount () const |
| bool | readFromStream (Common::SeekableReadStream &stream, bool forceMonochrome=false, byte monochromeInvertedPixelColor=0xff, bool forceCURSFormat=false) |
Public Member Functions inherited from Graphics::Cursor | |
| virtual const byte * | getMask () const |
Public Attributes | |
| Graphics::MacCursorType | _cursorType |
| Datum | _cursorResId |
Additional Inherited Members | |
Protected Member Functions inherited from Graphics::MacCursor | |
| bool | readFromCURS (Common::SeekableReadStream &stream, byte monochromeInvertedPixelColor) |
| bool | readFromCRSR (Common::SeekableReadStream &stream, bool forceMonochrome, byte monochromeInvertedPixelColor) |
| void | clear () |
Protected Attributes inherited from Graphics::MacCursor | |
| byte * | _surface |
| byte | _palette [256 *3] |
| uint16 | _hotspotX |
| The cursor's hotspot's x coordinate. | |
| uint16 | _hotspotY |
| The cursor's hotspot's y coordinate. | |
|
inlineoverridevirtual |
Return the cursor's transparent key.
Reimplemented from Graphics::MacCursor.
|
inlineoverridevirtual |
Return the cursor's palette in RGB format.
Reimplemented from Graphics::MacCursor.