aboutsummaryrefslogtreecommitdiff
path: root/gui/KeysDialog.cpp
diff options
context:
space:
mode:
authorLars Persson2008-12-17 21:19:46 +0000
committerLars Persson2008-12-17 21:19:46 +0000
commita56af219d9ee600de4d85210c129618176ab1265 (patch)
treee3f13f9799b35ee1d4896d2387d1ad2fb894316f /gui/KeysDialog.cpp
parentde0a2f40cd996d34d3bea3105158863da0e3a44c (diff)
downloadscummvm-rg350-a56af219d9ee600de4d85210c129618176ab1265.tar.gz
scummvm-rg350-a56af219d9ee600de4d85210c129618176ab1265.tar.bz2
scummvm-rg350-a56af219d9ee600de4d85210c129618176ab1265.zip
Added KeyConfiguration dialog to classic theme(320 and normal). Updated KeysDialog to follow xml syntax properly.
svn-id: r35416
Diffstat (limited to 'gui/KeysDialog.cpp')
-rw-r--r--gui/KeysDialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/gui/KeysDialog.cpp b/gui/KeysDialog.cpp
index 12c97b1a59..7a9256e30f 100644
--- a/gui/KeysDialog.cpp
+++ b/gui/KeysDialog.cpp
@@ -39,17 +39,17 @@ enum {
};
KeysDialog::KeysDialog(const Common::String &title)
- : GUI::Dialog("keysdialog") {
+ : GUI::Dialog("KeysDialog") {
- new ButtonWidget(this, "keysdialog_map", "Map", kMapCmd, 0);
- new ButtonWidget(this, "keysdialog_ok", "OK", kOKCmd, 0);
- new ButtonWidget(this, "keysdialog_cancel", "Cancel", kCloseCmd, 0);
+ new ButtonWidget(this, "KeysDialog.Map", "Map", kMapCmd, 0);
+ new ButtonWidget(this, "KeysDialog.Ok", "OK", kOKCmd, 0);
+ new ButtonWidget(this, "KeysDialog.Cancel", "Cancel", kCloseCmd, 0);
- _actionsList = new ListWidget(this, "keysdialog_list");
+ _actionsList = new ListWidget(this, "KeysDialog.List");
_actionsList->setNumberingMode(kListNumberingZero);
- _actionTitle = new StaticTextWidget(this, "keysdialog_action", title);
- _keyMapping = new StaticTextWidget(this, "keysdialog_mapping", "Select an action and click 'Map'");
+ _actionTitle = new StaticTextWidget(this, "KeysDialog.Action", title);
+ _keyMapping = new StaticTextWidget(this, "KeysDialog.Mapping", "Select an action and click 'Map'");
_actionTitle->setFlags(WIDGET_CLEARBG);
_keyMapping->setFlags(WIDGET_CLEARBG);