From f238a12b27ebfa9847814b9972fdb5789e484533 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 6 Nov 2008 14:27:13 +0000 Subject: Got rid of OSystem::ARGBToColor and colorToARGB svn-id: r34911 --- common/system.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'common/system.cpp') 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 >(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); -- cgit v1.2.3