aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gui/gui_gfx.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-10-04 11:14:38 +0000
committerFilippos Karapetis2009-10-04 11:14:38 +0000
commit837cde96f37fb61c16386442aad9feb552b96573 (patch)
tree1e086afd0a969fde6cac1d0ac7f73a5ca843a09e /engines/sci/gui/gui_gfx.cpp
parenta139ddd8404655d53bb18a456732bbd5276212f1 (diff)
downloadscummvm-rg350-837cde96f37fb61c16386442aad9feb552b96573.tar.gz
scummvm-rg350-837cde96f37fb61c16386442aad9feb552b96573.tar.bz2
scummvm-rg350-837cde96f37fb61c16386442aad9feb552b96573.zip
Removed unused references to OSystem
svn-id: r44598
Diffstat (limited to 'engines/sci/gui/gui_gfx.cpp')
-rw-r--r--engines/sci/gui/gui_gfx.cpp6
1 files changed, 3 insertions, 3 deletions
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);