-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathClutchButtons.xml
More file actions
105 lines (105 loc) · 4.59 KB
/
ClutchButtons.xml
File metadata and controls
105 lines (105 loc) · 4.59 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
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
<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="ClutchButtons.lua"/>
<Frame name="ClutchButtons" parent="VehicleMenuBar">
<Size>
<AbsDimension x="120" y="40"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="VehicleMenuBar" relativePoint="TOP">
<Offset>
<AbsDimension x="-162" y="31"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeft" file="Interface\ChatFrame\ChatFrameTab">
<Size>
<AbsDimension x="16" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<TexCoords left="0.0" right="0.25" top="0.0" bottom="1.0"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\ChatFrame\ChatFrameTab">
<Size>
<AbsDimension x="44" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.25" right="0.75" top="0.0" bottom="1.0"/>
</Texture>
<Texture name="$parentRight" file="Interface\ChatFrame\ChatFrameTab">
<Size>
<AbsDimension x="16" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.75" right="1.0" top="0.0" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Frames>
<CheckButton name="ClutchCheckButton" inherits="InterfaceOptionsSmallCheckButtonTemplate" checked="false">
<Size>
<AbsDimension x="26" y="26"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="LEFT">
<Offset>
<AbsDimension x="2" y="-1"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick function="ClutchCheckButton_OnClick" />
</Scripts>
</CheckButton>
<Button name="ClutchButton">
<Size>
<AbsDimension x="90" y="26"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="ClutchCheckButton" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<ButtonText name="$parentText" text="Default">
<Size>
<AbsDimension x="0" y="8"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="ClutchCheckButton" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</ButtonText>
<NormalFont style="GameFontNormalSmall"/>
<HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
<Anchors>
<Anchor point="LEFT" relativeTo="ClutchCheckButton" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="-7"/>
</Offset>
</Anchor>
<Anchor point="RIGHT" relativeTo="$parentRight">
<Offset>
<AbsDimension x="0" y="-7"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
<Scripts>
<OnClick function="ClutchButton_OnClick"/>
</Scripts>
</Button>
</Frames>
</Frame>
</Ui>