File: openmw_enchanting_dialog.layout

package info (click to toggle)
openmw 0.47.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 23,276 kB
  • sloc: cpp: 249,935; xml: 1,978; sh: 1,327; python: 63; makefile: 26
file content (164 lines) | stat: -rw-r--r-- 7,695 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?xml version="1.0" encoding="UTF-8"?>

<MyGUI type="Layout">
    <Widget type="Window" skin="MW_Dialog" layer="Windows" position="0 0 560 448" align="Center" name="_Main">

        <Widget type="HBox" position="12 9 273 30">
            <Property key="Spacing" value="8"/>

            <Widget type="AutoSizedTextBox" skin="NormalText">
                <Property key="Caption" value="#{sName}"/>
                <UserString key="ToolTipType" value="Layout"/>
                <UserString key="ToolTipLayout" value="TextToolTip"/>
                <UserString key="Caption_Text" value="#{sEnchantmentHelp8}"/>
            </Widget>

            <Widget type="EditBox" skin="MW_TextEdit" position="0 0 30 30" name="NameEdit">
                <UserString key="HStretch" value="true"/>
            </Widget>

            <Widget type="Widget">
            </Widget>

        </Widget>

        <!-- Item -->

        <Widget type="HBox" position="12 48 265 59">
            <Property key="Spacing" value="8"/>

            <Widget type="AutoSizedTextBox" skin="NormalText">
                <Property key="Caption" value="#{sItem}"/>
                <UserString key="ToolTipType" value="Layout"/>
                <UserString key="ToolTipLayout" value="TextToolTip"/>
                <UserString key="Caption_Text" value="#{sEnchantmentHelp1}"/>
            </Widget>
            <Widget type="ItemWidget" skin="MW_ItemIconBox" position="0 0 50 50" name="ItemBox">
            </Widget>

            <Widget type="Spacer"/>

            <Widget type="AutoSizedTextBox" skin="NormalText">
                <Property key="Caption" value="#{sSoulGem}"/>
                <UserString key="ToolTipType" value="Layout"/>
                <UserString key="ToolTipLayout" value="TextToolTip"/>
                <UserString key="Caption_Text" value="#{sEnchantmentHelp2}"/>
            </Widget>
            <Widget type="ItemWidget" skin="MW_ItemIconBox" position="0 0 50 50" name="SoulBox">
            </Widget>

        </Widget>

        <!-- Values -->
        <Widget type="VBox" position="320 7 222 96">
            <Widget type="HBox">
                <UserString key="HStretch" value="true"/>
                <Widget type="AutoSizedTextBox" skin="NormalText">
                    <Property key="Caption" value="#{sEnchantmentMenu3}:"/>
                    <UserString key="ToolTipType" value="Layout"/>
                    <UserString key="ToolTipLayout" value="TextToolTip"/>
                    <UserString key="Caption_Text" value="#{sEnchantmentHelp3}"/>
                </Widget>
                <Widget type="AutoSizedTextBox" skin="SandText" name="Enchantment">
                    <Property key="Caption" value="1"/>
                    <Property key="TextAlign" value="Right VCenter"/>
                    <UserString key="HStretch" value="true"/>
                </Widget>
            </Widget>
            <Widget type="HBox">
                <UserString key="HStretch" value="true"/>
                <Widget type="AutoSizedTextBox" skin="NormalText">
                    <Property key="Caption" value="#{sCastCost}:"/>
                    <UserString key="ToolTipType" value="Layout"/>
                    <UserString key="ToolTipLayout" value="TextToolTip"/>
                    <UserString key="Caption_Text" value="#{sEnchantmentHelp4}"/>
                </Widget>
                <Widget type="AutoSizedTextBox" skin="SandText" name="CastCost">
                    <Property key="Caption" value="39"/>
                    <Property key="TextAlign" value="Right VCenter"/>
                    <UserString key="HStretch" value="true"/>
                </Widget>
            </Widget>
            <Widget type="HBox">
                <UserString key="HStretch" value="true"/>
                <Widget type="AutoSizedTextBox" skin="NormalText">
                    <Property key="Caption" value="#{sCharges}"/>
                    <UserString key="ToolTipType" value="Layout"/>
                    <UserString key="ToolTipLayout" value="TextToolTip"/>
                    <UserString key="Caption_Text" value="#{sEnchantmentHelp5}"/>
                </Widget>
                <Widget type="AutoSizedTextBox" skin="SandText" name="Charge">
                    <Property key="Caption" value="39"/>
                    <Property key="TextAlign" value="Right VCenter"/>
                    <UserString key="HStretch" value="true"/>
                </Widget>
            </Widget>
            <Widget type="HBox" name="ChanceLayout">
                <UserString key="HStretch" value="true"/>
                <Widget type="AutoSizedTextBox" skin="NormalText">
                    <Property key="Caption" value="#{sEnchantmentMenu6}:"/>
                </Widget>
                <Widget type="AutoSizedTextBox" skin="SandText" name="SuccessChance">
                    <Property key="Caption" value="39"/>
                    <Property key="TextAlign" value="Right VCenter"/>
                    <UserString key="HStretch" value="true"/>
                </Widget>
            </Widget>
        </Widget>

        <!-- Available effects -->
        <Widget type="TextBox" skin="NormalText" position="12 109 300 24">
            <Property key="Caption" value="#{sMagicEffects}"/>
            <UserString key="ToolTipType" value="Layout"/>
            <UserString key="ToolTipLayout" value="TextToolTip"/>
            <UserString key="Caption_Text" value="#{sEnchantmentHelp9}"/>
        </Widget>
        <Widget type="MWList" skin="MW_SimpleList" position="12 136 202 269" name="AvailableEffects">
        </Widget>

        <!-- Used effects -->
        <Widget type="TextBox" skin="NormalText" position="226 109 300 24">
            <Property key="Caption" value="#{sEffects}"/>
            <UserString key="ToolTipType" value="Layout"/>
            <UserString key="ToolTipLayout" value="TextToolTip"/>
            <UserString key="Caption_Text" value="#{sEnchantmentHelp10}"/>
        </Widget>
        <Widget type="Widget" skin="MW_Box" position="226 136 316 269">
            <Widget type="ScrollView" skin="MW_ScrollViewH" position="4 4 308 261" name="UsedEffects">
                <Property key="CanvasAlign" value="Left Top"/>
            </Widget>
        </Widget>

        <Widget type="HBox" position="0 392 558 60">
            <Property key="Padding" value="16"/>

            <Widget type="AutoSizedButton" skin="MW_Button" name="TypeButton">
                <Property key="Caption" value="Constant effect"/>
                <UserString key="ToolTipType" value="Layout"/>
                <UserString key="ToolTipLayout" value="TextToolTip"/>
                <UserString key="Caption_Text" value="#{sEnchantmentHelp7}"/>
            </Widget>

            <Widget type="Spacer"/>

            <Widget type="AutoSizedTextBox" skin="NormalText" name="PriceTextLabel">
                <Property key="Caption" value="#{sBarterDialog7}"/>
                <UserString key="ToolTipType" value="Layout"/>
                <UserString key="ToolTipLayout" value="TextToolTip"/>
                <UserString key="Caption_Text" value="#{sEnchantmentHelp6}"/>
            </Widget>
            <Widget type="AutoSizedTextBox" skin="SandText" name="PriceLabel">
                <Property key="Caption" value="0"/>
            </Widget>

            <Widget type="AutoSizedButton" skin="MW_Button" name="BuyButton">
                <Property key="Caption" value="#{sBuy}"/>
            </Widget>

            <Widget type="AutoSizedButton" skin="MW_Button" name="CancelButton">
                <Property key="Caption" value="#{sCancel}"/>
            </Widget>
        </Widget>

    </Widget>
</MyGUI>