aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorJohannes Schickel2009-02-15 21:20:21 +0000
committerJohannes Schickel2009-02-15 21:20:21 +0000
commit5417f6bacb73d5996b26229513c2ce01db27bf6a (patch)
treeec7298416ce8f3ca657b1637352763178752852c /common/system.h
parente29d90be3e2213313c2884d80656198d8fed65ef (diff)
downloadscummvm-rg350-5417f6bacb73d5996b26229513c2ce01db27bf6a.tar.gz
scummvm-rg350-5417f6bacb73d5996b26229513c2ce01db27bf6a.tar.bz2
scummvm-rg350-5417f6bacb73d5996b26229513c2ce01db27bf6a.zip
- 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
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h8
1 files changed, 6 insertions, 2 deletions
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