diff options
author | Max Horn | 2010-11-28 22:04:39 +0000 |
---|---|---|
committer | Max Horn | 2010-11-28 22:04:39 +0000 |
commit | a162ff18bc88b7ad364576ae091f0becba9117e2 (patch) | |
tree | 296771d022944e6ff883c4f202f124f28af53a76 /backends/graphics/dinguxsdl | |
parent | 5a825eaae249d1a92f6252ce340d5801d84e15ca (diff) | |
download | scummvm-rg350-a162ff18bc88b7ad364576ae091f0becba9117e2.tar.gz scummvm-rg350-a162ff18bc88b7ad364576ae091f0becba9117e2.tar.bz2 scummvm-rg350-a162ff18bc88b7ad364576ae091f0becba9117e2.zip |
SDL: Various more SdlEventSource related fixes
svn-id: r54553
Diffstat (limited to 'backends/graphics/dinguxsdl')
-rw-r--r-- | backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp | 6 | ||||
-rw-r--r-- | backends/graphics/dinguxsdl/dinguxsdl-graphics.h | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp index 1b8881d5ad..fe8c742ed9 100644 --- a/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp +++ b/backends/graphics/dinguxsdl/dinguxsdl-graphics.cpp @@ -38,8 +38,8 @@ static const OSystem::GraphicsMode s_supportedGraphicsModes[] = { {0, 0, 0} }; -DINGUXSdlGraphicsManager::DINGUXSdlGraphicsManager(SdlEventSource *boss) : SdlGraphicsManager(boss) { - _evSrc = boss; +DINGUXSdlGraphicsManager::DINGUXSdlGraphicsManager(SdlEventSource *boss) + : SdlGraphicsManager(boss) { } const OSystem::GraphicsMode *DINGUXSdlGraphicsManager::getSupportedGraphicsModes() const { @@ -125,7 +125,7 @@ void DINGUXSdlGraphicsManager::initSize(uint w, uint h) { if (w > 320 || h > 240) { setGraphicsMode(GFX_HALF); setGraphicsModeIntern(); - _evSrc->toggleMouseGrab(); + _sdlEventSource->toggleMouseGrab(); } _transactionDetails.sizeChanged = true; diff --git a/backends/graphics/dinguxsdl/dinguxsdl-graphics.h b/backends/graphics/dinguxsdl/dinguxsdl-graphics.h index 5096c010e5..dd21c8fa2b 100644 --- a/backends/graphics/dinguxsdl/dinguxsdl-graphics.h +++ b/backends/graphics/dinguxsdl/dinguxsdl-graphics.h @@ -61,9 +61,6 @@ public: SdlGraphicsManager::VideoState *getVideoMode(); virtual void adjustMouseEvent(const Common::Event &event); - -protected: - SdlEventSource *_evSrc; }; #endif /* BACKENDS_GRAPHICS_SDL_DINGUX_H */ |