ScummVM API documentation
TsAGE::GfxManager Class Reference

Public Member Functions

 GfxManager (GfxSurface &s)
 
void setDefaults ()
 
void activate ()
 
void deactivate ()
 
int getStringWidth (const char *s, int numChars)
 
int getStringWidth (const char *s)
 
void getStringBounds (const char *s, Rect &bounds, int maxWidth)
 
void setDialogPalette ()
 
Graphics::ManagedSurfacelockSurface ()
 
void unlockSurface ()
 
void fillArea (int xp, int yp, int color)
 
void fillRect (const Rect &bounds, int color)
 
void fillRect2 (int xs, int ys, int width, int height, int color)
 
void setFillFlag (bool v)
 
virtual void xorArea (const Common::Rect &r, int color, int fillMode)
 
virtual void draw (const Common::Rect &r, void *gfxData, int v1, GfxColors *colors)
 
virtual void copy (const byte *src, byte *dest, int size)
 
virtual void set (byte *dest, int size, byte val)
 
void copyFrom (GfxSurface &src, Rect destBounds, Region *priorityRegion=NULL)
 
void copyFrom (GfxSurface &src, int destX, int destY)
 
void copyFrom (GfxSurface &src, const Rect &srcBounds, const Rect &destBounds)
 
GfxSurfacegetSurface ()
 

Static Public Member Functions

static int getAngle (const Common::Point &p1, const Common::Point &p2)
 

Public Attributes

GfxManager_oldManager
 
Common::Point _topLeft
 
Rect _bounds
 
Rect _pane0Rect4
 
GfxFont _font
 

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