aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/sdl
diff options
context:
space:
mode:
authorMax Horn2011-02-07 17:52:38 +0000
committerMax Horn2011-02-07 17:52:38 +0000
commitab039812e7d0a0202317c61a2cb64874e4d0c410 (patch)
treec3069b36ba6e18068fa343416acf485e2d0728e4 /backends/graphics/sdl
parent8981fa3f164aa8f397df2af8b85d6edfa4bdd883 (diff)
downloadscummvm-rg350-ab039812e7d0a0202317c61a2cb64874e4d0c410.tar.gz
scummvm-rg350-ab039812e7d0a0202317c61a2cb64874e4d0c410.tar.bz2
scummvm-rg350-ab039812e7d0a0202317c61a2cb64874e4d0c410.zip
COMMON: OSystem now has a PaletteManager
svn-id: r55806
Diffstat (limited to 'backends/graphics/sdl')
-rw-r--r--backends/graphics/sdl/sdl-graphics.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/graphics/sdl/sdl-graphics.h b/backends/graphics/sdl/sdl-graphics.h
index 6a55a3d489..0daaab104c 100644
--- a/backends/graphics/sdl/sdl-graphics.h
+++ b/backends/graphics/sdl/sdl-graphics.h
@@ -101,8 +101,13 @@ public:
virtual int16 getHeight();
virtual int16 getWidth();
+
+protected:
+ // PaletteManager API
virtual void setPalette(const byte *colors, uint start, uint num);
virtual void grabPalette(byte *colors, uint start, uint num);
+
+public:
virtual void copyRectToScreen(const byte *buf, int pitch, int x, int y, int w, int h);
virtual Graphics::Surface *lockScreen();
virtual void unlockScreen();