ScummVM API documentation
Mohawk::LBGraphics Class Reference
Inheritance diagram for Mohawk::LBGraphics:
Mohawk::GraphicsManager

Public Member Functions

 LBGraphics (MohawkEngine_LivingBooks *vm, uint16 width, uint16 height)
 
void setPalette (uint16 id) override
 
void copyOffsetAnimImageToScreen (uint16 image, int left=0, int top=0)
 
bool imageIsTransparentAt (uint16 image, bool useOffsets, int x, int y)
 
- Public Member Functions inherited from Mohawk::GraphicsManager
void clearCache ()
 
MohawkSurface * findImage (uint16 id)
 
void preloadImage (uint16 image)
 
virtual void setPalette (uint16 id)
 
void copyAnimImageToScreen (uint16 image, int left=0, int top=0)
 
void copyAnimImageSectionToScreen (uint16 image, Common::Rect src, Common::Rect dest)
 
void copyAnimSubImageToScreen (uint16 image, uint16 subimage, int left=0, int top=0)
 
void getSubImageSize (uint16 image, uint16 subimage, uint16 &width, uint16 &height)
 

Protected Member Functions

MohawkSurface * decodeImage (uint16 id) override
 
MohawkEngine * getVM () override
 
- Protected Member Functions inherited from Mohawk::GraphicsManager
void copyAnimImageSectionToScreen (MohawkSurface *image, Common::Rect src, Common::Rect dest)
 
virtual MohawkSurface * decodeImage (uint16 id)=0
 
virtual Common::Array< MohawkSurface * > decodeImages (uint16 id)
 
virtual MohawkEngine * getVM ()=0
 
void addImageToCache (uint16 id, MohawkSurface *surface)
 

Member Function Documentation

◆ setPalette()

void Mohawk::LBGraphics::setPalette ( uint16  id)
overridevirtual

Reimplemented from Mohawk::GraphicsManager.

◆ decodeImage()

MohawkSurface * Mohawk::LBGraphics::decodeImage ( uint16  id)
overrideprotectedvirtual

◆ getVM()

MohawkEngine * Mohawk::LBGraphics::getVM ( )
inlineoverrideprotectedvirtual

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