aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEngine.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-01 12:10:33 +0200
committerEugene Sandulenko2016-06-01 13:16:12 +0200
commitc7ad2155fc9153b700d55aea08eafa03d7343fc8 (patch)
tree5fa567343b0a9269b0124caea38e5298b76ad5fe /gui/ThemeEngine.cpp
parentb590cc2d8fa0dfe0bc0df40afc95ad3f8573e779 (diff)
downloadscummvm-rg350-c7ad2155fc9153b700d55aea08eafa03d7343fc8.tar.gz
scummvm-rg350-c7ad2155fc9153b700d55aea08eafa03d7343fc8.tar.bz2
scummvm-rg350-c7ad2155fc9153b700d55aea08eafa03d7343fc8.zip
GUI: More object initialization cleanup
Diffstat (limited to 'gui/ThemeEngine.cpp')
-rw-r--r--gui/ThemeEngine.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index c2deb8c61e..aec5c79dab 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -311,6 +311,12 @@ ThemeEngine::ThemeEngine(Common::String id, GraphicsMode mode) :
_themeArchive = 0;
_initOk = false;
+ _cursorHotspotX = _cursorHotspotY = 0;
+ _cursorWidth = _cursorHeight = 0;
+ _cursorPalSize = 0;
+
+ _needPaletteUpdates = false;
+
// We prefer files in archive bundles over the common search paths.
_themeFiles.add("default", &SearchMan, 0, false);
}