diff options
Diffstat (limited to 'src/graphics.h')
-rw-r--r-- | src/graphics.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/graphics.h b/src/graphics.h index b3d36653..abef794f 100644 --- a/src/graphics.h +++ b/src/graphics.h @@ -97,6 +97,14 @@ class Graphics : public gcn::SDLGraphics { int dstX, int dstY, int width, int height); + /** + * Blits an image onto the screen with an alpha factor + * + * @return <code>true</code> if the image was blitted properly + * <code>false</code> otherwise. + */ + bool drawImageTransparent(Image *image, int x, int y, float opacity); + virtual void drawImagePattern(Image *image, int x, int y, |