diff options
author | Alexander Tkachev | 2016-06-03 19:18:01 +0600 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 2a15b8b280af4d4beddb142e468f511a65552e2d (patch) | |
tree | 1c04f72866b277ee1410ca952be5296db9e06d6f /common | |
parent | 9d186929e16ce023222028143a280aca03605fe9 (diff) | |
download | scummvm-rg350-2a15b8b280af4d4beddb142e468f511a65552e2d.tar.gz scummvm-rg350-2a15b8b280af4d4beddb142e468f511a65552e2d.tar.bz2 scummvm-rg350-2a15b8b280af4d4beddb142e468f511a65552e2d.zip |
GUI: Add clearOSD() method
So one can erase everything from OSD and then blit something on it.
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h index 64e4b927b3..6071e4582b 100644 --- a/common/system.h +++ b/common/system.h @@ -1113,6 +1113,12 @@ public: 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; + + /** * Return the SaveFileManager, used to store and load savestates * and other modifiable persistent game data. For more information, * refer to the SaveFileManager documentation. |