aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2006-01-27 23:13:51 +0000
committerJohannes Schickel2006-01-27 23:13:51 +0000
commit0a40639af2b9f531d6415ad59fa6879794f7c04e (patch)
tree591eac3f9b11de3f925ec587f127be519751dc08
parent446689e595ac7d0da7b33330734465b1b22551c4 (diff)
downloadscummvm-rg350-0a40639af2b9f531d6415ad59fa6879794f7c04e.tar.gz
scummvm-rg350-0a40639af2b9f531d6415ad59fa6879794f7c04e.tar.bz2
scummvm-rg350-0a40639af2b9f531d6415ad59fa6879794f7c04e.zip
This should fix bug # 1416862 (new theme: changing overlay size).
svn-id: r20253
-rw-r--r--gui/ThemeNew.cpp2
-rw-r--r--gui/theme.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/gui/ThemeNew.cpp b/gui/ThemeNew.cpp
index 679d6c79f6..b5e043221b 100644
--- a/gui/ThemeNew.cpp
+++ b/gui/ThemeNew.cpp
@@ -224,6 +224,8 @@ void ThemeNew::refresh() {
}
void ThemeNew::enable() {
+ init();
+ resetDrawArea();
_system->showOverlay();
clearAll();
}
diff --git a/gui/theme.cpp b/gui/theme.cpp
index e7fbdc6808..eacda895b9 100644
--- a/gui/theme.cpp
+++ b/gui/theme.cpp
@@ -77,6 +77,8 @@ void ThemeClassic::refresh() {
}
void ThemeClassic::enable() {
+ init();
+ resetDrawArea();
_system->showOverlay();
clearAll();
}