aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorPaweł Kołodziejski2009-11-10 17:18:19 +0000
committerPaweł Kołodziejski2009-11-10 17:18:19 +0000
commit095172d57ffafc1ff313515948dc22a3b88094f3 (patch)
tree2aa86c3f373b51db0fe5151ffe5af393f266b68e /backends/platform
parent02165cff5a901e4508b4b10da23258c0d802bad7 (diff)
downloadscummvm-rg350-095172d57ffafc1ff313515948dc22a3b88094f3.tar.gz
scummvm-rg350-095172d57ffafc1ff313515948dc22a3b88094f3.tar.bz2
scummvm-rg350-095172d57ffafc1ff313515948dc22a3b88094f3.zip
fixed linking in samsungtv target
svn-id: r45806
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/samsungtv/events.cpp4
-rw-r--r--backends/platform/samsungtv/sdl.cpp7
-rw-r--r--backends/platform/samsungtv/sdl.h8
3 files changed, 2 insertions, 17 deletions
diff --git a/backends/platform/samsungtv/events.cpp b/backends/platform/samsungtv/events.cpp
index c65e10fb80..f477f9c4d2 100644
--- a/backends/platform/samsungtv/events.cpp
+++ b/backends/platform/samsungtv/events.cpp
@@ -29,7 +29,7 @@
#if defined(SAMSUNGTV)
-void OSystem_SDL::handleKbdMouse() {
+void OSystem_SDL_SamsungTV::handleKbdMouse() {
uint32 curTime = getMillis();
if (curTime >= _km.last_time + _km.delay_time) {
_km.last_time = curTime;
@@ -96,7 +96,7 @@ void OSystem_SDL::handleKbdMouse() {
}
}
-bool OSystem_SDL::pollEvent(Common::Event &event) {
+bool OSystem_SDL_SamsungTV::pollEvent(Common::Event &event) {
SDL_Event ev;
handleKbdMouse();
diff --git a/backends/platform/samsungtv/sdl.cpp b/backends/platform/samsungtv/sdl.cpp
index ab6602fa35..0bc82f7b8c 100644
--- a/backends/platform/samsungtv/sdl.cpp
+++ b/backends/platform/samsungtv/sdl.cpp
@@ -50,13 +50,6 @@ static Uint32 timer_handler(Uint32 interval, void *param) {
return interval;
}
-AspectRatio::AspectRatio(int w, int h) {
- // TODO : Validation and so on...
- // Currently, we just ensure the program don't instantiate non-supported aspect ratios
- _kw = w;
- _kh = h;
-}
-
static const size_t AR_COUNT = 4;
static const char* desiredAspectRatioAsStrings[AR_COUNT] = { "auto", "4/3", "16/9", "16/10" };
static const AspectRatio desiredAspectRatios[AR_COUNT] = { AspectRatio(0, 0), AspectRatio(4,3), AspectRatio(16,9), AspectRatio(16,10) };
diff --git a/backends/platform/samsungtv/sdl.h b/backends/platform/samsungtv/sdl.h
index 26702faf95..c08cdca69a 100644
--- a/backends/platform/samsungtv/sdl.h
+++ b/backends/platform/samsungtv/sdl.h
@@ -51,10 +51,6 @@ public:
// Typically, 320x200 CLUT8
virtual void initSize(uint w, uint h, const Graphics::PixelFormat *format);
- // Draw a bitmap to screen.
- // The screen will not be updated to reflect the new bitmap
- virtual void copyRectToScreen(const byte *src, int pitch, int x, int y, int w, int h); // overloaded by CE backend (FIXME)
-
// 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.
@@ -88,10 +84,7 @@ protected:
SDL_Surface *_prehwscreen;
- virtual void setGraphicsModeIntern();
-
virtual void drawMouse(); // overloaded by CE backend
- virtual void undrawMouse(); // overloaded by CE backend (FIXME)
virtual void blitCursor(); // overloaded by CE backend (FIXME)
virtual void internUpdateScreen(); // overloaded by CE backend
@@ -101,7 +94,6 @@ protected:
virtual bool hotswapGFXMode(); // overloaded by CE backend
void setFullscreenMode(bool enable);
- void setAspectRatioCorrection(bool enable);
void handleKbdMouse();