mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-30 21:15:33 +00:00
SaveGameDialog: use ComboBox accept event, not changePosition (improves keyboard navigation)
This commit is contained in:
parent
f4b5662562
commit
e9e7e96c5f
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ namespace MWGui
|
||||||
mOkButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SaveGameDialog::onOkButtonClicked);
|
mOkButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SaveGameDialog::onOkButtonClicked);
|
||||||
mCancelButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SaveGameDialog::onCancelButtonClicked);
|
mCancelButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SaveGameDialog::onCancelButtonClicked);
|
||||||
mDeleteButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SaveGameDialog::onDeleteButtonClicked);
|
mDeleteButton->eventMouseButtonClick += MyGUI::newDelegate(this, &SaveGameDialog::onDeleteButtonClicked);
|
||||||
mCharacterSelection->eventComboChangePosition += MyGUI::newDelegate(this, &SaveGameDialog::onCharacterSelected);
|
mCharacterSelection->eventComboAccept += MyGUI::newDelegate(this, &SaveGameDialog::onCharacterSelected);
|
||||||
mSaveList->eventListChangePosition += MyGUI::newDelegate(this, &SaveGameDialog::onSlotSelected);
|
mSaveList->eventListChangePosition += MyGUI::newDelegate(this, &SaveGameDialog::onSlotSelected);
|
||||||
mSaveList->eventListMouseItemActivate += MyGUI::newDelegate(this, &SaveGameDialog::onSlotMouseClick);
|
mSaveList->eventListMouseItemActivate += MyGUI::newDelegate(this, &SaveGameDialog::onSlotMouseClick);
|
||||||
mSaveList->eventListSelectAccept += MyGUI::newDelegate(this, &SaveGameDialog::onSlotActivated);
|
mSaveList->eventListSelectAccept += MyGUI::newDelegate(this, &SaveGameDialog::onSlotActivated);
|
||||||
|
|
|
@ -113,7 +113,7 @@
|
||||||
<State name="disabled" colour="0.70 0.57 0.33" shift="0"/>
|
<State name="disabled" colour="0.70 0.57 0.33" shift="0"/>
|
||||||
<State name="normal" colour="0.70 0.57 0.33" shift="0"/>
|
<State name="normal" colour="0.70 0.57 0.33" shift="0"/>
|
||||||
<State name="highlighted" colour="0.85 0.76 0.60" shift="0"/>
|
<State name="highlighted" colour="0.85 0.76 0.60" shift="0"/>
|
||||||
<State name="pushed" colour="0.33 0.38 0.67" shift="0"/>
|
<State name="pushed" colour="1 1 1" shift="0"/>
|
||||||
<State name="disabled_checked" colour="0.33 0.38 0.67" shift="0"/>
|
<State name="disabled_checked" colour="0.33 0.38 0.67" shift="0"/>
|
||||||
<State name="normal_checked" colour="0.33 0.38 0.67" shift="0"/>
|
<State name="normal_checked" colour="0.33 0.38 0.67" shift="0"/>
|
||||||
<State name="highlighted_checked" colour="0.33 0.38 0.67" shift="0"/>
|
<State name="highlighted_checked" colour="0.33 0.38 0.67" shift="0"/>
|
||||||
|
|
Loading…
Reference in a new issue