aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/macosx
diff options
context:
space:
mode:
authorJohannes Schickel2015-02-16 01:24:42 +0100
committerJohannes Schickel2015-02-16 01:25:22 +0100
commit3f22c12c56572d7c0b46e734179255062f81f45c (patch)
tree5a070061aa6aef0c1ddf8ce8d120bf45c163a811 /backends/platform/sdl/macosx
parent627d766325e1d435816648f85dbf9c007269b3f2 (diff)
downloadscummvm-rg350-3f22c12c56572d7c0b46e734179255062f81f45c.tar.gz
scummvm-rg350-3f22c12c56572d7c0b46e734179255062f81f45c.tar.bz2
scummvm-rg350-3f22c12c56572d7c0b46e734179255062f81f45c.zip
SDL: Handle icon setup in SdlWindow.
Diffstat (limited to 'backends/platform/sdl/macosx')
-rw-r--r--backends/platform/sdl/macosx/macosx.cpp5
-rw-r--r--backends/platform/sdl/macosx/macosx.h1
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/platform/sdl/macosx/macosx.cpp b/backends/platform/sdl/macosx/macosx.cpp
index c48076c42f..fa9f3ad16c 100644
--- a/backends/platform/sdl/macosx/macosx.cpp
+++ b/backends/platform/sdl/macosx/macosx.cpp
@@ -47,6 +47,9 @@ OSystem_MacOSX::OSystem_MacOSX()
}
void OSystem_MacOSX::init() {
+ // Use an iconless window on OS X, as we use a nicer external icon there.
+ _window = new SdlIconlessWindow();
+
#if defined(USE_TASKBAR)
// Initialize taskbar manager
_taskbarManager = new MacOSXTaskbarManager();
@@ -101,8 +104,6 @@ void OSystem_MacOSX::addSysArchivesToSearchSet(Common::SearchSet &s, int priorit
}
}
-void OSystem_MacOSX::setupIcon() {
- // Don't set icon on OS X, as we use a nicer external icon there.
}
bool OSystem_MacOSX::hasFeature(Feature f) {
diff --git a/backends/platform/sdl/macosx/macosx.h b/backends/platform/sdl/macosx/macosx.h
index 50cef60353..c8b4beaeec 100644
--- a/backends/platform/sdl/macosx/macosx.h
+++ b/backends/platform/sdl/macosx/macosx.h
@@ -38,7 +38,6 @@ public:
virtual void init();
virtual void initBackend();
virtual void addSysArchivesToSearchSet(Common::SearchSet &s, int priority = 0);
- virtual void setupIcon();
};
#endif