aboutsummaryrefslogtreecommitdiff
path: root/backends/sdl/sdl-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/sdl/sdl-common.h')
-rw-r--r--backends/sdl/sdl-common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h
index 2d3337e0d5..a4265c6f31 100644
--- a/backends/sdl/sdl-common.h
+++ b/backends/sdl/sdl-common.h
@@ -80,11 +80,17 @@ public:
// Set colors of the palette
void setPalette(const byte *colors, uint start, uint num);
+
+ // Get colors of the palette
+ void grabPalette(byte *colors, uint start, uint num);
// Draw a bitmap to screen.
// The screen will not be updated to reflect the new bitmap
void copyRectToScreen(const byte *src, int pitch, int x, int y, int w, int h);
+ // Copies the screen to a buffer
+ bool grabRawScreen(Graphics::Surface *surf);
+
// Clear the screen
void clearScreen();