Public Member Functions | |
| bool | loadImage (const PodFile &col, int index) |
| void | render (Common::SharedPtr< GfxContext >, Common::Point offset, int colourScale=0x100, int scale=100) const |
| bool | isValid () const |
| void | setHotspot (Common::Point pnt) |
| Common::Point | getOffset () const |
| uint16 | getWidth () const override |
| uint16 | getHeight () const override |
| uint16 | getHotspotX () const override |
| uint16 | getHotspotY () const override |
| byte | getKeyColor () const override |
| const byte * | getSurface () const override |
| const byte * | getPalette () const override |
| byte | getPaletteStartIndex () const override |
| uint16 | getPaletteCount () const override |
Public Member Functions inherited from Graphics::Cursor | |
| 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 |
|
overridevirtual |
Return the cursor's width.
Implements Graphics::Cursor.
|
overridevirtual |
Return the cursor's height.
Implements Graphics::Cursor.
|
overridevirtual |
Return the cursor's hotspot's x coordinate.
Implements Graphics::Cursor.
|
overridevirtual |
Return the cursor's hotspot's y coordinate.
Implements Graphics::Cursor.
|
overridevirtual |
Return the cursor's transparent key.
Implements Graphics::Cursor.
|
overridevirtual |
Return the cursor's surface.
Implements Graphics::Cursor.
|
overridevirtual |
Return the cursor's palette in RGB format.
Implements Graphics::Cursor.
|
overridevirtual |
Return the starting index of the palette.
Implements Graphics::Cursor.
|
overridevirtual |
Return the number of colors in the palette.
Implements Graphics::Cursor.