aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/sdl
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-24 00:09:25 +0100
committerJohannes Schickel2011-02-24 00:09:25 +0100
commite2aafb603e279506c85d00f4b9fb698934994b2c (patch)
tree5bb6b9066fb67fff99304c439baf29d30a6cb019 /backends/graphics/sdl
parent0f9ad1a52f8df62e5d01b8a190c8d5e87e1ac8bd (diff)
downloadscummvm-rg350-e2aafb603e279506c85d00f4b9fb698934994b2c.tar.gz
scummvm-rg350-e2aafb603e279506c85d00f4b9fb698934994b2c.tar.bz2
scummvm-rg350-e2aafb603e279506c85d00f4b9fb698934994b2c.zip
SDL: Move focus rectangle dummy implementations to .cpp file.
Diffstat (limited to 'backends/graphics/sdl')
-rw-r--r--backends/graphics/sdl/sdl-graphics.cpp5
-rw-r--r--backends/graphics/sdl/sdl-graphics.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/backends/graphics/sdl/sdl-graphics.cpp b/backends/graphics/sdl/sdl-graphics.cpp
index 15d896c57a..05cc4ff04a 100644
--- a/backends/graphics/sdl/sdl-graphics.cpp
+++ b/backends/graphics/sdl/sdl-graphics.cpp
@@ -1396,6 +1396,11 @@ void SdlGraphicsManager::setShakePos(int shake_pos) {
_newShakePos = shake_pos;
}
+void SdlGraphicsManager::setFocusRectangle(const Common::Rect& rect) {
+}
+
+void SdlGraphicsManager::clearFocusRectangle() {
+}
#pragma mark -
#pragma mark --- Overlays ---
diff --git a/backends/graphics/sdl/sdl-graphics.h b/backends/graphics/sdl/sdl-graphics.h
index 0daaab104c..f912fc881b 100644
--- a/backends/graphics/sdl/sdl-graphics.h
+++ b/backends/graphics/sdl/sdl-graphics.h
@@ -114,8 +114,8 @@ public:
virtual void fillScreen(uint32 col);
virtual void updateScreen();
virtual void setShakePos(int shakeOffset);
- virtual void setFocusRectangle(const Common::Rect& rect) {}
- virtual void clearFocusRectangle() {}
+ virtual void setFocusRectangle(const Common::Rect& rect);
+ virtual void clearFocusRectangle();
virtual void showOverlay();
virtual void hideOverlay();