More transistions->transitions fixes

svn-id: r48571
This commit is contained in:
Matthew Hoops 2010-04-06 16:33:15 +00:00
parent 48a9e64338
commit 8e8b6cfa78
2 changed files with 4 additions and 4 deletions

View File

@ -78,7 +78,7 @@ enum {
MystOptionsDialog::MystOptionsDialog(MohawkEngine_Myst* vm) : GUI::OptionsDialog("", 120, 120, 360, 200), _vm(vm) {
_zipModeCheckbox = new GUI::CheckboxWidget(this, 15, 10, 300, 15, "Zip Mode Activated", kZipCmd, 'Z');
_transistionsCheckbox = new GUI::CheckboxWidget(this, 15, 30, 300, 15, "Transitions Enabled", kTransCmd, 'T');
_transitionsCheckbox = new GUI::CheckboxWidget(this, 15, 30, 300, 15, "Transitions Enabled", kTransCmd, 'T');
new GUI::ButtonWidget(this, 95, 160, 120, 25, "OK", GUI::kOKCmd, 'O');
new GUI::ButtonWidget(this, 225, 160, 120, 25, "Cancel", GUI::kCloseCmd, 'C');
@ -91,7 +91,7 @@ void MystOptionsDialog::open() {
Dialog::open();
_zipModeCheckbox->setState(_vm->_zipMode);
_transistionsCheckbox->setState(_vm->_transitionsEnabled);
_transitionsCheckbox->setState(_vm->_transitionsEnabled);
}
void MystOptionsDialog::handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data) {
@ -100,7 +100,7 @@ void MystOptionsDialog::handleCommand(GUI::CommandSender *sender, uint32 cmd, ui
_vm->_zipMode = _zipModeCheckbox->getState();
break;
case kTransCmd:
_vm->_transitionsEnabled = _transistionsCheckbox->getState();
_vm->_transitionsEnabled = _transitionsCheckbox->getState();
break;
case GUI::kCloseCmd:
close();

View File

@ -81,7 +81,7 @@ public:
private:
MohawkEngine_Myst *_vm;
GUI::CheckboxWidget *_zipModeCheckbox;
GUI::CheckboxWidget *_transistionsCheckbox;
GUI::CheckboxWidget *_transitionsCheckbox;
};
class RivenOptionsDialog : public GUI::OptionsDialog {