aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorEugene Sandulenko2014-05-29 19:42:34 +0300
committerAlexander Tkachev2016-08-24 16:07:55 +0600
commit1359255ea83f596fbce3332d7d54f9acbc4daf4d (patch)
tree39beae58ab7dce69fca13fb96c991ff08a018e62 /gui
parent94bc75ae464dc37d2a4dee0ac6fb69e75b265413 (diff)
downloadscummvm-rg350-1359255ea83f596fbce3332d7d54f9acbc4daf4d.tar.gz
scummvm-rg350-1359255ea83f596fbce3332d7d54f9acbc4daf4d.tar.bz2
scummvm-rg350-1359255ea83f596fbce3332d7d54f9acbc4daf4d.zip
GUI: Added empty dialog background
Diffstat (limited to 'gui')
-rw-r--r--gui/ThemeEngine.cpp2
-rw-r--r--gui/ThemeEngine.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp
index 57c2e5d870..ee860ffbf9 100644
--- a/gui/ThemeEngine.cpp
+++ b/gui/ThemeEngine.cpp
@@ -1416,6 +1416,8 @@ void ThemeEngine::drawDialogBackground(const Common::Rect &r, DialogBackground b
case kDialogBackgroundDefault:
queueDD(kDDDefaultBackground, r);
break;
+ case kDialogBackgroundNone:
+ break;
}
}
diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h
index 625bab7a1b..42e5dbfeca 100644
--- a/gui/ThemeEngine.h
+++ b/gui/ThemeEngine.h
@@ -171,7 +171,8 @@ public:
kDialogBackgroundSpecial,
kDialogBackgroundPlain,
kDialogBackgroundTooltip,
- kDialogBackgroundDefault
+ kDialogBackgroundDefault,
+ kDialogBackgroundNone
};
/// State of the widget to be drawn