mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-13 10:43:06 +00:00
Fix L1 and R1 buttons not disappearing
This commit is contained in:
parent
e2e8a02a26
commit
3767b60512
4 changed files with 8 additions and 0 deletions
|
|
@ -135,9 +135,11 @@ namespace MWGui
|
|||
// Show L1 and R1 buttons next to tabs
|
||||
MyGUI::Widget* image;
|
||||
getWidget(image, "BtnL1Image");
|
||||
image->setVisible(true);
|
||||
image->setUserString("Hidden", "false");
|
||||
|
||||
getWidget(image, "BtnR1Image");
|
||||
image->setVisible(true);
|
||||
image->setUserString("Hidden", "false");
|
||||
|
||||
mControllerButtons.r3 = "#{sInfo}";
|
||||
|
|
|
|||
|
|
@ -174,9 +174,11 @@ namespace MWGui
|
|||
// Show L1 and R1 buttons next to tabs
|
||||
MyGUI::Widget* image;
|
||||
getWidget(image, "BtnL1Image");
|
||||
image->setVisible(true);
|
||||
image->setUserString("Hidden", "false");
|
||||
|
||||
getWidget(image, "BtnR1Image");
|
||||
image->setVisible(true);
|
||||
image->setUserString("Hidden", "false");
|
||||
|
||||
mControllerButtons.a = "#{sBuy}";
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
<Property key="ImageTexture" value="textures\omw_steam_button_l1.dds"/>
|
||||
<Property key="Colour" value="#ccb589"/>
|
||||
<Property key="Alpha" value="0.7"/>
|
||||
<Property key="Visible" value="false"/>
|
||||
<UserString key="Hidden" value="true"/>
|
||||
</Widget>
|
||||
<Widget type="AutoSizedButton" skin="MW_Button" position="0 0 60 24" name="AllButton">
|
||||
|
|
@ -60,6 +61,7 @@
|
|||
<Property key="ImageTexture" value="textures\omw_steam_button_r1.dds"/>
|
||||
<Property key="Colour" value="#ccb589"/>
|
||||
<Property key="Alpha" value="0.7"/>
|
||||
<Property key="Visible" value="false"/>
|
||||
<UserString key="Hidden" value="true"/>
|
||||
</Widget>
|
||||
<!-- Search box-->
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
<Property key="ImageTexture" value="textures\omw_steam_button_l1.dds"/>
|
||||
<Property key="Colour" value="#ccb589"/>
|
||||
<Property key="Alpha" value="0.7"/>
|
||||
<Property key="Visible" value="false"/>
|
||||
<UserString key="Hidden" value="true"/>
|
||||
</Widget>
|
||||
<Widget type="AutoSizedButton" skin="MW_Button" name="AllButton">
|
||||
|
|
@ -37,6 +38,7 @@
|
|||
<Property key="ImageTexture" value="textures\omw_steam_button_r1.dds"/>
|
||||
<Property key="Colour" value="#ccb589"/>
|
||||
<Property key="Alpha" value="0.7"/>
|
||||
<Property key="Visible" value="false"/>
|
||||
<UserString key="Hidden" value="true"/>
|
||||
</Widget>
|
||||
<!-- Search box-->
|
||||
|
|
|
|||
Loading…
Reference in a new issue