From 224d8c087acac4e3f21913b6268f82c1ab9faca8 Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Mon, 13 Jul 2009 19:08:04 +0000 Subject: Added Surface::fill() method and made Screen::fillScreen() use that instead of filling the surface manually. Changed Surface to use uint instead of uint8 throughout. svn-id: r42447 --- engines/draci/surface.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'engines/draci/surface.h') diff --git a/engines/draci/surface.h b/engines/draci/surface.h index 20df29d7f9..db564ec2e5 100644 --- a/engines/draci/surface.h +++ b/engines/draci/surface.h @@ -42,14 +42,15 @@ public: void markDirty(); void markClean(); bool needsFullUpdate(); - uint8 getTransparentColour(); - void setTransparentColour(uint8 colour); + uint getTransparentColour(); + void setTransparentColour(uint colour); + void fill(uint colour); private: /** The current transparent colour of the surface. See getTransparentColour() and * setTransparentColour(). */ - uint8 _transparentColour; + uint _transparentColour; /** Set when the surface is scheduled for a full update. * See markDirty(), markClean(). Accessed via needsFullUpdate(). -- cgit v1.2.3