aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/samsungtv/samsungtv.h
diff options
context:
space:
mode:
authorPaweł Kołodziejski2009-11-14 15:46:38 +0000
committerPaweł Kołodziejski2009-11-14 15:46:38 +0000
commitace686aa3f0143aec0445a4dfe1a039cb80ac900 (patch)
treecc63f7f667fc97a7e936038cd173eba72a8246c7 /backends/platform/samsungtv/samsungtv.h
parent1de89723fd07183a07a29e0d26efddf174529b1f (diff)
downloadscummvm-rg350-ace686aa3f0143aec0445a4dfe1a039cb80ac900.tar.gz
scummvm-rg350-ace686aa3f0143aec0445a4dfe1a039cb80ac900.tar.bz2
scummvm-rg350-ace686aa3f0143aec0445a4dfe1a039cb80ac900.zip
samsungtv: continue reduction of code duplication
svn-id: r45900
Diffstat (limited to 'backends/platform/samsungtv/samsungtv.h')
-rw-r--r--backends/platform/samsungtv/samsungtv.h24
1 files changed, 5 insertions, 19 deletions
diff --git a/backends/platform/samsungtv/samsungtv.h b/backends/platform/samsungtv/samsungtv.h
index ac8a938315..8ef1e927e9 100644
--- a/backends/platform/samsungtv/samsungtv.h
+++ b/backends/platform/samsungtv/samsungtv.h
@@ -41,19 +41,8 @@ class OSystem_SDL_SamsungTV : public OSystem_SDL {
public:
OSystem_SDL_SamsungTV();
- // Highest supported
- virtual Common::List<Graphics::PixelFormat> getSupportedFormats();
-
- // Warp the mouse cursor. Where set_mouse_pos() only informs the
- // backend of the mouse cursor's current position, this function
- // actually moves the cursor to the specified position.
virtual void warpMouse(int x, int y);
- // Set the bitmap that's used when drawing the cursor.
- virtual void setMouseCursor(const byte *buf, uint w, uint h, int hotspot_x, int hotspot_y, uint32 keycolor, int cursorTargetScale, const Graphics::PixelFormat *format); // overloaded by CE backend (FIXME)
-
- // Get the next event.
- // Returns true if an event was retrieved.
virtual bool pollEvent(Common::Event &event);
virtual bool hasFeature(Feature f);
@@ -62,16 +51,13 @@ public:
protected:
- SDL_Surface *_prehwscreen;
-
- virtual void drawMouse(); // overloaded by CE backend
- virtual void blitCursor(); // overloaded by CE backend (FIXME)
+ SDL_Surface *_realhwscreen;
- virtual void internUpdateScreen(); // overloaded by CE backend
+ virtual void internUpdateScreen();
- virtual bool loadGFXMode(); // overloaded by CE backend
- virtual void unloadGFXMode(); // overloaded by CE backend
- virtual bool hotswapGFXMode(); // overloaded by CE backend
+ virtual bool loadGFXMode();
+ virtual void unloadGFXMode();
+ virtual bool hotswapGFXMode();
void handleKbdMouse();
void generateMouseMoveEvent(int x, int y);