aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/ThemeEngine.cpp6
-rw-r--r--gui/ThemeEngine.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 9ddf23549d..3b6791d281 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -195,7 +195,7 @@ void ThemeEngine::unloadTheme() {
}
}
_bitmaps.clear();
-
+
delete _themeArchive;
_themeArchive = 0;
@@ -395,7 +395,7 @@ bool ThemeEngine::addBitmap(const Common::String &filename) {
surf->free();
delete surf;
}
-
+
// Now try to load the bitmap via the ImageDecoder class.
surf = Graphics::ImageDecoder::loadFile(filename);
if (!surf && _themeArchive) {
@@ -408,7 +408,7 @@ bool ThemeEngine::addBitmap(const Common::String &filename) {
// Store the surface into our hashmap (attention, may store NULL entries!)
_bitmaps[filename] = surf;
-
+
return surf != 0;
}
diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h
index 56a288f9d4..b96cc47d7e 100644
--- a/gui/ThemeEngine.h
+++ b/gui/ThemeEngine.h
@@ -119,7 +119,7 @@ protected:
bool buffer; //!< Sets whether this item is buffered on the backbuffer or drawn directly to the screen.
DrawData parent; //!< Parent DrawData item, for items that overlay. E.g. kButtonIdle -> kButtonHover
};
-
+
static const DrawDataInfo kDrawDataDefaults[];
@@ -139,7 +139,7 @@ protected:
TextData id;
const char *name;
};
-
+
static const TextDataInfo kTextDataDefaults[];
public: