ScummVM API documentation
Overlay Class Reference

#include <default_display_client.h>

Inheritance diagram for Overlay:
DefaultDisplayClient DisplayClient

Public Member Functions

void init ()
 
bool allocate ()
 
void setBytesPerPixel (uint32 size)
 
void setSize (uint32 width, uint32 height)
 
void copyToArray (void *buf, int pitch)
 
void copyFromRect (const void *buf, int pitch, int x, int y, int w, int h)
 
- Public Member Functions inherited from DefaultDisplayClient
bool isVisible () const
 
void setVisible (bool v)
 
Bufferbuffer ()
 
Palettepalette ()
 
void init ()
 
bool allocate (bool bufferInVram=false, bool paletteInVram=false)
 
void deallocate ()
 
void clearBuffer ()
 
void clearPalette ()
 
void render ()
 
uint32 getWidth () const
 
uint32 getHeight () const
 
void setPartialPalette (const byte *colors, uint start, uint num)
 
void getPartialPalette (byte *colors, uint start, uint num) const
 
void copyFromRect (const byte *buf, int pitch, int destX, int destY, int recWidth, int recHeight)
 
void copyToArray (byte *dst, int pitch)
 
void setDirty ()
 
void setClean ()
 
bool isDirty () const
 
- Public Member Functions inherited from DisplayClient
bool isVisible ()
 
bool isDirty ()
 
void setClean ()
 
void render ()
 

Additional Inherited Members

- Protected Attributes inherited from DefaultDisplayClient
Buffer _buffer
 
Palette _palette
 
GuRenderer _renderer
 
bool _visible
 
bool _dirty
 

Detailed Description

Screen overlay class.


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