From 2a15b8b280af4d4beddb142e468f511a65552e2d Mon Sep 17 00:00:00 2001 From: Alexander Tkachev Date: Fri, 3 Jun 2016 19:18:01 +0600 Subject: GUI: Add clearOSD() method So one can erase everything from OSD and then blit something on it. --- common/system.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'common') diff --git a/common/system.h b/common/system.h index 64e4b927b3..6071e4582b 100644 --- a/common/system.h +++ b/common/system.h @@ -1112,6 +1112,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, -- cgit v1.2.3