ScummVM API documentation
Screen Class Reference

#include <default_display_client.h>

Inheritance diagram for Screen:
DefaultDisplayClient DisplayClient

Public Member Functions

void init ()
 
bool allocate ()
 
void setShakePos (int shakeXOffset, int shakeYOffset)
 
void setScummvmPixelFormat (const Graphics::PixelFormat *format)
 
const Graphics::PixelFormatgetScummvmPixelFormat () const
 
Graphics::SurfacelockAndGetForEditing ()
 
void unlock ()
 
void setSize (uint32 width, uint32 height)
 
- 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 class.


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