From ace686aa3f0143aec0445a4dfe1a039cb80ac900 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Sat, 14 Nov 2009 15:46:38 +0000 Subject: samsungtv: continue reduction of code duplication svn-id: r45900 --- backends/platform/samsungtv/samsungtv.h | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) (limited to 'backends/platform/samsungtv/samsungtv.h') 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 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); -- cgit v1.2.3