aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorMax Horn2002-09-19 16:06:51 +0000
committerMax Horn2002-09-19 16:06:51 +0000
commitbb57506d48e783027dbf09ab44c88b40ed7d2fa4 (patch)
treeed90efab26e7287627b2a5ce6c8c6d6909a5cf5d /common/system.h
parentb46b35b54470180a882d2732b75d64243857cb54 (diff)
downloadscummvm-rg350-bb57506d48e783027dbf09ab44c88b40ed7d2fa4.tar.gz
scummvm-rg350-bb57506d48e783027dbf09ab44c88b40ed7d2fa4.tar.bz2
scummvm-rg350-bb57506d48e783027dbf09ab44c88b40ed7d2fa4.zip
Added overlay to OSystem interface; implemented overlay in SDL backend (all other backends, including SDL_gl, still need to implement this!); changed NewGUI to make use of the overlay; added Cmd-Q as a shortcut for Quit on MacOS X
svn-id: r4971
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h
index 97e7ebcca2..f3fcea129a 100644
--- a/common/system.h
+++ b/common/system.h
@@ -158,6 +158,13 @@ public:
// Quit
virtual void quit() = 0;
+
+ // Overlay
+ virtual void show_overlay() = 0;
+ virtual void hide_overlay() = 0;
+ virtual void clear_overlay() = 0;
+ virtual void grab_overlay(int16 *buf, int pitch) = 0;
+ virtual void copy_rect_overlay(const int16 *buf, int pitch, int x, int y, int w, int h) = 0;
};