-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRecenterButtonTemplate.xml
More file actions
69 lines (66 loc) · 2.43 KB
/
Copy pathRecenterButtonTemplate.xml
File metadata and controls
69 lines (66 loc) · 2.43 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<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">
<!-- Copied from WorldMapTrackingPinButtonTemplate in Blizzard's \Interface\AddOns\Blizzard_WorldMap\Blizzard_WorldMapTemplates.xml -->
<Button name="RecenterButtonTemplate" frameStrata="HIGH" motionScriptsWhileDisabled="true" virtual="true" mixin="PersistentWorldMapRecenterButtonMixin">
<Size x="32" y="32"/>
<Layers>
<Layer level="BACKGROUND" textureSubLevel="-1">
<Texture atlas="MapCornerShadow-Right" useAtlasSize="true" hidden="true">
<Anchors>
<Anchor point="TOPRIGHT" x="4" y="1"/>
</Anchors>
<TexCoords left="0" right="1" top="1" bottom="0"/>
</Texture>
</Layer>
<Layer level="BACKGROUND">
<Texture parentKey="Background" file="Interface\Minimap\UI-Minimap-Background">
<Size x="25" y="25"/>
<Anchors>
<Anchor point="TOPLEFT" x="3" y="-4"/>
</Anchors>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture parentKey="Icon" atlas="Waypoint-MapPin-Untracked">
<Size x="20" y="20"/>
<Anchors>
<Anchor point="TOPLEFT" x="7" y="-6"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture parentKey="IconOverlay" hidden="true">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Icon"/>
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.Icon"/>
</Anchors>
<Color r="0.0" g="0.0" b="0.0" a="0.3"/>
</Texture>
</Layer>
<Layer level="OVERLAY" textureSubLevel="1">
<Texture parentKey="Border" file="Interface\Minimap\MiniMap-TrackingBorder">
<Size x="54" y="54"/>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY" textureSubLevel="2">
<Texture parentKey="ActiveTexture" file="Interface\Minimap\UI-Minimap-ZoomButton-Toggle" alphaMode="ADD" hidden="true">
<Size x="37" y="37"/>
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.Border" x="-2" y="1"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
<!-- Got to put these script references here for the methods to work with Krowi_WorldMapButtons. -->
<Scripts>
<OnClick method="OnClick"/>
<OnEnter method="OnEnter"/>
<OnLeave method="OnLeave"/>
</Scripts>
</Button>
</Ui>