-
Notifications
You must be signed in to change notification settings - Fork 8
/
MasterMerchantReports.xml
310 lines (308 loc) · 16.8 KB
/
MasterMerchantReports.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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
<!--
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>
<!-- Sales Main Window reports_vs -->
<!-- /script MasterMerchantReportsWindow:SetHidden(false) -->
<TopLevelControl movable="true" mouseEnabled="true" name="MasterMerchantReportsWindow" hidden="true" tier="MEDIUM">
<Dimensions x="950" y="680"/>
<OnMoveStop>
MasterMerchant:OnWindowMoveStop(self)
</OnMoveStop>
<OnShow>
MasterMerchant:RefreshAlteredWindowData()
SetGameCameraUIMode(true)
</OnShow>
<Controls>
<Backdrop name="$(parent)BG" inherits="ZO_DefaultBackdrop"/>
<Control name="$(parent)MenuHeader">
<Dimensions x="940" y="50"/>
<Anchor point="TOPLEFT" relativeTo="$(parent)" relativePoint="TOPLEFT" offsetX="5" offsetY="5"/>
<Controls>
<Texture name="$(parent)SearchIcon" textureFile="/esoui/art/tradinghouse/tradinghouse_browse_tabicon_up.dds" alpha="1">
<Dimensions x="35" y="35"/>
<Anchor point="TOPLEFT" relativeTo="$(parent)MenuHeader" relativePoint="TOPLEFT" offsetX="0" offsetY="5"/>
<TextureCoords left="0" right="1" top="0" bottom="1"/>
</Texture>
<Backdrop name="$(parent)Search" inherits="ZO_EditBackdrop">
<Anchor point="LEFT" relativeTo="$(parent)SearchIcon" relativePoint="RIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="230" y="30"/>
<Controls>
<EditBox name="$(parent)EditBox" inherits="ZO_DefaultEditForBackdrop" defaultText="SI_SEARCH_FILTER_BY">
<OnEnter>
self:LoseFocus()
MasterMerchant.reportsScrollList:RefreshFilters()
</OnEnter>
</EditBox>
</Controls>
</Backdrop>
<Label name="$(parent)Title" height="25" inheritAlpha="true" color="D5B526" verticalAlignment="CENTER" horizontalAlignment="CENTER">
<Anchor point="TOP" relativeTo="$(parent)MenuHeader" relativePoint="TOP" offsetX="-30" offsetY="5"/>
<Dimensions x="350" y="42"/>
</Label>
<!-- Buttons in reverse order and anchored to upper right corner relative to each other -->
<Button name="$(parent)CloseButton" inheritAlpha="true">
<Anchor point="TOPRIGHT" relativeTo="$(parent)MenuHeader" relativePoint="TOPRIGHT" offsetX="5" offsetY="0"/>
<Dimensions x="42" y="42"/>
<Textures normal="/esoui/art/hud/radialicon_cancel_up.dds"
mouseOver="/esoui/art/hud/radialicon_cancel_over.dds"/>
<OnClicked>
MasterMerchant:ActiveWindow():SetHidden(true)
</OnClicked>
<OnMouseEnter>
ZO_Tooltips_ShowTextTooltip(self, TOP, GetString(SK_CLOSE_TOOLTIP))
</OnMouseEnter>
<OnMouseExit>
ZO_Tooltips_HideTextTooltip()
</OnMouseExit>
</Button>
<Button name="$(parent)FeedbackButton" inheritAlpha="true">
<Anchor point="RIGHT" relativeTo="$(parent)CloseButton" relativePoint="LEFT" offsetX="5" offsetY="0"/>
<Dimensions x="42" y="42"/>
<Textures normal="ESOUI/art/chatwindow/chat_mail_up.dds"
mouseOver="ESOUI/art/chatwindow/chat_mail_over.dds"/>
<OnClicked>
MasterMerchant:ToggleMasterMerchantFeedback()
</OnClicked>
<OnMouseEnter>
ZO_Tooltips_ShowTextTooltip(self, TOP, GetString(SK_FEEDBACK_TOOLTIP))
</OnMouseEnter>
<OnMouseExit>
ZO_Tooltips_HideTextTooltip()
</OnMouseExit>
</Button>
<Button name="$(parent)ManageListingsButton" inheritAlpha="true" verticalAlignment="CENTER"
horizontalAlignment="CENTER">
<Anchor point="RIGHT" relativeTo="$(parent)FeedbackButton" relativePoint="LEFT" offsetX="5" offsetY="0"/>
<Dimensions x="42" y="42"/>
<Textures normal="/esoui/art/market/keyboard/giftmessageicon_up.dds"
mouseOver="/esoui/art/market/keyboard/giftmessageicon_over.dds"/>
<OnClicked>
MasterMerchant:SwitchToMasterMerchantReportsView()
</OnClicked>
<OnMouseEnter>
ZO_Tooltips_ShowTextTooltip(self, TOP, GetString(SK_MANAGEMENT_TOOLTIP))
</OnMouseEnter>
<OnMouseExit>
ZO_Tooltips_HideTextTooltip()
</OnMouseExit>
</Button>
<Button name="$(parent)ListingButton" inheritAlpha="true">
<Anchor point="RIGHT" relativeTo="$(parent)ManageListingsButton" relativePoint="LEFT" offsetX="5" offsetY="0"/>
<Dimensions x="42" y="42"/>
<Textures normal="/esoui/art/tradinghouse/tradinghouse_listings_tabicon_up.dds"
mouseOver="/esoui/art/tradinghouse/tradinghouse_listings_tabicon_over.dds"/>
<OnClicked>
MasterMerchant:SwitchToMasterMerchantListingsView()
</OnClicked>
<OnMouseEnter>
ZO_Tooltips_ShowTextTooltip(self, TOP, GetString(SK_BONANZA_TOOLTIP))
</OnMouseEnter>
<OnMouseExit>
ZO_Tooltips_HideTextTooltip()
</OnMouseExit>
</Button>
<Button name="$(parent)PurchaseButton" inheritAlpha="true" verticalAlignment="CENTER"
horizontalAlignment="CENTER">
<Anchor point="RIGHT" relativeTo="$(parent)ListingButton" relativePoint="LEFT" offsetX="5" offsetY="0"/>
<Dimensions x="42" y="42"/>
<Textures normal="/esoui/art/bank/bank_tabicon_withdraw_up.dds"
mouseOver="/esoui/art/bank/bank_tabicon_withdraw_over.dds"/>
<OnClicked>
MasterMerchant:SwitchToMasterMerchantPurchaseView()
</OnClicked>
<OnMouseEnter>
ZO_Tooltips_ShowTextTooltip(self, TOP, GetString(SK_PURCHASE_TOOLTIP))
</OnMouseEnter>
<OnMouseExit>
ZO_Tooltips_HideTextTooltip()
</OnMouseExit>
</Button>
<Button name="$(parent)SalesViewButton" inheritAlpha="true" verticalAlignment="CENTER"
horizontalAlignment="CENTER">
<Anchor point="RIGHT" relativeTo="$(parent)PurchaseButton" relativePoint="LEFT" offsetX="5" offsetY="0"/>
<Dimensions x="42" y="42"/>
<Textures normal="/esoui/art/tradinghouse/tradinghouse_sell_tabicon_up.dds"
mouseOver="/esoui/art/tradinghouse/tradinghouse_sell_tabicon_over.dds"/>
<OnClicked>
MasterMerchant:SwitchToMasterMerchantSalesView()
</OnClicked>
<OnMouseEnter>
ZO_Tooltips_ShowTextTooltip(self, TOP, GetString(SK_SALES_TOOLTIP))
</OnMouseEnter>
<OnMouseExit>
ZO_Tooltips_HideTextTooltip()
</OnMouseExit>
</Button>
<Button name="$(parent)ViewSizeButton" inheritAlpha="true" verticalAlignment="CENTER"
horizontalAlignment="CENTER">
<Anchor point="RIGHT" relativeTo="$(parent)SalesViewButton" relativePoint="LEFT" offsetX="5" offsetY="0"/>
<Dimensions x="42" y="42"/>
<Textures normal="/esoui/art/campaign/campaign_tabicon_leaderboard_up.dds"
mouseOver="/esoui/art/campaign/campaign_tabicon_leaderboard_over.dds"/>
<OnMouseEnter>
ZO_Tooltips_ShowTextTooltip(self, TOP, GetString(MM_NO_REPORTS_RANK))
</OnMouseEnter>
<OnMouseExit>
ZO_Tooltips_HideTextTooltip()
</OnMouseExit>
</Button>
<Button name="$(parent)StatsButton" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="CENTER">
<Anchor point="RIGHT" relativeTo="$(parent)ViewSizeButton" relativePoint="LEFT" offsetX="5" offsetY="0"/>
<Dimensions x="42" y="42"/>
<Textures normal="/esoui/art/journal/journal_tabicon_lorelibrary_up.dds"
mouseOver="/esoui/art/journal/journal_tabicon_lorelibrary_over.dds"/>
<OnClicked>
MasterMerchant:ToggleMasterMerchantStatsWindow()
</OnClicked>
<OnMouseEnter>
ZO_Tooltips_ShowTextTooltip(self, TOP, GetString(SK_STATS_TOOLTIP))
</OnMouseEnter>
<OnMouseExit>
ZO_Tooltips_HideTextTooltip()
</OnMouseExit>
</Button>
<Button name="$(parent)LockButton" hidden="false" inheritAlpha="true" verticalAlignment="CENTER" horizontalAlignment="CENTER">
<Anchor point="RIGHT" relativeTo="$(parent)StatsButton" relativePoint="LEFT" offsetX="5" offsetY="2"/>
<Dimensions x="32" y="32"/>
<!-- <Textures normal="/esoui/art/miscellaneous/locked_up.dds"
mouseOver="/esoui/art/miscellaneous/locked_over.dds"/>
<Textures normal="/esoui/art/miscellaneous/unlocked_up.dds"
mouseOver="/esoui/art/miscellaneous/unlocked_over.dds"/>
MM_UNLOCK_TOOLTIP / MM_UNLOCK_TOOLTIP -->
<Textures normal="/esoui/art/miscellaneous/locked_up.dds"
mouseOver="/esoui/art/miscellaneous/locked_over.dds"/>
<OnClicked>
MasterMerchant:ToggleWindowLock()
</OnClicked>
<OnMouseEnter>
ZO_Tooltips_ShowTextTooltip(self, TOP, MasterMerchant:GetLockButtonTooltipText())
</OnMouseEnter>
<OnMouseExit>
ZO_Tooltips_HideTextTooltip()
</OnMouseExit>
</Button>
</Controls>
</Control>
<Texture name="$(parent)MenuDivider" textureFile="EsoUI/Art/Miscellaneous/centerscreen_topDivider.dds">
<Dimensions x="950" y="4"/>
<Anchor point="TOPLEFT" relativeTo="$(parent)MenuHeader" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="0"/>
</Texture>
<Control name="$(parent)Headers">
<Anchor point="TOPLEFT" relativeTo="$(parent)MenuDivider" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="0"/>
<Dimensions x="940" y="40"/>
<Controls>
<Control name="$(parent)Seller" inherits="MM_SortHeaderLeft">
<Anchor point="LEFT" relativeTo="$(parent)Headers" relativePoint="LEFT" offsetX="35" offsetY="0"/>
<Dimensions x="140" y="32"/>
</Control>
<Control name="$(parent)Guild" inherits="ZO_SortHeader">
<Anchor point="LEFT" relativeTo="$(parent)Seller" relativePoint="RIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="200" y="32"/>
</Control>
<!-- 37 because the data row is offset 32 for the icon and 5 for some extra space -->
<Control name="$(parent)ItemName" inherits="MM_NonSortHeaderCenter">
<Anchor point="LEFT" relativeTo="$(parent)Guild" relativePoint="RIGHT" offsetX="37" offsetY="0"/>
<Dimensions x="280" y="32"/>
</Control>
<Control name="$(parent)SellTime" inherits="MM_SortHeaderCenter">
<Anchor point="LEFT" relativeTo="$(parent)ItemName" relativePoint="RIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="105" y="32"/>
</Control>
<Control name="$(parent)Price" inherits="MM_SortHeaderCenter">
<Anchor point="LEFT" relativeTo="$(parent)SellTime" relativePoint="RIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="80" y="32"/>
</Control>
<Control name="$(parent)ListingFee" inherits="MM_NonSortHeaderCenter">
<Anchor point="LEFT" relativeTo="$(parent)Price" relativePoint="RIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="60" y="32"/>
</Control>
</Controls>
</Control>
<Control name="$(parent)List" inherits="ZO_ScrollList">
<Dimensions x="950" y="540"/>
<Anchor point="TOPLEFT" relativeTo="$(parent)Headers" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="0"/>
</Control>
<Control name="$(parent)MenuFooter">
<Anchor point="BOTTOMLEFT" relativeTo="$(parent)" relativePoint="BOTTOMLEFT" offsetX="5" offsetY="-5"/>
<Dimensions x="940" y="40"/>
<Controls>
<Button name="$(parent)SwitchReportsViewButton" inherits="ZO_DefaultButton">
<Anchor point="BOTTOMLEFT" relativeTo="$(parent)MenuFooter" relativePoint="BOTTOMLEFT" offsetX="0" offsetY="-5"/>
<Dimensions x="180"/>
<OnClicked>
MasterMerchant:SwitchReportsViewMode()
</OnClicked>
</Button>
<Button name="$(parent)PriceSwitchButton" inherits="ZO_DefaultButton">
<Anchor point="LEFT" relativeTo="$(parent)SwitchReportsViewButton" relativePoint="RIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="180"/>
<OnClicked>
MasterMerchant:SwitchPriceMode()
</OnClicked>
</Button>
<Texture name="$(parent)LoadingIcon" textureFile="EsoUI/Art/Miscellaneous/wait_icon.dds" hidden="true">
<Anchor point="BOTTOM" relativeTo="$(parent)MenuFooter" relativePoint="BOTTOM" offsetX="0" offsetY="-5"/>
<Dimensions x="32" y="32"/>
</Texture>
</Controls>
</Control>
</Controls>
</TopLevelControl>
<!-- Full-size Data Row (virtual) -->
<Control name="MasterMerchantReportsDataRow" virtual="true">
<Dimensions x="940" y="36"/>
<Anchor point="TOPLEFT" offsetX="0" offsetY="0"/>
<Controls>
<Texture name="$(parent)BG" inherits="ZO_ThinListBgStrip"/>
<Label name="$(parent)RowId" inheritAlpha="true" color="FFFFFF" text="1">
<Anchor point="LEFT" relativePoint="LEFT" offsetX="0" offsetY="0"/>
<Dimensions x="35" y="26"/>
</Label>
<Button name="$(parent)Seller" inheritAlpha="true" text="Seller" horizontalAlignment="LEFT">
<Anchor point="LEFT" relativeTo="$(parent)RowId" relativePoint="RIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="140" y="26"/>
<FontColors normalColor="3689EF" mouseOverColor="69EFFF" pressedColor="3689EF"/>
</Button>
<Label name="$(parent)Guild" inheritAlpha="true" text="Guild">
<Anchor point="LEFT" relativeTo="$(parent)Seller" relativePoint="RIGHT" offsetX="0" offsetY="0"/>
<Dimensions x="200" y="26"/>
</Label>
<Texture name="$(parent)ItemIcon" alpha="1">
<Dimensions x="32" y="32"/>
<Anchor point="LEFT" relativeTo="$(parent)Guild" relativePoint="RIGHT" offsetX="0" offsetY="0"/>
<TextureCoords left="0" right="1" top="0" bottom="1"/>
</Texture>
<Label name="$(parent)Quantity" verticalAlignment="BOTTOM" horizontalAlignment="RIGHT" inheritAlpha="true" text="1">
<Dimensions x="32" y="32"/>
<Anchor point="BOTTOMRIGHT" relativeTo="$(parent)ItemIcon" relativePoint="BOTTOMRIGHT" offsetX="0" offsetY="0"/>
</Label>
<Label name="$(parent)ItemName" inheritAlpha="true" text="Item Name" verticalAlignment="CENTER" linkEnabled="true" mouseEnabled="true">
<Anchor point="LEFT" relativeTo="$(parent)ItemIcon" relativePoint="RIGHT" offsetX="5" offsetY="0"/>
<Dimensions x="280" y="26"/>
<OnLinkMouseUp>
ZO_LinkHandler_OnLinkMouseUp(linkText, button, self)
</OnLinkMouseUp>
</Label>
<Label name="$(parent)SellTime" inheritAlpha="true" text="Time">
<Dimensions x="105" y="26"/>
<Anchor point="LEFT" relativeTo="$(parent)ItemName" relativePoint="RIGHT" offsetX="0" offsetY="0"/>
</Label>
<Label name="$(parent)Price" verticalAlignment="CENTER" horizontalAlignment="RIGHT" inheritAlpha="true" text="Price">
<Dimensions x="78" y="26"/>
<Anchor point="LEFT" relativeTo="$(parent)SellTime" relativePoint="RIGHT" offsetX="0" offsetY="0"/>
</Label>
<Label name="$(parent)ListingFee" verticalAlignment="CENTER" horizontalAlignment="RIGHT" inheritAlpha="true" text="Price">
<Dimensions x="60" y="26"/>
<Anchor point="LEFT" relativeTo="$(parent)Price" relativePoint="RIGHT" offsetX="0" offsetY="0"/>
</Label>
</Controls>
</Control>
</Controls>
</GuiXml>