aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorNicolas Bacca2004-05-09 14:30:29 +0000
committerNicolas Bacca2004-05-09 14:30:29 +0000
commit4fdf5675b8d46640e0c3b8e3db5549bfdad642eb (patch)
treec05cd667ba5d89142de502f81e17fed8e8f8f235 /backends
parent5d81e3b7856d28e0d881ff04bd7e1c1d7ac71ab1 (diff)
downloadscummvm-rg350-4fdf5675b8d46640e0c3b8e3db5549bfdad642eb.tar.gz
scummvm-rg350-4fdf5675b8d46640e0c3b8e3db5549bfdad642eb.tar.bz2
scummvm-rg350-4fdf5675b8d46640e0c3b8e3db5549bfdad642eb.zip
Make a few functions GFX functions virtual for CE backend
svn-id: r13817
Diffstat (limited to 'backends')
-rw-r--r--backends/sdl/sdl-common.h10
1 files changed, 6 insertions, 4 deletions
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 <SDL.h>
+#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);