-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
SongsAndMountsPanel.xml
88 lines (88 loc) · 3.32 KB
/
SongsAndMountsPanel.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
86
87
88
<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">
<Frame name="ChocoboSongsAndMountsItemTemplate" virtual="true">
<Size x="0" y="22" />
<Layers>
<Layer level="OVERLAY">
<FontString parentKey="Text" inherits="GameFontNormal" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" x="0" y="0" />
<Anchor point="RIGHT" relativeKey="$parent.DeleteButton" x="-8" y="0" />
</Anchors>
</FontString>
</Layer>
<Layer level="HIGHLIGHT">
<Texture parentKey="Highlight" setAllPoints="true" alphaMode="ADD">
<Color r="1" g="0.75" b="0" a="0.2" />
</Texture>
</Layer>
</Layers>
<Frames>
<Button parentKey="DeleteButton">
<Size x="16" y="16" />
<Anchors>
<Anchor point="RIGHT" x="-4" y="0" />
</Anchors>
<NormalTexture setAllPoints="true" atlas="transmog-icon-remove" />
<HighlightTexture setAllPoints="true" atlas="transmog-icon-remove" alphaMode="ADD" />
<Scripts>
<OnClick>
CallMethodOnNearestAncestor(self, "RemoveItem", self:GetParent():GetID())
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Frame name="ChocoboSongsAndMountsListTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<FontString parentKey="Header" inherits="GameFontNormal" justifyH="CENTER">
<Size x="0" y="22" />
<Anchors>
<Anchor point="TOP" />
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<EditBox parentKey="EditBox" inherits="InputBoxTemplate" autoFocus="false" enableMouse="true">
<Size x="200" y="22" />
<Anchors>
<Anchor point="TOP" relativeKey="$parent.Header" relativePoint="BOTTOM" />
<Anchor point="LEFT" x="5" y="0" />
</Anchors>
</EditBox>
<Button parentKey="AddButton" inherits="UIPanelButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeKey="$parent.EditBox" relativePoint="TOPRIGHT" />
<Anchor point="BOTTOMLEFT" relativeKey="$parent.EditBox" relativePoint="BOTTOMRIGHT" />
<Anchor point="RIGHT" x="20" y="0" />
</Anchors>
</Button>
<Button parentKey="ResetButton" inherits="UIPanelButtonTemplate">
<Size y="30" />
<Anchors>
<Anchor point="BOTTOMLEFT" />
<Anchor point="BOTTOMRIGHT" x="20" y="0" />
</Anchors>
</Button>
<ScrollFrame parentKey="ListScrollFrame" inherits="HybridScrollFrameTemplate">
<Anchors>
<Anchor point="TOP" relativeKey="$parent.EditBox" relativePoint="BOTTOM" />
<Anchor point="LEFT" x="5" y="0"/>
<Anchor point="RIGHT" />
<Anchor point="BOTTOM" relativeKey="$parent.ResetButton" relativePoint="TOP" />
</Anchors>
<Frames>
<Slider parentKey="ScrollBar" inherits="HybridScrollBarTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="1" y="-16"/>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="1" y="12"/>
</Anchors>
</Slider>
</Frames>
</ScrollFrame>
</Frames>
</Frame>
</Ui>