vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" |
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||
3 | xsi:schemaLocation="http://www.blizzard.com/wow/ui/..\FrameXML\UI.xsd"> |
||
4 | |||
5 | <Script file="Bagnon.lua"/> |
||
6 | |||
7 | <Button name="BagnonKeyButton" virtual="true"> |
||
8 | <Size x="18" y="39"/> |
||
9 | |||
10 | <Scripts> |
||
11 | <OnLoad> |
||
12 | this:SetID(-2); |
||
13 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
14 | </OnLoad> |
||
15 | <OnEnter> |
||
16 | BagnonBag_OnEnter(); |
||
17 | </OnEnter> |
||
18 | <OnLeave> |
||
19 | BagnonBag_OnLeave(); |
||
20 | </OnLeave> |
||
21 | <OnClick> |
||
22 | BagnonBag_OnClick(); |
||
23 | </OnClick> |
||
24 | <OnReceiveDrag> |
||
25 | BagnonBag_OnClick(); |
||
26 | </OnReceiveDrag> |
||
27 | </Scripts> |
||
28 | |||
29 | <NormalTexture file="Interface\Buttons\UI-Button-KeyRing"> |
||
30 | <TexCoords left="0" right="0.5625" top="0" bottom="0.609375"/> |
||
31 | </NormalTexture> |
||
32 | <HighlightTexture file="Interface\Buttons\UI-Button-KeyRing-Highlight" alphaMode="ADD"> |
||
33 | <TexCoords left="0" right="0.5625" top="0" bottom="0.609375"/> |
||
34 | </HighlightTexture> |
||
35 | <PushedTexture file="Interface\Buttons\UI-Button-KeyRing-Down"> |
||
36 | <TexCoords left="0" right="0.5625" top="0" bottom="0.609375"/> |
||
37 | </PushedTexture> |
||
38 | </Button> |
||
39 | |||
40 | <Frame name="BagnonBagSlots" inherits="BagnonBagSlotsTemplate" virtual="true"> |
||
41 | <Size x="188" y="42"/> |
||
42 | |||
43 | <Frames> |
||
44 | <Button name="$parent1" inherits="BagnonBagTemplate" id="1"> |
||
45 | <Anchors> |
||
46 | <Anchor point="BOTTOMLEFT"> |
||
47 | <Offset x="8" y="4"/> |
||
48 | </Anchor> |
||
49 | </Anchors> |
||
50 | </Button> |
||
51 | <Button name="$parent2" inherits="BagnonBagTemplate" id="2"> |
||
52 | <Anchors> |
||
53 | <Anchor point="LEFT" relativeTo="$parent1" relativePoint="RIGHT"> |
||
54 | <Offset x="2" y="0"/> |
||
55 | </Anchor> |
||
56 | </Anchors> |
||
57 | </Button> |
||
58 | <Button name="$parent3" inherits="BagnonBagTemplate" id="3"> |
||
59 | <Anchors> |
||
60 | <Anchor point="LEFT" relativeTo="$parent2" relativePoint="RIGHT"> |
||
61 | <Offset x="2" y="0"/> |
||
62 | </Anchor> |
||
63 | </Anchors> |
||
64 | </Button> |
||
65 | <Button name="$parent4" inherits="BagnonBagTemplate" id="4"> |
||
66 | <Anchors> |
||
67 | <Anchor point="LEFT" relativeTo="$parent3" relativePoint="RIGHT"> |
||
68 | <Offset x="2" y="0"/> |
||
69 | </Anchor> |
||
70 | </Anchors> |
||
71 | </Button> |
||
72 | <Button name="$parentKey" inherits="BagnonKeyButton" id="-2"> |
||
73 | <Anchors> |
||
74 | <Anchor point="LEFT" relativeTo="$parent4" relativePoint="RIGHT"> |
||
75 | <Offset x="2" y="0"/> |
||
76 | </Anchor> |
||
77 | </Anchors> |
||
78 | </Button> |
||
79 | </Frames> |
||
80 | </Frame> |
||
81 | |||
82 | <Button name="Bagnon" inherits="BagnonFrameTemplate"> |
||
83 | <Anchors> |
||
84 | <Anchor point="RIGHT"> |
||
85 | <Offset x="-4" y="-100"/> |
||
86 | </Anchor> |
||
87 | </Anchors> |
||
88 | |||
89 | <Frames> |
||
90 | <Frame name="$parentBags" inherits="BagnonBagSlots" hidden="true"> |
||
91 | <Anchors> |
||
92 | <Anchor point="BOTTOMLEFT"> |
||
93 | <Offset x="0" y="24"/> |
||
94 | </Anchor> |
||
95 | </Anchors> |
||
96 | </Frame> |
||
97 | |||
98 | <Button name="$parentShowBags" text="BAGNON_SHOWBAGS"> |
||
99 | <Size x="72" y="32"/> |
||
100 | |||
101 | <Anchors> |
||
102 | <Anchor point="BOTTOMLEFT"> |
||
103 | <Offset x="10" y="0"/> |
||
104 | </Anchor> |
||
105 | </Anchors> |
||
106 | <Scripts> |
||
107 | <OnClick> |
||
108 | Bagnon_ToggleBags(); |
||
109 | </OnClick> |
||
110 | </Scripts> |
||
111 | |||
112 | <ButtonText setAllPoints="true"/> |
||
113 | <NormalFont font="GameFontNormal" justifyH="LEFT"/> |
||
114 | <HighlightFont font="GameFontHighlight" justifyH="LEFT"/> |
||
115 | </Button> |
||
116 | </Frames> |
||
117 | |||
118 | <Scripts> |
||
119 | <OnLoad> |
||
120 | Bagnon_OnLoad(); |
||
121 | </OnLoad> |
||
122 | <OnEvent> |
||
123 | Bagnon_OnEvent(event); |
||
124 | </OnEvent> |
||
125 | <OnShow> |
||
126 | Bagnon_OnShow(); |
||
127 | </OnShow> |
||
128 | <OnHide> |
||
129 | BagnonFrame_OnHide(); |
||
130 | Bagnon_OnHide(); |
||
131 | </OnHide> |
||
132 | </Scripts> |
||
133 | </Button> |
||
134 | </Ui> |