mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-02 23:26:44 +00:00
More transistions->transitions fixes
svn-id: r48571
This commit is contained in:
parent
48a9e64338
commit
8e8b6cfa78
@ -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();
|
||||
|
@ -81,7 +81,7 @@ public:
|
||||
private:
|
||||
MohawkEngine_Myst *_vm;
|
||||
GUI::CheckboxWidget *_zipModeCheckbox;
|
||||
GUI::CheckboxWidget *_transistionsCheckbox;
|
||||
GUI::CheckboxWidget *_transitionsCheckbox;
|
||||
};
|
||||
|
||||
class RivenOptionsDialog : public GUI::OptionsDialog {
|
||||
|
Loading…
Reference in New Issue
Block a user