ScummVM API documentation
Nancy::GraphicsManager Class Reference

Public Member Functions

void init ()
 
void draw (bool updateScreen=true)
 
void loadFonts (Common::SeekableReadStream *chunkStream)
 
void addObject (RenderObject *object)
 
void removeObject (RenderObject *object)
 
void clearObjects ()
 
void redrawAll ()
 
void suppressNextDraw ()
 
const FontgetFont (uint id) const
 
const Graphics::ScreengetScreen ()
 
const Graphics::PixelFormatgetInputPixelFormat ()
 
const Graphics::PixelFormatgetScreenPixelFormat ()
 
const Graphics::PixelFormatgetTransparentPixelFormat ()
 
uint32 getTransColor ()
 
Graphics::ManagedSurfacegetAutotextSurface (uint16 id)
 
Common::RectgetAutotextSurfaceBounds (uint16 id)
 
void grabViewportObjects (Common::Array< RenderObject *> &inArray)
 
void screenshotScreen (Graphics::ManagedSurface &inSurf)
 
void debugDrawToScreen (const Graphics::ManagedSurface &surf)
 

Static Public Member Functions

static void loadSurfacePalette (Graphics::ManagedSurface &inSurf, const Common::Path &paletteFilename, uint paletteStart=0, uint paletteSize=256)
 
static void copyToManaged (const Graphics::Surface &src, Graphics::ManagedSurface &dst, bool verticalFlip=false, bool doubleSize=false)
 
static void copyToManaged (void *src, Graphics::ManagedSurface &dst, uint srcW, uint srcH, const Graphics::PixelFormat &format, bool verticalFlip=false, bool doubleSize=false)
 
static void rotateBlit (const Graphics::ManagedSurface &src, Graphics::ManagedSurface &dest, byte rotation)
 
static void crossDissolve (const Graphics::ManagedSurface &from, const Graphics::ManagedSurface &to, byte alpha, const Common::Rect rect, Graphics::ManagedSurface &inResult)
 

Public Attributes

Graphics::ManagedSurface _object0
 

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