mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-30 03:34:37 +00:00
Move controller button overlay padding into layout file
This commit is contained in:
parent
b0bdd68e7c
commit
ef50578a62
3 changed files with 221 additions and 184 deletions
|
|
@ -31,8 +31,9 @@ namespace MWGui
|
||||||
|
|
||||||
for (size_t i = 0; i < mButtons.size(); i++)
|
for (size_t i = 0; i < mButtons.size(); i++)
|
||||||
{
|
{
|
||||||
getWidget(mButtons[i].mImage, "Btn" + mButtons[i].mName + "Image");
|
getWidget(mButtons[i].mImage, "Btn" + mButtons[i].mLayoutName + "Image");
|
||||||
getWidget(mButtons[i].mText, "Btn" + mButtons[i].mName + "Text");
|
getWidget(mButtons[i].mText, "Btn" + mButtons[i].mLayoutName + "Text");
|
||||||
|
getWidget(mButtons[i].mHBox, "Btn" + mButtons[i].mLayoutName);
|
||||||
setIcon(mButtons[i].mImage, mButtons[i].mImagePath);
|
setIcon(mButtons[i].mImage, mButtons[i].mImagePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -77,27 +78,17 @@ namespace MWGui
|
||||||
|
|
||||||
int ControllerButtonsOverlay::updateButton(ControllerButtonsOverlay::Button button, const std::string& buttonStr)
|
int ControllerButtonsOverlay::updateButton(ControllerButtonsOverlay::Button button, const std::string& buttonStr)
|
||||||
{
|
{
|
||||||
MyGUI::TextBox* text = mButtons[button].mText;
|
|
||||||
MyGUI::ImageBox* image = mButtons[button].mImage;
|
|
||||||
|
|
||||||
if (buttonStr.empty())
|
if (buttonStr.empty())
|
||||||
{
|
{
|
||||||
image->setVisible(false);
|
mButtons[button].mHBox->setVisible(false);
|
||||||
image->setUserString("Hidden", "true");
|
mButtons[button].mHBox->setUserString("Hidden", "true");
|
||||||
|
|
||||||
text->setVisible(false);
|
|
||||||
text->setUserString("Hidden", "true");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
image->setVisible(true);
|
mButtons[button].mHBox->setVisible(true);
|
||||||
image->setUserString("Hidden", "false");
|
mButtons[button].mHBox->setUserString("Hidden", "false");
|
||||||
|
mButtons[button].mText->setCaptionWithReplacing(buttonStr);
|
||||||
text->setCaptionWithReplacing(buttonStr);
|
|
||||||
text->setVisible(true);
|
|
||||||
text->setUserString("Hidden", "false");
|
|
||||||
text->setSize(text->getTextSize().width + 16, 48);
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -41,10 +41,11 @@ namespace MWGui
|
||||||
|
|
||||||
struct ButtonDetails
|
struct ButtonDetails
|
||||||
{
|
{
|
||||||
std::string mName;
|
std::string mLayoutName;
|
||||||
std::string mImagePath;
|
std::string mImagePath;
|
||||||
MyGUI::ImageBox* mImage = nullptr;
|
MyGUI::ImageBox* mImage = nullptr;
|
||||||
MyGUI::TextBox* mText = nullptr;
|
MyGUI::TextBox* mText = nullptr;
|
||||||
|
Gui::HBox* mHBox = nullptr;
|
||||||
};
|
};
|
||||||
|
|
||||||
std::array<ButtonDetails, Button::Button_Max> mButtons;
|
std::array<ButtonDetails, Button::Button_Max> mButtons;
|
||||||
|
|
|
||||||
|
|
@ -6,203 +6,248 @@
|
||||||
|
|
||||||
<Widget type="HBox" position="0 0 800 48" align="Center Bottom" name="ButtonBox">
|
<Widget type="HBox" position="0 0 800 48" align="Center Bottom" name="ButtonBox">
|
||||||
<Property key="Padding" value="0"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Spacing" value="0"/>
|
<Property key="Spacing" value="16"/>
|
||||||
|
|
||||||
<Widget type="Spacer"/>
|
<Widget type="Spacer"/>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnLStickImage">
|
<Widget type="HBox" name="BtnLStick">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_lstick.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnLStickImage">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_lstick.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnLStickText">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnLStickText">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnRStickImage">
|
<Widget type="HBox" name="BtnRStick">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_rstick.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnRStickImage">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_rstick.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnRStickText">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnRStickText">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnDpadImage">
|
<Widget type="HBox" name="BtnDpad">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_dpad.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnDpadImage">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_dpad.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnDpadText">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnDpadText">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnAImage">
|
<Widget type="HBox" name="BtnA">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_a.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnAImage">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_a.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnAText">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnAText">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnMenuImage">
|
<Widget type="HBox" name="BtnMenu">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_menu.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnMenuImage">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_menu.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnMenuText">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnMenuText">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnViewImage">
|
<Widget type="HBox" name="BtnView">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_view.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnViewImage">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_view.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnViewText">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnViewText">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnL1Image">
|
<Widget type="HBox" name="BtnL1">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_l1.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnL1Image">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_l1.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnL1Text">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnL1Text">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnR1Image">
|
<Widget type="HBox" name="BtnR1">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_r1.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnR1Image">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_r1.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnR1Text">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnR1Text">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnYImage">
|
<Widget type="HBox" name="BtnY">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_y.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnYImage">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_y.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnYText">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnYText">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnL3Image">
|
<Widget type="HBox" name="BtnL3">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_l3.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnL3Image">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_l3.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnL3Text">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnL3Text">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnR3Image">
|
<Widget type="HBox" name="BtnR3">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_r3.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnR3Image">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_r3.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnR3Text">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnR3Text">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnL2Image">
|
<Widget type="HBox" name="BtnL2">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_l2.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnL2Image">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_l2.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnL2Text">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnL2Text">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnR2Image">
|
<Widget type="HBox" name="BtnR2">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_r2.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnR2Image">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_r2.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnR2Text">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnR2Text">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnXImage">
|
<Widget type="HBox" name="BtnX">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_x.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" align="Center" position="0 0 24 24" name="BtnXImage">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_x.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnXText">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnXText">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="ImageBox" skin="ImageBox" align="Stretch" position="0 0 24 24" name="BtnBImage">
|
<Widget type="HBox" name="BtnB">
|
||||||
<Property key="ImageTexture" value="textures\omw_steam_button_b.dds"/>
|
<Property key="Padding" value="0"/>
|
||||||
<Property key="Colour" value="#ccb589"/>
|
<Property key="Spacing" value="0"/>
|
||||||
<Property key="Alpha" value="0.7"/>
|
<Widget type="ImageBox" skin="ImageBox" position="0 0 24 24" name="BtnBImage">
|
||||||
</Widget>
|
<Property key="ImageTexture" value="textures\omw_steam_button_b.dds"/>
|
||||||
<Widget type="TextBox" skin="HeaderText" align="Center" position="0 0 0 48" name="BtnBText">
|
<Property key="Colour" value="#ccb589"/>
|
||||||
<Property key="Caption" value=""/>
|
<Property key="Alpha" value="0.7"/>
|
||||||
<Property key="TextAlign" value="Left"/>
|
</Widget>
|
||||||
<Property key="TextShadow" value="true"/>
|
<Widget type="AutoSizedTextBox" skin="HeaderText" name="BtnBText">
|
||||||
<Property key="TextShadowColour" value="0 0 0"/>
|
<Property key="Caption" value=""/>
|
||||||
<Property key="ReadOnly" value="true"/>
|
<Property key="TextShadow" value="true"/>
|
||||||
|
<Property key="TextShadowColour" value="0 0 0"/>
|
||||||
|
<Property key="ReadOnly" value="true"/>
|
||||||
|
</Widget>
|
||||||
</Widget>
|
</Widget>
|
||||||
|
|
||||||
<Widget type="Spacer"/>
|
<Widget type="Spacer"/>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue