aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2006-03-24 01:24:26 +0000
committerEugene Sandulenko2006-03-24 01:24:26 +0000
commit819033b6499cf2cbfacb167d8e7317bfde86ad94 (patch)
tree97921886f743a7cf0f4506c5520fd4a4ff7f2ba8 /engines
parent5d1b4d8f78352f4bfb0073d0ab53647377c98f96 (diff)
downloadscummvm-rg350-819033b6499cf2cbfacb167d8e7317bfde86ad94.tar.gz
scummvm-rg350-819033b6499cf2cbfacb167d8e7317bfde86ad94.tar.bz2
scummvm-rg350-819033b6499cf2cbfacb167d8e7317bfde86ad94.zip
o Move built-in evaluator constants to AssocArray to speed it up
o Introduced .align text widget property o Moved all text widgets to use it and populated theme config file svn-id: r21420
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/dialogs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/dialogs.cpp b/engines/scumm/dialogs.cpp
index 9a831720a8..09f383cec3 100644
--- a/engines/scumm/dialogs.cpp
+++ b/engines/scumm/dialogs.cpp
@@ -357,7 +357,7 @@ SaveLoadChooserEx::SaveLoadChooserEx(const String &title, const String &buttonLa
_drawingHints |= GUI::THEME_HINT_MAIN_DIALOG;
- new StaticTextWidget(this, "scummsaveload_title", title, kTextAlignCenter);
+ new StaticTextWidget(this, "scummsaveload_title", title);
// Add choice list
_list = new GUI::ListWidget(this, "scummsaveload_list");
@@ -737,7 +737,7 @@ HelpDialog::HelpDialog(ScummEngine *scumm)
int lineHeight = g_gui.getFontHeight();
- _title = new StaticTextWidget(this, "scummhelp_title", "", kTextAlignCenter);
+ _title = new StaticTextWidget(this, "scummhelp_title", "");
int keyX = g_gui.evaluator()->getVar("scummhelp_key.x");
int keyYoff = g_gui.evaluator()->getVar("scummhelp_key.yoffset");
int keyW = g_gui.evaluator()->getVar("scummhelp_key.w");