ScummVM API documentation
DefaultDisplayClient Class Reference

#include <default_display_client.h>

Inheritance diagram for DefaultDisplayClient:
DisplayClient Cursor Overlay Screen

Public Member Functions

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 ()
 

Protected Attributes

Buffer _buffer
 
Palette _palette
 
GuRenderer _renderer
 
bool _visible
 
bool _dirty
 

Detailed Description

Default display client that is useful for most purposes.


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