-
Notifications
You must be signed in to change notification settings - Fork 8
/
MasterMerchantMisc.xml
276 lines (265 loc) · 16.4 KB
/
MasterMerchantMisc.xml
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<!--
MasterMerchant UI Layout File
Last Updated September 15, 2014
Written July 2014 by Dan Stone (@khaibit) - [email protected]
Extended February 2015 by Chris Lasswell (@Philgo68) - [email protected]
Released under terms in license accompanying this file.
Distribution without license is prohibited!
-->
<GuiXml>
<Controls>
<Label name="MM_Point" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" text="." mouseEnabled="true" virtual="true">
<OnMouseEnter>
ZO_Options_OnMouseEnter(self)
</OnMouseEnter>
<OnMouseExit>
ZO_Options_OnMouseExit(self)
</OnMouseExit>
<OnMouseUp>
MM_Graph:MyGraphPointClickHandler(self, button, upInside, self.sellerName)
</OnMouseUp>
</Label>
<Backdrop name="MasterMerchantPrice" inherits="ZO_EditBackdrop" virtual="true">
<Dimensions x="88" y="25"/>
<Controls>
<EditBox name="$(parent)Box" inherits="ZO_DefaultEditForBackdrop" font="ZoFontWinT1" textType="NUMERIC_UNSIGNED_INT" defaultText="Enter Price">
<Anchor point="TOPLEFT" offsetX="2" offsetY="2"/>
<Anchor point="BOTTOMRIGHT"/>
</EditBox>
</Controls>
</Backdrop>
<Control name="MasterMerchantGraph" virtual="true" hidden="true">
<Dimensions x="372" y="150"/>
<Controls>
<Texture name="$(parent)Grid" textureFile="MasterMerchant/img/mm_chart_grid.dds" alpha=".2"/>
<Texture name="$(parent)AveragePriceMarker" textureFile="MasterMerchant/img/mm_chart_marker.dds" alpha=".2"/>
<Texture name="$(parent)BonanzaPriceMarker" textureFile="MasterMerchant/img/mm_chart_marker.dds" alpha=".2"/>
<Label name="$(parent)AveragePriceLabel" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="AveragePrice">
<Anchor point="RIGHT" relativeTo="$(parent)Grid" relativePoint="TOPLEFT" offsetX="0" offsetY="0"/>
</Label>
<Label name="$(parent)BonanzaPriceLabel" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="BonanzaPrice">
<Anchor point="RIGHT" relativeTo="$(parent)Grid" relativePoint="TOPLEFT" offsetX="0" offsetY="0"/>
</Label>
<Label name="$(parent)HighPrice" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="HighPrice">
<Anchor point="RIGHT" relativeTo="$(parent)Grid" relativePoint="TOPLEFT" offsetX="0" offsetY="0"/>
</Label>
<Label name="$(parent)LowPrice" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="LowPrice">
<Anchor point="RIGHT" relativeTo="$(parent)Grid" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="0"/>
</Label>
<Label name="$(parent)StartTimeframe" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="5 Days Ago">
<Anchor point="TOP" relativeTo="$(parent)Grid" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="5"/>
</Label>
<Label name="$(parent)EndTimeframe" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="LEFT" text="Now">
<Anchor point="TOP" relativeTo="$(parent)Grid" relativePoint="BOTTOMRIGHT" offsetX="0" offsetY="5"/>
</Label>
</Controls>
</Control>
<!-- MMGraphLabel was the quality buttons and the tooltip text. Renamed MMQualityLabel -->
<Label name="MMQualityLabel" virtual="true" font="ZoFontGame" linkEnabled="true" mouseEnabled="true"
color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" text="XXX">
<OnLinkMouseUp>
ZO_LinkHandler_OnLinkMouseUp(linkText, button, self)
</OnLinkMouseUp>
</Label>
<!-- For all the different tooltip text -->
<Label name="MMTooltipText" virtual="true" font="ZoFontGame" linkEnabled="true" mouseEnabled="true"
color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" text="XXX">
</Label>
<Control name="MasterMerchantTooltipText" virtual="true" hidden="true">
<Controls>
<Label name="$(parent)WarnText" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="5 Days Ago">
<Anchor point="TOP" relativeTo="$(parent)" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="5"/>
</Label>
<Label name="$(parent)VendorWarn" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="5 Days Ago">
<Anchor point="TOP" relativeTo="$(parent)WarnText" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="5"/>
</Label>
<Label name="$(parent)VoucherAverage" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="5 Days Ago">
<Anchor point="TOP" relativeTo="$(parent)VendorWarn" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="5"/>
</Label>
<Label name="$(parent)MasterMerchant" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="5 Days Ago">
<Anchor point="TOP" relativeTo="$(parent)VoucherAverage" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="5"/>
</Label>
<Label name="$(parent)Bonanza" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="5 Days Ago">
<Anchor point="TOP" relativeTo="$(parent)MasterMerchant" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="5"/>
</Label>
<Label name="$(parent)TTC" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="5 Days Ago">
<Anchor point="TOP" relativeTo="$(parent)Bonanza" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="5"/>
</Label>
<Label name="$(parent)CraftCost" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="5 Days Ago">
<Anchor point="TOP" relativeTo="$(parent)TTC" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="5"/>
</Label>
<Label name="$(parent)MaterialCost" font="ZoFontGame" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" text="5 Days Ago">
<Anchor point="TOP" relativeTo="$(parent)CraftCost" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="5"/>
</Label>
</Controls>
</Control>
<Control name="MasterMerchantPriceCalc" virtual="true" hidden="true" tier="high">
<Dimensions x="170" y="95"/>
<Controls>
<Backdrop name="$(parent)BG" inherits="ZO_DefaultBackdrop"/>
<Texture name="$(parent)Coin" textureFile="EsoUI/Art/currency/currency_gold.dds">
<Dimensions x="16" y="16"/>
<Anchor point="TOPRIGHT" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="0" offsetY="8"/>
</Texture>
<Backdrop name="$(parent)UnitCost" inherits="ZO_EditBackdrop">
<Anchor point="RIGHT" relativeTo="$(parent)Coin" relativePoint="LEFT" offsetX="-3"/>
<Dimensions x="150" y="25"/>
<Controls>
<EditBox name="$(parent)Amount" inherits="ZO_DefaultEditForBackdrop" textType="NUMERIC" defaultText="Enter Unit Cost">
<OnEnter>
MasterMerchant:updateCalc()
self:LoseFocus()
</OnEnter>
</EditBox>
</Controls>
</Backdrop>
<Label name="$(parent)Stack" font="ZoFontGame"
color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL" text="x 10">
<Anchor point="TOPRIGHT" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="-4" offsetY="34"/>
</Label>
<Label name="$(parent)Total" font="ZoFontGame"
color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_NORMAL"
text="Total: 9,000 |t16:16:EsoUI/Art/currency/currency_gold.dds|t">
<Anchor point="TOPRIGHT" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="-4" offsetY="66"/>
</Label>
</Controls>
</Control>
<!-- Stats Window -->
<TopLevelControl name="MasterMerchantStatsWindow" movable="true" mouseEnabled="true" hidden="true">
<Dimensions x="550" y="225"/>
<OnMoveStop>
MasterMerchant:OnWindowMoveStop(self)
</OnMoveStop>
<Controls>
<Backdrop name="$(parent)BG" inherits="ZO_DefaultBackdrop"/>
<Label name="$(parent)Title" height="25" width="95" inheritAlpha="true" color="D5B526"
verticalAlignment="CENTER" horizontalAlignment="CENTER" text="MasterMerchant Sales Statistics">
<Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP" offsetX="0" offsetY="5"/>
</Label>
<Button name="$(parent)CloseButton" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="CENTER">
<Anchor point="CENTER" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="-20" offsetY="20"/>
<Dimensions x="48" y="48"/>
<Textures normal="/esoui/art/hud/radialicon_cancel_up.dds"
mouseOver="/esoui/art/hud/radialicon_cancel_over.dds"/>
<OnClicked>
MasterMerchantStatsWindow:SetHidden(true)
</OnClicked>
</Button>
<Label name="$(parent)GuildChooserLabel" height="25" width="50" inheritAlpha="true" color="FFFFFF"
verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Guild: ">
<Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP" offsetX="-135" offsetY="55"/>
</Label>
<Label name="$(parent)ItemsSoldLabel" height="25" width="95" inheritAlpha="true" color="FFFFFF"
verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Items sold: 0">
<Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP" offsetX="0" offsetY="85"/>
</Label>
<Label name="$(parent)TotalGoldLabel" height="25" width="95" inheritAlpha="true" color="FFFFFF"
verticalAlignment="CENTER" horizontalAlignment="LEFT" text="Total gold: 0 (0 per day)">
<Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP" offsetX="0" offsetY="110"/>
</Label>
<Label name="$(parent)BiggestSaleLabel" height="25" width="95" inheritAlpha="true" color="FFFFFF"
verticalAlignment="CENTER" horizontalAlignment="CENTER" text="Biggest sale: (0)">
<Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP" offsetX="0" offsetY="135"/>
</Label>
<Label name="$(parent)SliderSettingLabel" height="25" width="95" inheritAlpha="true" color="FFFFFF"
verticalAlignment="CENTER" horizontalAlignment="CENTER" text="Using all data">
<Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP" offsetX="0" offsetY="165"/>
</Label>
<Slider name="$(parent)Slider" mouseEnabled="true" step="1" orientation="horizontal">
<Anchor point="BOTTOM" relativeTo="$(parent)" relativePoint="BOTTOM" offsetX="25" offsetY="-15"/>
<ThumbTexture textureFile="/esoui/art/miscellaneous/scrollbox_elevator.dds"
disabledTextureFile="/esoui/art/miscellaneous/scrollbox_elevator.dds"
highlightedTextureFile="/esoui/art/miscellaneous/scrollbox_elevator.dds" thumbWidth="8"
thumbHeight="16" left="0" top="0" bottom="1" right="1"/>
<Dimensions x="400" y="14"/>
<Limits min="1" max="100"/>
<OnValueChanged>
MasterMerchant.OnStatsSliderMoved()
</OnValueChanged>
<Controls>
<Backdrop name="$(parent)Backdrop" centerColor="000000">
<Edge file="/EsoUI/Art/Tooltips/UI-SliderBackdrop.dds" edgeFileWidth="32" edgeFileHeight="4"/>
<Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="0" offsetY="4"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$(parent)" relativePoint="BOTTOMRIGHT" offsetX="0" offsetY="-4"/>
</Backdrop>
</Controls>
</Slider>
<Label name="$(parent)SliderLabel" height="25" width="50" inheritAlpha="true" color="FFFFFF"
verticalAlignment="CENTER" horizontalAlignment="RIGHT" text="Days: ">
<Anchor point="RIGHT" relativeTo="$(parent)Slider" relativePoint="LEFT" offsetX="-15" offsetY="-2"/>
</Label>
</Controls>
</TopLevelControl>
<!-- Guild filter for stats window (virtual) -->
<Control name="MasterMerchantStatsGuildDropdown" inherits="ZO_ComboBox" virtual="true">
<OnInitialized>
ZO_ComboBox:New(self)
</OnInitialized>
</Control>
<!-- Spinning loading icon for during scans (virtual) -->
<Control name="MasterMerchantLoading" hidden="true" virtual="true">
<Controls>
<Texture name="$(parent)LoadingIcon" textureFile="EsoUI/Art/Miscellaneous/wait_icon.dds" layer="OVERLAY">
<Anchor point="BOTTOM" relativeTo="$(parent)" relativePoint="BOTTOM" offsetX="0" offsetY="-5"/>
<Dimensions x="32" y="32"/>
</Texture>
</Controls>
</Control>
<!-- About Box -->
<TopLevelControl name="MasterMerchantFeedback" movable="true" mouseEnabled="true" hidden="true">
<Dimensions x="550" y="300"/>
<OnMoveStop>
MasterMerchant:OnWindowMoveStop(self)
</OnMoveStop>
<Controls>
<Backdrop name="$(parent)BG" inherits="ZO_DefaultBackdrop"/>
<Label name="$(parent)Title" height="25" width="95" inheritAlpha="true" color="D5B526"
verticalAlignment="CENTER" horizontalAlignment="CENTER" text="Master Merchant">
<Anchor point="TOP" relativeTo="$(parent)" relativePoint="TOP" offsetX="0" offsetY="5"/>
</Label>
<Button name="$(parent)CloseButton" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="CENTER">
<Anchor point="CENTER" relativeTo="$(parent)" relativePoint="TOPRIGHT" offsetX="-20" offsetY="20"/>
<Dimensions x="48" y="48"/>
<Textures normal="/esoui/art/hud/radialicon_cancel_up.dds"
mouseOver="/esoui/art/hud/radialicon_cancel_over.dds"/>
<OnClicked>
MasterMerchantFeedback:SetHidden(true)
</OnClicked>
</Button>
<Label name="$(parent)Note" color="FFFFFF">
<Dimensions x="525" y="275"/>
<Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="10" offsetY="50"/>
</Label>
<Button name="$(parent)Feedback" inherits="ZO_DefaultButton" text="Send Note">
<Anchor point="BOTTOMLEFT" relativeTo="$(parent)" relativePoint="BOTTOMLEFT" offsetX="5" offsetY="-5"/>
<Dimensions x="130"/>
<OnClicked>
MasterMerchant:SendNote(0)
</OnClicked>
</Button>
<Button name="$(parent)Small" inherits="ZO_DefaultButton" text="Send 5000">
<Anchor point="BOTTOMLEFT" relativeTo="$(parent)Feedback" relativePoint="BOTTOMRIGHT" offsetX="5"
offsetY="0"/>
<Dimensions x="130"/>
<OnClicked>
MasterMerchant:SendNote(5000)
</OnClicked>
</Button>
<Button name="$(parent)Large" inherits="ZO_DefaultButton" text="Send 50000">
<Anchor point="BOTTOMRIGHT" relativeTo="$(parent)" relativePoint="BOTTOMRIGHT" offsetX="-5" offsetY="-5"/>
<Dimensions x="130"/>
<OnClicked>
MasterMerchant:SendNote(50000)
</OnClicked>
</Button>
<Button name="$(parent)Medium" inherits="ZO_DefaultButton" text="Send 15000">
<Anchor point="BOTTOMRIGHT" relativeTo="$(parent)Large" relativePoint="BOTTOMLEFT" offsetX="-5" offsetY="0"/>
<Dimensions x="130"/>
<OnClicked>
MasterMerchant:SendNote(15000)
</OnClicked>
</Button>
</Controls>
</TopLevelControl>
</Controls>
</GuiXml>