mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-05 01:43:11 +00:00
Change 'Back' to 'Cancel' in button prompts to match windows
This commit is contained in:
parent
51f9ce890e
commit
21286aa376
16 changed files with 31 additions and 29 deletions
|
|
@ -95,7 +95,7 @@ namespace MWGui
|
|||
if (Settings::gui().mControllerMenus)
|
||||
{
|
||||
mControllerButtons.a = "#{sSelect}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
mControllerButtons.x = "#{sCreate}";
|
||||
mControllerButtons.y = "#{sMagicEffects}";
|
||||
mControllerButtons.r3 = "#{sInfo}";
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ namespace MWGui
|
|||
setCoord(200, 0, 600, 300);
|
||||
|
||||
mControllerButtons.a = "#{sTake}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sClose}";
|
||||
mControllerButtons.x = "#{sTakeAll}";
|
||||
mControllerButtons.r3 = "#{sInfo}";
|
||||
mControllerButtons.l2 = "#{sInventory}";
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ namespace MWGui
|
|||
|
||||
mDisableGamepadCursor = Settings::gui().mControllerMenus;
|
||||
mControllerButtons.a = "#{sSelect}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
}
|
||||
|
||||
void PersuasionDialog::adjustAction(MyGUI::Widget* action, int& totalHeight)
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ namespace MWGui
|
|||
mName->eventEditSelectAccept += MyGUI::newDelegate(this, &EnchantingDialog::onAccept);
|
||||
|
||||
mControllerButtons.a = "#{sSelect}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
mControllerButtons.y = "Cast Type";
|
||||
mControllerButtons.l1 = "#{sItem}";
|
||||
mControllerButtons.r1 = "#{sSoulGem}";
|
||||
|
|
|
|||
|
|
@ -132,7 +132,6 @@ namespace MWGui
|
|||
|
||||
if (Settings::gui().mControllerMenus)
|
||||
{
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.r3 = "#{sInfo}";
|
||||
}
|
||||
|
||||
|
|
@ -888,12 +887,14 @@ namespace MWGui
|
|||
case MWGui::GM_Companion:
|
||||
case MWGui::GM_Container:
|
||||
mControllerButtons.a = "Put";
|
||||
mControllerButtons.b = "#{sClose}";
|
||||
mControllerButtons.x = "#{sTakeAll}";
|
||||
mControllerButtons.y = "";
|
||||
mControllerButtons.r2 = "#{sContainer}";
|
||||
break;
|
||||
case MWGui::GM_Barter:
|
||||
mControllerButtons.a = "#{sSell}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
mControllerButtons.x = "#{sOffer}";
|
||||
mControllerButtons.y = "";
|
||||
mControllerButtons.r2 = "#{sBarter}";
|
||||
|
|
@ -901,6 +902,7 @@ namespace MWGui
|
|||
case MWGui::GM_Inventory:
|
||||
default:
|
||||
mControllerButtons.a = "#{sEquip}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.x = "#{sDrop}";
|
||||
mControllerButtons.y = "#{sUnequip}";
|
||||
mControllerButtons.r2 = "";
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ namespace MWGui
|
|||
center();
|
||||
|
||||
mControllerButtons.a = "#{sSelect}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
mControllerButtons.r3 = "#{sInfo}";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ namespace MWGui
|
|||
{
|
||||
mDisableGamepadCursor = true;
|
||||
mControllerButtons.a = "#{sRepair}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ namespace MWGui
|
|||
mGemIcon->eventMouseButtonClick += MyGUI::newDelegate(this, &Recharge::onSelectItem);
|
||||
|
||||
mControllerButtons.a = "Recharge";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
mControllerButtons.y = "#{sSoulGem}";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ namespace MWGui
|
|||
mToolIcon->eventMouseButtonClick += MyGUI::newDelegate(this, &Repair::onSelectItem);
|
||||
|
||||
mControllerButtons.a = "#{sRepair}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
mControllerButtons.y = "Tool";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ namespace MWGui
|
|||
mDeleteButton->setNeedKeyFocus(false);
|
||||
|
||||
mControllerButtons.a = "#{sSelect}";
|
||||
mControllerButtons.b = "#{sClose}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
}
|
||||
|
||||
void SaveGameDialog::onSlotActivated(MyGUI::ListBox* sender, size_t pos)
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ namespace MWGui
|
|||
{
|
||||
mDisableGamepadCursor = true;
|
||||
mControllerButtons.a = "#{sBuy}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ namespace MWGui
|
|||
if (Settings::gui().mControllerMenus)
|
||||
{
|
||||
mControllerButtons.a = "#{sSelect}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
mControllerButtons.x = "#{sOk}";
|
||||
}
|
||||
}
|
||||
|
|
@ -598,7 +598,7 @@ namespace MWGui
|
|||
if (Settings::gui().mControllerMenus)
|
||||
{
|
||||
mControllerButtons.a = "#{sSelect}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
mControllerButtons.x = "#{sBuy}";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ namespace MWGui
|
|||
setCoord(400, 0, 400, 300);
|
||||
|
||||
mControllerButtons.a = "#{sBuy}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
mControllerButtons.x = "#{sOffer}";
|
||||
mControllerButtons.r3 = "#{sInfo}";
|
||||
mControllerButtons.l2 = "#{sInventory}";
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ namespace MWGui
|
|||
{
|
||||
mDisableGamepadCursor = true;
|
||||
mControllerButtons.a = "#{sBuy}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ namespace MWGui
|
|||
{
|
||||
mDisableGamepadCursor = true;
|
||||
mControllerButtons.a = "#{sTravel}";
|
||||
mControllerButtons.b = "#{sBack}";
|
||||
mControllerButtons.b = "#{sCancel}";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -101,19 +101,6 @@
|
|||
<Property key="ReadOnly" value="true"/>
|
||||
</Widget>
|
||||
|
||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnXImage">
|
||||
<Property key="ImageTexture" value="textures\omw_steam_button_x.dds"/>
|
||||
<Property key="Colour" value="#ccb589"/>
|
||||
<Property key="Alpha" value="0.7"/>
|
||||
</Widget>
|
||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnXText">
|
||||
<Property key="Caption" value=""/>
|
||||
<Property key="TextAlign" value="Left"/>
|
||||
<Property key="TextShadow" value="true"/>
|
||||
<Property key="TextShadowColour" value="0 0 0"/>
|
||||
<Property key="ReadOnly" value="true"/>
|
||||
</Widget>
|
||||
|
||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnYImage">
|
||||
<Property key="ImageTexture" value="textures\omw_steam_button_y.dds"/>
|
||||
<Property key="Colour" value="#ccb589"/>
|
||||
|
|
@ -179,6 +166,19 @@
|
|||
<Property key="ReadOnly" value="true"/>
|
||||
</Widget>
|
||||
|
||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnXImage">
|
||||
<Property key="ImageTexture" value="textures\omw_steam_button_x.dds"/>
|
||||
<Property key="Colour" value="#ccb589"/>
|
||||
<Property key="Alpha" value="0.7"/>
|
||||
</Widget>
|
||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnXText">
|
||||
<Property key="Caption" value=""/>
|
||||
<Property key="TextAlign" value="Left"/>
|
||||
<Property key="TextShadow" value="true"/>
|
||||
<Property key="TextShadowColour" value="0 0 0"/>
|
||||
<Property key="ReadOnly" value="true"/>
|
||||
</Widget>
|
||||
|
||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnBImage">
|
||||
<Property key="ImageTexture" value="textures\omw_steam_button_b.dds"/>
|
||||
<Property key="Colour" value="#ccb589"/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue