ScummVM API documentation
Trecision::GraphicsManager Class Reference

Public Member Functions

 GraphicsManager (TrecisionEngine *vm)
 
bool init ()
 
void clearScreen ()
 
void copyToScreen (int x, int y, int w, int h)
 
void copyToScreenBuffer (const Graphics::Surface *surface, int x, int y, const byte *palette)
 
void blitToScreenBuffer (const Graphics::Surface *surface, int x, int y, const byte *palette, bool useSmkBg)
 
void paintScreen (bool flag)
 
void loadBackground (Common::SeekableReadStream *stream)
 
void clearScreenBuffer ()
 
void clearScreenBufferTop ()
 
void clearScreenBufferInventory ()
 
void clearScreenBufferSaveSlotDescriptions ()
 
void drawLeftInventoryArrow (byte startLine)
 
void drawRightInventoryArrow (byte startLine)
 
void drawInventoryIcon (byte iconIndex, byte iconSlot, byte startLine)
 
void drawSaveSlotThumbnail (byte iconIndex, byte iconSlot, byte startLine)
 
void setSaveSlotThumbnail (byte iconSlot, const Graphics::Surface *thumbnail)
 
void readSurface (Common::SeekableReadStream *stream, Graphics::Surface *surface, uint16 width, uint16 height, uint16 count=1)
 
void readTexture (Common::SeekableReadStream *stream)
 
void drawTexturePixel (uint16 textureX, uint16 textureY, uint16 screenX, uint16 screenY)
 
uint16 convertToScreenFormat (uint16 color) const
 
void shadow (uint16 x, uint16 y, uint8 num)
 
void pixelAliasing (uint16 x, uint16 y)
 
void dissolve ()
 
void addDirtyRect (Common::Rect rect, bool translateRect)
 
uint16 getCharWidth (byte character)
 
void drawChar (byte curChar, uint16 textColor, uint16 line, Common::Rect rect, Common::Rect subtitleRect, uint16 inc, Graphics::Surface *externalSurface)
 
bool isCursorVisible ()
 
void showCursor ()
 
void hideCursor ()
 
void loadFont ()
 
void loadData ()
 
void showDemoPic ()
 

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