aboutsummaryrefslogtreecommitdiff
path: root/common/system.cpp
diff options
context:
space:
mode:
authorMax Horn2008-11-06 15:02:50 +0000
committerMax Horn2008-11-06 15:02:50 +0000
commitedf9f249260b1fd4364f6727fa622991e81e8cf3 (patch)
tree2b034d5daf7b69212957d8d51ab839974f51f2c5 /common/system.cpp
parentf238a12b27ebfa9847814b9972fdb5789e484533 (diff)
downloadscummvm-rg350-edf9f249260b1fd4364f6727fa622991e81e8cf3.tar.gz
scummvm-rg350-edf9f249260b1fd4364f6727fa622991e81e8cf3.tar.bz2
scummvm-rg350-edf9f249260b1fd4364f6727fa622991e81e8cf3.zip
Got rid of OSystem::colorToRGB and RGBToColor; added implementations for OSystem::getOverlayFormat to several ports (pending testing by the porters)
svn-id: r34912
Diffstat (limited to 'common/system.cpp')
-rw-r--r--common/system.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/common/system.cpp b/common/system.cpp
index 1c9f0cd352..e7dee4ced6 100644
--- a/common/system.cpp
+++ b/common/system.cpp
@@ -61,14 +61,6 @@ bool OSystem::setGraphicsMode(const char *name) {
return false;
}
-OverlayColor OSystem::RGBToColor(uint8 r, uint8 g, uint8 b) {
- return Graphics::RGBToColor<Graphics::ColorMasks<565> >(r, g, b);
-}
-
-void OSystem::colorToRGB(OverlayColor color, uint8 &r, uint8 &g, uint8 &b) {
- Graphics::colorToRGB<Graphics::ColorMasks<565> >(color, r, g, b);
-}
-
void OSystem::displayMessageOnOSD(const char *msg) {
// Display the message for 1.5 seconds
GUI::TimedMessageDialog dialog(msg, 1500);