aboutsummaryrefslogtreecommitdiff
path: root/gui/ThemeEval.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ThemeEval.cpp')
-rw-r--r--gui/ThemeEval.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ThemeEval.cpp b/gui/ThemeEval.cpp
index 66b5db5fb7..3eede27cca 100644
--- a/gui/ThemeEval.cpp
+++ b/gui/ThemeEval.cpp
@@ -130,13 +130,13 @@ void ThemeEval::addDialog(const Common::String &name, const Common::String &over
setVar(var + ".Enabled", enabled ? 1 : 0);
}
-void ThemeEval::addLayout(ThemeLayout::LayoutType type, int spacing, bool center) {
+void ThemeEval::addLayout(ThemeLayout::LayoutType type, int spacing, ThemeLayout::ItemAlign itemAlign) {
ThemeLayout *layout = 0;
if (spacing == -1)
spacing = getVar("Globals.Layout.Spacing", 4);
- layout = new ThemeLayoutStacked(_curLayout.top(), type, spacing, center);
+ layout = new ThemeLayoutStacked(_curLayout.top(), type, spacing, itemAlign);
assert(layout);