forked from Silencer2K/wow-action-bar-profiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathButton.xml
62 lines (62 loc) · 2.27 KB
/
Button.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
<?xml version="1.0" encoding="UTF-8"?>
<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">
<Button name="PaperDollActionBarProfilesButton" motionScriptsWhileDisabled="true" virtual="true">
<Size x="33" y="35"/>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\PaperDollInfoFrame\PaperDollSidebarTabs" parentKey="TabBg">
<Size x="50" y="43"/>
<Anchors>
<Anchor point="BOTTOMLEFT" x="-9" y="-2"/>
</Anchors>
<TexCoords left="0.01562500" right="0.79687500" top="0.61328125" bottom="0.78125000"/>
</Texture>
</Layer>
<Layer level="ARTWORK">
<Texture parentKey="Icon" file="Interface\AddOns\ActionBarProfiles\textures\CharDollBtn">
<Size x="33" y="35"/>
<Anchors>
<Anchor point="BOTTOM" x="1" y="-2"/>
</Anchors>
<TexCoords left="0" right="0.515625" top="0" bottom="0.13671875"/>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture parentKey="Hider" file="Interface\PaperDollInfoFrame\PaperDollSidebarTabs">
<Size x="34" y="19"/>
<Anchors>
<Anchor point="BOTTOM"/>
</Anchors>
<TexCoords left="0.01562500" right="0.54687500" top="0.11328125" bottom="0.18750000"/>
</Texture>
</Layer>
<Layer level="HIGHLIGHT">
<Texture parentKey="Highlight" file="Interface\PaperDollInfoFrame\PaperDollSidebarTabs">
<Size x="31" y="31"/>
<Anchors>
<Anchor point="TOPLEFT" x="2" y="-3"/>
</Anchors>
<TexCoords left="0.01562500" right="0.50000000" top="0.19531250" bottom="0.31640625"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnClick>
PaperDollFrame_SetSidebar(self, self:GetID());
</OnClick>
<OnEnable>
self:SetAlpha(1);
self.Icon:SetDesaturation(0);
</OnEnable>
<OnDisable>
self:SetAlpha(0.5);
self.Icon:SetDesaturation(1);
</OnDisable>
<!-- <OnEnter function="PaperDollFrame_SidebarTab_OnEnter" />
<OnLeave>
GameTooltip:Hide();
</OnLeave> -->
</Scripts>
</Button>
</Ui>