-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWhenLevel.xml
190 lines (190 loc) · 5.24 KB
/
WhenLevel.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
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/">
<Button name="com_mithrandir_whenLevelButtonTemplate" virtual="true">
<Size>
<AbsDimension x="537" y="16"/>
</Size>
<Layers>
<Layer level="BORDER">
<FontString name="$parentLevel" inherits="GameFontHighlightSmall" justifyH="RIGHT" parentKey="level">
<Size>
<AbsDimension x="40" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentDate" inherits="GameFontHighlightSmall" justifyH="LEFT" parentKey="date">
<Size>
<AbsDimension x="106" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLevel" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentZone" inherits="GameFontHighlightSmall" justifyH="LEFT" parentKey="zone">
<Size>
<AbsDimension x="230" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDate" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentTotalPlayed" inherits="GameFontHighlightSmall" justifyH="RIGHT" parentKey="totalPlayed">
<Size>
<AbsDimension x="96" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentZone" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentLevelPlayed" inherits="GameFontHighlightSmall" justifyH="RIGHT" parentKey="levelPlayed">
<Size>
<AbsDimension x="96" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentTotalPlayed" relativePoint="RIGHT">
<Offset>
<AbsDimension x="3" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Button>
<Frame name="com_mithrandir_whenLevelConfigFrame" parent="InterfaceOptionsFramePanelContainer">
<Scripts>
<OnLoad>
WhenLevel:ConfigFrame_OnLoad(self);
</OnLoad>
<OnShow>
WhenLevel:ConfigFrame_OnShow(self);
</OnShow>
<OnSizeChanged>
WhenLevel:ConfigFrame_OnShow(self);
</OnSizeChanged>
</Scripts>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentLevel" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="7" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentDate" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="43" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentZone" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="152" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentTotalPlayed" inherits="GameFontNormal" justifyH="RIGHT">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="385" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentLevelPlayed" inherits="GameFontNormal" justifyH="RIGHT">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="484" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<ScrollFrame name="$parentScrollFrame" inherits="HybridScrollFrameTemplate">
<Size>
<AbsDimension x="600" y="540" />
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-20" />
</Offset>
</Anchor>
</Anchors>
<Frames>
<Slider name="$parentScrollBar" inherits="HybridScrollBarTemplate" parentKey="scrollBar">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset x="0" y="-13"/>
</Anchor>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset x="0" y="14"/>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
local name = self:GetName();
_G[name.."BG"]:Hide();
_G[name.."Top"]:Hide();
_G[name.."Bottom"]:Hide();
_G[name.."Middle"]:Hide();
self.doNotHide = true;
</OnLoad>
</Scripts>
</Slider>
<Frame name="$parentLogHighlightFrame" hidden="true">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentLogSkillHighlight" file="Interface\QuestFrame\UI-QuestLogTitleHighlight" alphaMode="ADD"/>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:SetParent(nil);
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
WhenLevel:ScrollFrame_OnLoad(self)
</OnLoad>
</Scripts>
</ScrollFrame>
</Frames>
</Frame>
</Ui>