aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorBastien Bouclet2016-09-13 20:35:46 +0200
committerBastien Bouclet2016-09-13 20:41:26 +0200
commit0802bbd8ee526552da751141ce03cce2a8e3ec30 (patch)
tree92048ce90ff9d0a1ff32c609e1fd0167b437da70 /common/system.h
parent9cbaad61405f0a4c8b88eb4e6637b84a12633c1a (diff)
downloadscummvm-rg350-0802bbd8ee526552da751141ce03cce2a8e3ec30.tar.gz
scummvm-rg350-0802bbd8ee526552da751141ce03cce2a8e3ec30.tar.bz2
scummvm-rg350-0802bbd8ee526552da751141ce03cce2a8e3ec30.zip
OSYSTEM: Remove the API allowing to draw to the OSD surface directly
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/common/system.h b/common/system.h
index b07a5ffd1e..cbaa30c19d 100644
--- a/common/system.h
+++ b/common/system.h
@@ -1121,45 +1121,6 @@ public:
virtual void displayActivityIconOnOSD(const Graphics::Surface *icon) = 0;
/**
- * Blit a bitmap to the 'on screen display'.
- *
- * If the current pixel format has one byte per pixel, the graphics data
- * uses 8 bits per pixel, using the palette specified via setPalette.
- * If more than one byte per pixel is in use, the graphics data uses the
- * pixel format returned by getScreenFormat.
- *
- * @param buf the buffer containing the graphics data source
- * @param pitch the pitch of the buffer (number of bytes in a scanline)
- * @param x the x coordinate of the destination rectangle
- * @param y the y coordinate of the destination rectangle
- * @param w the width of the destination rectangle
- * @param h the height of the destination rectangle
- *
- * @note The specified destination rectangle must be completly contained
- * in the visible screen space, and must be non-empty. If not, a
- * backend may or may not perform clipping, trigger an assert or
- * silently corrupt memory.
- *
- * @see updateScreen
- * @see getScreenFormat
- * @see copyRectToScreen
- */
-
- virtual void copyRectToOSD(const void *buf, int pitch, int x, int y, int w, int h) = 0;
-
- /**
- * Clears 'on screen display' from everything drawn on it.
- */
-
- virtual void clearOSD() = 0;
-
- /**
- * Returns 'on screen display' pixel format.
- */
-
- virtual Graphics::PixelFormat getOSDFormat() = 0;
-
- /**
* Return the SaveFileManager, used to store and load savestates
* and other modifiable persistent game data. For more information,
* refer to the SaveFileManager documentation.