aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorTravis Howell2003-08-20 14:01:39 +0000
committerTravis Howell2003-08-20 14:01:39 +0000
commitbe0d723e7f421a11b718d0526caf38be96ac7870 (patch)
treec3360120ff7ef2281ec5126b282b5bee977073ee /gui
parentaf17c1ac5161b261c4c8c41e360dd5d11b7859d7 (diff)
downloadscummvm-rg350-be0d723e7f421a11b718d0526caf38be96ac7870.tar.gz
scummvm-rg350-be0d723e7f421a11b718d0526caf38be96ac7870.tar.bz2
scummvm-rg350-be0d723e7f421a11b718d0526caf38be96ac7870.zip
Change Amiga palette option to Amiga version
svn-id: r9800
Diffstat (limited to 'gui')
-rw-r--r--gui/launcher.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index eb151c6df2..2246ae7ed9 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -82,7 +82,7 @@ protected:
EditTextWidget *_descriptionWidget;
EditTextWidget *_domainWidget;
CheckboxWidget *_fullscreenCheckbox;
- CheckboxWidget *_amigaPalCheckbox;
+ CheckboxWidget *_amigaCheckbox;
};
EditGameDialog::EditGameDialog(NewGui *gui, Config &config, const String &domain)
@@ -127,10 +127,10 @@ EditGameDialog::EditGameDialog(NewGui *gui, Config &config, const String &domain
// Display 'Amiga' checkbox, but only for Scumm games.
if (GID_SCUMM_FIRST <= v->id && v->id <= GID_SCUMM_LAST) {
- _amigaPalCheckbox = new CheckboxWidget(this, 15, 82, 200, 16, "Use Amiga Palette", 0, 'A');
- _amigaPalCheckbox->setState(_config.getBool("amiga", false, _domain));
+ _amigaCheckbox = new CheckboxWidget(this, 15, 82, 200, 16, "Amiga Version", 0, 'A');
+ _amigaCheckbox->setState(_config.getBool("amiga", false, _domain));
} else {
- _amigaPalCheckbox = 0;
+ _amigaCheckbox = 0;
}
// Add OK & Cancel buttons
@@ -151,8 +151,8 @@ void EditGameDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
_config.rename_domain(_domain, newDomain);
}
_config.set("description", _descriptionWidget->getLabel(), newDomain);
- if (_amigaPalCheckbox)
- _config.setBool("amiga", _amigaPalCheckbox->getState(), newDomain);
+ if (_amigaCheckbox)
+ _config.setBool("amiga", _amigaCheckbox->getState(), newDomain);
_config.setBool("fullscreen", _fullscreenCheckbox->getState(), newDomain);
setResult(1);
close();