aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorJames Brown2004-11-13 04:33:33 +0000
committerJames Brown2004-11-13 04:33:33 +0000
commit2ae3166f2db47b7beb5225d57b5e271de33ab9cd (patch)
tree39990f576a436da88699af15d525e942a4a9f02e /common
parent628b02a9e8183001279c7ecbf59d38456993aa8c (diff)
downloadscummvm-rg350-2ae3166f2db47b7beb5225d57b5e271de33ab9cd.tar.gz
scummvm-rg350-2ae3166f2db47b7beb5225d57b5e271de33ab9cd.tar.bz2
scummvm-rg350-2ae3166f2db47b7beb5225d57b5e271de33ab9cd.zip
Add new clearScreen OSystem call. Currently only implemented in SDL backend. This call is currently only used for clearing the launcher screen to remove garbage from the main screen before reentering.
svn-id: r15799
Diffstat (limited to 'common')
-rw-r--r--common/system.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h
index 2f2aeab7ec..fcff39b567 100644
--- a/common/system.h
+++ b/common/system.h
@@ -254,6 +254,9 @@ public:
* API are probably going to remove it.
*/
virtual void setPalette(const byte *colors, uint start, uint num) = 0;
+
+ /** Clear the screen to black */
+ virtual void clearScreen() {;}
/**
* Blit a bitmap to the virtual screen.