Converted all scumm dialogs to new scheme

svn-id: r21147
This commit is contained in:
Eugene Sandulenko 2006-03-09 01:08:25 +00:00
parent f5efc8b169
commit c3f91ca288
11 changed files with 270 additions and 207 deletions

View file

@ -83,7 +83,7 @@ MessageDialog::MessageDialog(const Common::String &message, const char *defaultB
// Each line is represented by one static text item.
for (int i = 0; i < lineCount; i++) {
new StaticTextWidget(this, 10, 10 + i * kLineHeight, maxlineWidth, kLineHeight,
lines[i], kTextAlignCenter, ws);
lines[i], kTextAlignCenter);
}
// FIXME - allow for more than two buttons, and return in runModal() which one