#include <cursor.h>
Public Member Functions | |
virtual uint16 | getWidth () const =0 |
virtual uint16 | getHeight () const =0 |
virtual uint16 | getHotspotX () const =0 |
virtual uint16 | getHotspotY () const =0 |
virtual byte | getKeyColor () const =0 |
virtual const byte * | getSurface () const =0 |
virtual const byte * | getMask () const |
virtual const byte * | getPalette () const =0 |
virtual byte | getPaletteStartIndex () const =0 |
virtual uint16 | getPaletteCount () const =0 |
A simple cursor representation TODO: Switch to using Graphics::Surface instead of a byte*
|
pure virtual |
Return the cursor's width.
Implemented in Graphics::MacCursor, and Hadesch::PodImage.
|
pure virtual |
Return the cursor's height.
Implemented in Graphics::MacCursor, and Hadesch::PodImage.
|
pure virtual |
Return the cursor's hotspot's x coordinate.
Implemented in Graphics::MacCursor, and Hadesch::PodImage.
|
pure virtual |
Return the cursor's hotspot's y coordinate.
Implemented in Graphics::MacCursor, and Hadesch::PodImage.
|
pure virtual |
Return the cursor's transparent key.
Implemented in Graphics::MacCursor, Director::Cursor, and Hadesch::PodImage.
|
pure virtual |
Return the cursor's surface.
Implemented in Graphics::MacCursor, and Hadesch::PodImage.
|
inlinevirtual |
Return the cursor's mask, if it has one.
|
pure virtual |
Return the cursor's palette in RGB format.
Implemented in Graphics::MacCursor, Director::Cursor, and Hadesch::PodImage.
|
pure virtual |
Return the starting index of the palette.
Implemented in Graphics::MacCursor, and Hadesch::PodImage.
|
pure virtual |
Return the number of colors in the palette.
Implemented in Graphics::MacCursor, and Hadesch::PodImage.