diff options
author | Max Horn | 2007-07-08 12:02:38 +0000 |
---|---|---|
committer | Max Horn | 2007-07-08 12:02:38 +0000 |
commit | 41c68ac3e42b157529cf8fd670e774f5be72911a (patch) | |
tree | fd42d23de718e365745b3e13f176aaa22f69c0ec | |
parent | a7a62d3c9ddbb66c19035144a827b7ce832d9e90 (diff) | |
download | scummvm-rg350-41c68ac3e42b157529cf8fd670e774f5be72911a.tar.gz scummvm-rg350-41c68ac3e42b157529cf8fd670e774f5be72911a.tar.bz2 scummvm-rg350-41c68ac3e42b157529cf8fd670e774f5be72911a.zip |
Removed various obsolete methods from OSystem (screenToOverlayX/Y, overlayToScreenX/Y)
svn-id: r27961
-rw-r--r-- | backends/platform/PalmOS/Src/be_base.h | 4 | ||||
-rw-r--r-- | backends/platform/dc/dc.h | 4 | ||||
-rw-r--r-- | backends/platform/dc/display.cpp | 20 | ||||
-rw-r--r-- | common/system.h | 5 |
4 files changed, 0 insertions, 33 deletions
diff --git a/backends/platform/PalmOS/Src/be_base.h b/backends/platform/PalmOS/Src/be_base.h index a5891b99c8..7881275358 100644 --- a/backends/platform/PalmOS/Src/be_base.h +++ b/backends/platform/PalmOS/Src/be_base.h @@ -196,10 +196,6 @@ public: virtual int16 getOverlayHeight(); virtual int16 getOverlayWidth(); - virtual int screenToOverlayX(int x); - virtual int screenToOverlayY(int y); - virtual int overlayToScreenX(int x); - virtual int overlayToScreenY(int y); virtual OverlayColor ARGBToColor(uint8 a, uint8 r, uint8 g, uint8 b); virtual void colorToARGB(OverlayColor color, uint8 &a, uint8 &r, uint8 &g, uint8 &b); diff --git a/backends/platform/dc/dc.h b/backends/platform/dc/dc.h index fa47ed21f5..aa2f7b2f92 100644 --- a/backends/platform/dc/dc.h +++ b/backends/platform/dc/dc.h @@ -144,10 +144,6 @@ class OSystem_Dreamcast : public OSystem { // Overlay int16 getOverlayHeight(); int16 getOverlayWidth(); - int screenToOverlayX(int x); - int screenToOverlayY(int y); - int overlayToScreenX(int x); - int overlayToScreenY(int y); void showOverlay(); void hideOverlay(); void clearOverlay(); diff --git a/backends/platform/dc/display.cpp b/backends/platform/dc/display.cpp index 610fe0b108..1790785b67 100644 --- a/backends/platform/dc/display.cpp +++ b/backends/platform/dc/display.cpp @@ -645,23 +645,3 @@ int16 OSystem_Dreamcast::getOverlayWidth() return OVL_W; } -int OSystem_Dreamcast::screenToOverlayX(int x) -{ - return x - _overlay_x; -} - -int OSystem_Dreamcast::screenToOverlayY(int y) -{ - return y - _overlay_y; -} - -int OSystem_Dreamcast::overlayToScreenX(int x) -{ - return x + _overlay_x; -} - -int OSystem_Dreamcast::overlayToScreenY(int y) -{ - return y + _overlay_y; -} - diff --git a/common/system.h b/common/system.h index 34f945642c..79680c4655 100644 --- a/common/system.h +++ b/common/system.h @@ -599,11 +599,6 @@ public: */ virtual int16 getOverlayWidth() { return getWidth(); } - virtual int screenToOverlayX(int x) { return x; } - virtual int screenToOverlayY(int y) { return y; } - virtual int overlayToScreenX(int x) { return x; } - virtual int overlayToScreenY(int y) { return y; } - /** * Convert the given RGB triplet into an OverlayColor. A OverlayColor can * be 8bit, 16bit or 32bit, depending on the target system. The default |