Repository navigation
Expand file tree
/
Copy pathClassIcons.xml
More file actions
54 lines (47 loc) · 1.5 KB
/
Copy pathClassIcons.xml
File metadata and controls
54 lines (47 loc) · 1.5 KB
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
<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="ClassIcons.lua" />
<Frame name="UnitFrameClassIconTemplate" frameStrata="MEDIUM" hidden="true" virtual="true">
<Size x="32" y="32"/>
<Layers>
<Layer>
<Texture name="$parentTexture">
<Size x="32" y="32"/>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="$parentClassIcon" inherits="UnitFrameClassIconTemplate" parent="TargetFrame">
<Scripts>
<OnLoad>
self:ClearAllPoints();
self:SetPoint("TOPRIGHT", "TargetFrame", "TOPRIGHT", -85, -5);
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentClassIcon" inherits="UnitFrameClassIconTemplate" parent="FocusFrame">
<Scripts>
<OnLoad>
self:ClearAllPoints();
self:SetPoint("TOPRIGHT", "FocusFrame", "TOPRIGHT", -85, -5);
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentClassIcon" inherits="UnitFrameClassIconTemplate" parent="PlayerFrame" />
<Frame name="UnitFrameClassIconSmallTemplate" frameStrata="MEDIUM" hidden="true" virtual="true">
<Size x="20" y="20"/>
<Layers>
<Layer>
<Texture name="$parentTexture">
<Size x="20" y="20"/>
</Texture>
</Layer>
</Layers>
</Frame>
<Frame name="ClassIcons" hidden="true">
<Scripts>
<OnLoad function="ClassIcons_OnLoad"/>
<OnEvent function="ClassIcons_OnEvent"/>
</Scripts>
</Frame>
</Ui>