aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2002-12-14 01:49:19 +0000
committerMax Horn2002-12-14 01:49:19 +0000
commit7f46dc6690b652edcf6fccc4870928de9851f11e (patch)
tree771964742dc4e118205ab0569ce9cb202064ee84
parent7e90ae01022bf1b1bb66d1bc5e7b9159c3d70133 (diff)
downloadscummvm-rg350-7f46dc6690b652edcf6fccc4870928de9851f11e.tar.gz
scummvm-rg350-7f46dc6690b652edcf6fccc4870928de9851f11e.tar.bz2
scummvm-rg350-7f46dc6690b652edcf6fccc4870928de9851f11e.zip
cleanup
svn-id: r5947
-rw-r--r--gui/launcher.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index d5710304b2..1effb014af 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -83,7 +83,7 @@ protected:
EditTextWidget *_descriptionWidget;
EditTextWidget *_domainWidget;
CheckboxWidget *_fullscreenCheckbox;
- CheckboxWidget *_AmigaPalCheckbox;
+ CheckboxWidget *_amigaPalCheckbox;
};
EditGameDialog::EditGameDialog(NewGui *gui, Config &config, const String &domain)
@@ -122,7 +122,7 @@ EditGameDialog::EditGameDialog(NewGui *gui, Config &config, const String &domain
// TODO - insert more widgets here; see comments before the class
_fullscreenCheckbox = new CheckboxWidget(this, 15, 62, 200, 16, "Use Fullscreen Mode", 0, 'F');
- _AmigaPalCheckbox = new CheckboxWidget(this, 15, 82, 200, 16, "Use Amiga Palette", 0, 'A');
+ _amigaPalCheckbox = new CheckboxWidget(this, 15, 82, 200, 16, "Use Amiga Palette", 0, 'A');
// Add OK & Cancel buttons
addButton(_w-2*(kButtonWidth+10), _h-24, "Cancel", kCloseCmd, 0);
@@ -130,7 +130,7 @@ EditGameDialog::EditGameDialog(NewGui *gui, Config &config, const String &domain
// Load in settings for the checkboxs
_fullscreenCheckbox->setState(_config.getBool("fullscreen", false, _domain));
- _AmigaPalCheckbox->setState(_config.getBool("amiga", false, _domain));
+ _amigaPalCheckbox->setState(_config.getBool("amiga", false, _domain)); // TODO - only show this checkbox if this is a Scumm game?
}
void EditGameDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data)
@@ -147,7 +147,7 @@ void EditGameDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat
_config.rename_domain(_domain, newDomain);
}
_config.set("description", _descriptionWidget->getLabel(), newDomain);
- _config.setBool("amiga", _AmigaPalCheckbox->getState(), newDomain);
+ _config.setBool("amiga", _amigaPalCheckbox->getState(), newDomain);
_config.setBool("fullscreen", _fullscreenCheckbox->getState(), newDomain);
setResult(1);
close();