From 2ae3166f2db47b7beb5225d57b5e271de33ab9cd Mon Sep 17 00:00:00 2001 From: James Brown Date: Sat, 13 Nov 2004 04:33:33 +0000 Subject: 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 --- common/system.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'common') 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. -- cgit v1.2.3