From 4fdf5675b8d46640e0c3b8e3db5549bfdad642eb Mon Sep 17 00:00:00 2001 From: Nicolas Bacca Date: Sun, 9 May 2004 14:30:29 +0000 Subject: Make a few functions GFX functions virtual for CE backend svn-id: r13817 --- backends/sdl/sdl-common.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'backends') diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h index 2f7b219779..02a9244046 100644 --- a/backends/sdl/sdl-common.h +++ b/backends/sdl/sdl-common.h @@ -31,8 +31,10 @@ #include +#ifndef _WIN32_WCE // Uncomment this to enable the 'on screen display' code. #define USE_OSD 1 +#endif class OSystem_SDL : public OSystem { public: @@ -245,7 +247,7 @@ protected: void add_dirty_rgn_auto(const byte *buf); void mk_checksums(const byte *buf); - void add_dirty_rect(int x, int y, int w, int h); + virtual void add_dirty_rect(int x, int y, int w, int h); void draw_mouse(); void undraw_mouse(); @@ -257,9 +259,9 @@ protected: virtual void internUpdateScreen(); - void load_gfx_mode(); - void unload_gfx_mode(); - void hotswap_gfx_mode(); + virtual void load_gfx_mode(); + virtual void unload_gfx_mode(); + virtual void hotswap_gfx_mode(); void setFullscreenMode(bool enable); -- cgit v1.2.3