ScummVM API documentation
Hadesch::PodImage Class Reference
Inheritance diagram for Hadesch::PodImage:
Graphics::Cursor

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 const byte * getMask () const
 

Member Function Documentation

◆ getWidth()

uint16 Hadesch::PodImage::getWidth ( ) const
overridevirtual

Return the cursor's width.

Implements Graphics::Cursor.

◆ getHeight()

uint16 Hadesch::PodImage::getHeight ( ) const
overridevirtual

Return the cursor's height.

Implements Graphics::Cursor.

◆ getHotspotX()

uint16 Hadesch::PodImage::getHotspotX ( ) const
overridevirtual

Return the cursor's hotspot's x coordinate.

Implements Graphics::Cursor.

◆ getHotspotY()

uint16 Hadesch::PodImage::getHotspotY ( ) const
overridevirtual

Return the cursor's hotspot's y coordinate.

Implements Graphics::Cursor.

◆ getKeyColor()

byte Hadesch::PodImage::getKeyColor ( ) const
overridevirtual

Return the cursor's transparent key.

Implements Graphics::Cursor.

◆ getSurface()

const byte* Hadesch::PodImage::getSurface ( ) const
overridevirtual

Return the cursor's surface.

Implements Graphics::Cursor.

◆ getPalette()

const byte* Hadesch::PodImage::getPalette ( ) const
overridevirtual

Return the cursor's palette in RGB format.

Implements Graphics::Cursor.

◆ getPaletteStartIndex()

byte Hadesch::PodImage::getPaletteStartIndex ( ) const
overridevirtual

Return the starting index of the palette.

Implements Graphics::Cursor.

◆ getPaletteCount()

uint16 Hadesch::PodImage::getPaletteCount ( ) const
overridevirtual

Return the number of colors in the palette.

Implements Graphics::Cursor.


The documentation for this class was generated from the following file: