-
Notifications
You must be signed in to change notification settings - Fork 24
/
Frame.xml
131 lines (127 loc) · 4.56 KB
/
Frame.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
<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/
..\..\FrameXML\UI.xsd">
<Script file="Frame.lua"/>
<!--
********************************************************************************
Character Frame Template
********************************************************************************
-->
<Button name="AstralCharacterFrameTemplate" virtual="true" mixin="AstralKeysCharacterMixin">
<Size>
<AbsDimension x="180" y="50"/>
</Size>
<Layers>
<Layer level="ARTOWKR">
<FontString name="$parentNameString" inherits="InterUIBold_Normal" wordwrap="false" parentKey="nameString" justifyH="LEFT">
<Size>
<AbsDimension x="180" y="15"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" x="0" y="0"/>
</Anchors>
</FontString>
<FontString name="$parentKeyString" inherits="InterUIBold_Tiny" wordwrap="false" parentKey="keyString" text="CURRENT" alpha="0.5" justifyH="LEFT">
<Size>
<AbsDimension x="70" y="15"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentNameString" relativePoint="BOTTOMLEFT" x="0" y="-3"/>
</Anchors>
</FontString>
<FontString name="$parentWeeklyString" inherits="InterUIBold_Tiny" wordwrap="false" parentKey="weeklyString" text="WKLY BEST" alpha="0.5" justifyH="LEFT">
<Size>
<AbsDimension x="70" y="15"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentKeyString" relativePoint="BOTTOMLEFT" x="0" y="0"/>
</Anchors>
</FontString>
<FontString name="$parentKeyStringValue" inherits="InterUIRegular_Small" wordwrap="false" parentKey="keyStringValue" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentKeyString" relativePoint="RIGHT" x="0" y=".5"/>
</Anchors>
</FontString>
<FontString name="$parentWeeklyStringValue" inherits="InterUIRegular_Small" wordwrap="false" parentKey="weeklyStringValue" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentWeeklyString" relativePoint="RIGHT" x="0" y=".5"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
<OnLoad method="OnLoad"/>
</Scripts>
</Button>
<Button name="AstralListFrameTemplate" virtual="true" mixin="AstralKeysListMixin">
<!-- with WKYL BST, 440 px -->
<Size>
<AbsDimension x="400" y="20"/>
</Size>
<Layers>
<Layer level="ARTOWKR">
<FontString name="$parentLevelString" inherits="InterUIBlack_Normal" justifyH='RIGHT' wordwrap="false" parentKey="levelString">
<Size>
<AbsDimension x="20" y="15"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPLEFT" x="32" y="0"/>
</Anchors>
</FontString>
<FontString name="$parentDungeonString" inherits="InterUIBlack_Normal" justifyH='LEFT' wordwrap="false" parentKey="dungeonString">
<Size>
<AbsDimension x="155" y="15"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLevelString" relativePoint="RIGHT" x="24" y="0"/>
</Anchors>
</FontString>
<FontString name="$parentNameString" inherits="InterUIMedium_Normal" justifyH='LEFT' wordwrap="false" parentKey="nameString">
<Size>
<AbsDimension x="153" y="15"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentDungeonString" relativePoint="RIGHT" x="0" y="0"/>
</Anchors>
</FontString>
<FontString name="$parentBestString" inherits="InterUIBlack_Normal" justifyH='RIGHT' wordwrap="false" parentKey="bestString">
<Size>
<AbsDimension x="20" y="15"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentNameString" relativePoint="RIGHT" x="10" y="0"/>
</Anchors>
</FontString>
</Layer>
<Layer level="OVERLAY">
<Texture parentKey="Highlight" hidden='true'>
<Size>
<AbsDimension x="400" y="24"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="6"/>
</Offset>
</Anchor>
</Anchors>
<Color r=".5" g=".5" b=".5" a="0.2"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
self:RegisterForClicks("LeftButtonUp", "RightButtonUp")
</OnLoad>
<OnClick method="OnClick"/>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
</Scripts>
<!--
<HighlightTexture file="Interface\FriendsFrame\UI-FriendsFrame-HighlightBar" alphaMode="ADD" setAllPoints="true">
<color r="1" b="1" g="1" a="0.3"/>
</HighlightTexture>
-->
</Button>
</Ui>