From 5417f6bacb73d5996b26229513c2ce01db27bf6a Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 15 Feb 2009 21:20:21 +0000 Subject: - Replace OSystem::clearScreen with OSystem::fillScreen as discussed on -devel. - Update BaseBackend and DC port to properly implement OSystem::fillScreen (now only PalmOS has to be updated). - Update all client code which relied on OSystem::clearScreen so far. svn-id: r38304 --- common/system.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/system.h b/common/system.h index 913c19c70e..b4bbae017b 100644 --- a/common/system.h +++ b/common/system.h @@ -512,9 +512,13 @@ public: virtual void unlockScreen() = 0; /** - * Clear the screen to black. + * Fills the screen with a given color value. + * + * @note We are using uint32 here even though currently + * we only support 8bpp indexed mode. Thus the value should + * be always inside [0, 255] for now. */ - virtual void clearScreen() = 0; + virtual void fillScreen(uint32 col) = 0; /** * Flush the whole screen, that is render the current content of the screen -- cgit v1.2.3