ScummVM API documentation
Image::IcoCurDecoder Class Reference

Classes

struct  Item
 

Public Types

enum  Type { kTypeInvalid, kTypeICO, kTypeCUR }
 

Public Member Functions

bool open (Common::SeekableReadStream &stream, DisposeAfterUse::Flag=DisposeAfterUse::NO)
 
void close ()
 
Type getType () const
 
uint numItems () const
 
const ItemgetItem (uint itemIndex) const
 
Graphics::CursorloadItemAsCursor (uint itemIndex) const
 

Member Function Documentation

◆ loadItemAsCursor()

Graphics::Cursor* Image::IcoCurDecoder::loadItemAsCursor ( uint  itemIndex) const

Loads an item from the directory as a cursor.

Parameters
itemIndexThe index of the item in the directory.
Returns
Loaded cursor.

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