Removed yet another unused reference to OSystem

svn-id: r44708
This commit is contained in:
Filippos Karapetis 2009-10-06 17:18:44 +00:00
parent 5e9820cc6f
commit 1481c78d1a
3 changed files with 4 additions and 5 deletions

View File

@ -46,7 +46,7 @@ SciGui::SciGui(OSystem *system, EngineState *state, SciGuiScreen *screen)
_sysTicks = 0;
_palette = new SciGuiPalette(_s, this, _screen);
_gfx = new SciGuiGfx(_system, _s, _screen, _palette);
_gfx = new SciGuiGfx(_s, _screen, _palette);
_windowMgr = new SciGuiWindowMgr(_s, _gfx);
}

View File

@ -38,8 +38,8 @@
namespace Sci {
SciGuiGfx::SciGuiGfx(OSystem *system, EngineState *state, SciGuiScreen *screen, SciGuiPalette *palette)
: _system(system), _s(state), _screen(screen), _palette(palette) {
SciGuiGfx::SciGuiGfx(EngineState *state, SciGuiScreen *screen, SciGuiPalette *palette)
: _s(state), _screen(screen), _palette(palette) {
init();
}

View File

@ -41,7 +41,7 @@ class SciGuiPicture;
class SciGuiView;
class SciGuiGfx {
public:
SciGuiGfx(OSystem *system, EngineState *state, SciGuiScreen *screen, SciGuiPalette *palette);
SciGuiGfx(EngineState *state, SciGuiScreen *screen, SciGuiPalette *palette);
~SciGuiGfx();
void init(void);
@ -125,7 +125,6 @@ private:
void DrawText(const char *str, int16 from, int16 len, GuiResourceId orgFontId, int16 orgPenColor);
void ShowText(const char *str, int16 from, int16 len, GuiResourceId orgFontId, int16 orgPenColor);
OSystem *_system;
EngineState *_s;
SciGuiScreen *_screen;
SciGuiPalette *_palette;