From 837cde96f37fb61c16386442aad9feb552b96573 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 4 Oct 2009 11:14:38 +0000 Subject: Removed unused references to OSystem svn-id: r44598 --- engines/sci/gui/gui_gfx.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines/sci/gui/gui_gfx.cpp') diff --git a/engines/sci/gui/gui_gfx.cpp b/engines/sci/gui/gui_gfx.cpp index fe1be61d80..fcac407a91 100644 --- a/engines/sci/gui/gui_gfx.cpp +++ b/engines/sci/gui/gui_gfx.cpp @@ -344,14 +344,14 @@ sciResourceId SciGUIgfx::GetFontId() { SciGUIfont *SciGUIgfx::GetFont() { if ((_font == NULL) || (_font->getResourceId() != _curPort->fontId)) { - _font = new SciGUIfont(_system, _s, _screen, _curPort->fontId); + _font = new SciGUIfont(_s, _screen, _curPort->fontId); } return _font; } void SciGUIgfx::SetFont(sciResourceId fontId) { if ((_font == NULL) || (_font->getResourceId() != fontId)) { - _font = new SciGUIfont(_system, _s, _screen, fontId); + _font = new SciGUIfont(_s, _screen, fontId); } _curPort->fontId = fontId; _curPort->fontHeight = _font->getHeight(); @@ -1209,7 +1209,7 @@ void SciGUIgfx::Pic_Fill(int16 x, int16 y, byte color, byte prio, byte control) void SciGUIgfx::drawPicture(sciResourceId pictureId, uint16 style, bool addToFlag, sciResourceId paletteId) { SciGUIpicture *picture; - picture = new SciGUIpicture(_system, _s, this, _screen, pictureId); + picture = new SciGUIpicture(_s, this, _screen, pictureId); // do we add to a picture? if not -> clear screen if (!addToFlag) { ClearScreen(0); -- cgit v1.2.3