diff options
| author | Max Horn | 2008-11-06 14:27:13 +0000 |
|---|---|---|
| committer | Max Horn | 2008-11-06 14:27:13 +0000 |
| commit | f238a12b27ebfa9847814b9972fdb5789e484533 (patch) | |
| tree | fe14180f721904c41ec9f958198338b3ca55ef68 /backends/platform/wii | |
| parent | 38a4eaa001f89fa201125fbe1b82f6f539ecda12 (diff) | |
| download | scummvm-rg350-f238a12b27ebfa9847814b9972fdb5789e484533.tar.gz scummvm-rg350-f238a12b27ebfa9847814b9972fdb5789e484533.tar.bz2 scummvm-rg350-f238a12b27ebfa9847814b9972fdb5789e484533.zip | |
Got rid of OSystem::ARGBToColor and colorToARGB
svn-id: r34911
Diffstat (limited to 'backends/platform/wii')
| -rw-r--r-- | backends/platform/wii/osystem.h | 3 | ||||
| -rw-r--r-- | backends/platform/wii/osystem_gfx.cpp | 10 |
2 files changed, 0 insertions, 13 deletions
diff --git a/backends/platform/wii/osystem.h b/backends/platform/wii/osystem.h index 94c0fa76b3..f17644ba1b 100644 --- a/backends/platform/wii/osystem.h +++ b/backends/platform/wii/osystem.h @@ -139,9 +139,6 @@ public: virtual OverlayColor RGBToColor(uint8 r, uint8 g, uint8 b); virtual void colorToRGB(OverlayColor color, uint8 &r, uint8 &g, uint8 &b); - virtual OverlayColor ARGBToColor(uint8 a, uint8 r, uint8 g, uint8 b); - virtual void colorToARGB(OverlayColor color, uint8 &a, uint8 &r, - uint8 &g, uint8 &b); virtual bool showMouse(bool visible); diff --git a/backends/platform/wii/osystem_gfx.cpp b/backends/platform/wii/osystem_gfx.cpp index faad41d5f0..f6406a88ed 100644 --- a/backends/platform/wii/osystem_gfx.cpp +++ b/backends/platform/wii/osystem_gfx.cpp @@ -454,16 +454,6 @@ void OSystem_Wii::colorToRGB(OverlayColor color, uint8 &r, uint8 &g, uint8 &b) { b = (color & 0x1f) << 3; } -OverlayColor OSystem_Wii::ARGBToColor(uint8 a, uint8 r, uint8 g, uint8 b) { - return RGBToColor(r, g, b); -} - -void OSystem_Wii::colorToARGB(OverlayColor color, uint8 &a, uint8 &r, uint8 &g, - uint8 &b) { - a = 0xff; - colorToRGB(color, r, g, b); -} - bool OSystem_Wii::showMouse(bool visible) { bool last = _mouseVisible; _mouseVisible = visible; |
