diff options
author | Max Horn | 2002-09-19 16:06:51 +0000 |
---|---|---|
committer | Max Horn | 2002-09-19 16:06:51 +0000 |
commit | bb57506d48e783027dbf09ab44c88b40ed7d2fa4 (patch) | |
tree | ed90efab26e7287627b2a5ce6c8c6d6909a5cf5d /common/system.h | |
parent | b46b35b54470180a882d2732b75d64243857cb54 (diff) | |
download | scummvm-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.h | 7 |
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; }; |