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 /common/system.cpp | |
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 'common/system.cpp')
-rw-r--r-- | common/system.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/common/system.cpp b/common/system.cpp index dc692b2e9e..1c9f0cd352 100644 --- a/common/system.cpp +++ b/common/system.cpp @@ -69,15 +69,6 @@ void OSystem::colorToRGB(OverlayColor color, uint8 &r, uint8 &g, uint8 &b) { Graphics::colorToRGB<Graphics::ColorMasks<565> >(color, r, g, b); } -OverlayColor OSystem::ARGBToColor(uint8 a, uint8 r, uint8 g, uint8 b) { - return RGBToColor(r, g, b); -} - -void OSystem::colorToARGB(OverlayColor color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) { - colorToRGB(color, r, g, b); - a = 255; -} - void OSystem::displayMessageOnOSD(const char *msg) { // Display the message for 1.5 seconds GUI::TimedMessageDialog dialog(msg, 1500); |