-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTemplates.xml
85 lines (82 loc) · 2.6 KB
/
Templates.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
<Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
<Button name="SorhaQuestLogItemButtonTemplate" inherits="SecureActionButtonTemplate" virtual="true">
<Attributes>
<Attribute name="type" value="item" />
</Attributes>
<Size x="26" y="26"/>
<Layers>
<Layer level="ARTWORK">
<FontString parentKey="HotKey" inherits="NumberFontNormalSmallGray" justifyH="LEFT" text="RANGE_INDICATOR">
<Size x="29" y="10"/>
<Anchors>
<Anchor point="TOPRIGHT" x="16" y="-2"/>
</Anchors>
</FontString>
</Layer>
<Layer level="BORDER">
<Texture parentKey="icon"/>
<FontString parentKey="Count" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
<Anchors>
<Anchor point="BOTTOMRIGHT" x="-3" y="2"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Cooldown parentKey="Cooldown" inherits="CooldownFrameTemplate"/>
</Frames>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, 'ANCHOR_LEFT')
GameTooltip:SetHyperlink(self.link)
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
<NormalTexture parentKey="NormalTexture" file="Interface\Buttons\UI-Quickslot2">
<Size x="42" y="42"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</NormalTexture>
<PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/>
<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
</Button>
<Button name="SorhaQuestLogSpellButtonTemplate" inherits="SecureActionButtonTemplate" virtual="true">
<Attributes>
<Attribute name="type" value="item" />
</Attributes>
<Size x="26" y="26"/>
<Layers>
<Layer level="BORDER">
<Texture parentKey="icon"/>
<FontString parentKey="Count" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
<Anchors>
<Anchor point="BOTTOMRIGHT" x="-3" y="2"/>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Cooldown parentKey="Cooldown" inherits="CooldownFrameTemplate"/>
</Frames>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(self, 'ANCHOR_RIGHT')
GameTooltip:SetSpellByID(self.spellID)
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
<NormalTexture parentKey="NormalTexture" file="Interface\Buttons\UI-Quickslot2">
<Size x="42" y="42"/>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
</NormalTexture>
<PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/>
<HighlightTexture file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>
</Button>
</Ui>