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 /backends/sdl/sdl-common.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 'backends/sdl/sdl-common.h')
-rw-r--r-- | backends/sdl/sdl-common.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h index bd2410ab2a..3da878a6e6 100644 --- a/backends/sdl/sdl-common.h +++ b/backends/sdl/sdl-common.h @@ -106,17 +106,12 @@ public: static OSystem *create(int gfx_mode, bool full_screen); protected: - typedef void TwoXSaiProc(uint8 *srcPtr, uint32 srcPitch, uint8 *deltaPtr, - uint8 *dstPtr, uint32 dstPitch, int width, int height); SDL_Surface *sdl_screen; // unseen game screen - SDL_Surface *sdl_tmpscreen; // temporary screen (for 2xsai) SDL_CD *cdrom; enum { DF_WANT_RECT_OPTIM = 1 << 0, - DF_REAL_8BIT = 1 << 1, - DF_SEPARATE_TEMPSCREEN = 1 << 2, DF_UPDATE_EXPAND_1_PIXEL = 1 << 3 }; @@ -166,7 +161,6 @@ protected: int16 _mouse_hotspot_y; int _current_shake_pos; int _new_shake_pos; - TwoXSaiProc *_sai_func; SDL_Color *_cur_pal; uint _palette_changed_first, _palette_changed_last; @@ -180,8 +174,8 @@ protected: void add_dirty_rect(int x, int y, int w, int h); - void draw_mouse(); - void undraw_mouse(); + virtual void draw_mouse(); + virtual void undraw_mouse(); virtual void load_gfx_mode() = 0; virtual void unload_gfx_mode() = 0; |