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/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ |
2 | ..\FrameXML\UI.xsd"> |
||
3 | <Script file="XPerl_Party_Pet.lua"/> |
||
4 | |||
5 | <!-- Frame to display Party's health --> |
||
6 | |||
7 | <Frame name="XPerl_Party_Pet_EventFrame" hidden="true"> |
||
8 | <Scripts> |
||
9 | <OnLoad> |
||
10 | XPerl_Party_Pet_OnLoadEvents() |
||
11 | </OnLoad> |
||
12 | </Scripts> |
||
13 | </Frame> |
||
14 | |||
15 | <Frame name="XPerl_Party_Pet_FrameTemplate" clampedToScreen="true" frameStrata="LOW" toplevel="true" hidden="true" movable="false" virtual="true"> |
||
16 | <Size> |
||
17 | <!-- The size of this frame determines what can be clicked for the menu and moving, hence it is the same size as the name frame. --> |
||
18 | <AbsDimension x="80" y="60"/> |
||
19 | </Size> |
||
20 | |||
21 | <!-- Script Events --> |
||
22 | <Scripts> |
||
23 | <OnLoad> |
||
24 | XPerl_Party_Pet_OnLoad() |
||
25 | </OnLoad> |
||
26 | </Scripts> |
||
27 | |||
28 | <Frames> |
||
29 | <!-- Party Name --> |
||
30 | <Frame name="$parent_NameFrame"> |
||
31 | <Size> |
||
32 | <AbsDimension x="80" y="24"/> |
||
33 | </Size> |
||
34 | <Anchors> |
||
35 | <Anchor point="TOPLEFT"/> |
||
36 | </Anchors> |
||
37 | <Backdrop bgFile="Interface\Addons\XPerl\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
38 | <EdgeSize> |
||
39 | <AbsValue val="16"/> |
||
40 | </EdgeSize> |
||
41 | <TileSize> |
||
42 | <AbsValue val="32"/> |
||
43 | </TileSize> |
||
44 | <BackgroundInsets> |
||
45 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
46 | </BackgroundInsets> |
||
47 | </Backdrop> |
||
48 | <Layers> |
||
49 | <Layer level="OVERLAY"> |
||
50 | <!-- Combat Icon --> |
||
51 | <Texture name="$parent_ActivityStatus" file="Interface\CharacterFrame\UI-StateIcon"> |
||
52 | <Size> |
||
53 | <AbsDimension x="32" y="31"/> |
||
54 | </Size> |
||
55 | <Anchors> |
||
56 | <Anchor point="RIGHT" relativePoint="RIGHT"/> |
||
57 | </Anchors> |
||
58 | <TexCoords left="0.5" right = "1.0" top="0.0" bottom="0.5"/> |
||
59 | </Texture> |
||
60 | |||
61 | <!-- Warning Icon --> |
||
62 | <Texture name="$parent_Warning" file="Interface\Minimap\Ping\ping6" alphaMode="ADD" hidden="true"> |
||
63 | <Size> |
||
64 | <AbsDimension x="32" y="31"/> |
||
65 | </Size> |
||
66 | <Anchors> |
||
67 | <Anchor point="TOP" relativePoint="TOP"> |
||
68 | <Offset> |
||
69 | <AbsDimension x="0" y="2"/> |
||
70 | </Offset> |
||
71 | </Anchor> |
||
72 | </Anchors> |
||
73 | </Texture> |
||
74 | |||
75 | <FontString name="$parentText" inherits="GameFontNormalSmall" text="Error!" justifyH="LEFT"> |
||
76 | <Anchors> |
||
77 | <Anchor point="TOPLEFT"> |
||
78 | <Offset> |
||
79 | <AbsDimension x="5" y="0"/> |
||
80 | </Offset> |
||
81 | </Anchor> |
||
82 | <Anchor point="BOTTOMRIGHT"> |
||
83 | <Offset> |
||
84 | <AbsDimension x="0" y="1"/> |
||
85 | </Offset> |
||
86 | </Anchor> |
||
87 | </Anchors> |
||
88 | </FontString> |
||
89 | |||
90 | <FontString name="$parentLevelText" inherits="GameFontNormalSmall" text="Error!" justifyH="RIGHT"> |
||
91 | <Color r="1.0" g="1.0" b="0"/> |
||
92 | <Anchors> |
||
93 | <Anchor point="TOPLEFT"/> |
||
94 | <Anchor point="BOTTOMRIGHT"> |
||
95 | <Offset> |
||
96 | <AbsDimension x="-5" y="0"/> |
||
97 | </Offset> |
||
98 | </Anchor> |
||
99 | </Anchors> |
||
100 | </FontString> |
||
101 | </Layer> |
||
102 | </Layers> |
||
103 | </Frame> |
||
104 | |||
105 | <!-- Party Stats --> |
||
106 | <Frame name="$parent_StatsFrame" inherits="XPerl_Stats_Template"> |
||
107 | <Size> |
||
108 | <AbsDimension x="80" y="33"/> |
||
109 | </Size> |
||
110 | <Anchors> |
||
111 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_NameFrame"> |
||
112 | <Offset> |
||
113 | <AbsDimension x="0" y="4"/> |
||
114 | </Offset> |
||
115 | </Anchor> |
||
116 | </Anchors> |
||
117 | </Frame> |
||
118 | |||
119 | <Button name="$parent_CastClickOverlay" topLevel="true"> --frameStrata="MEDIUM"> |
||
120 | <HighlightTexture file="Interface\Addons\XPerl\Images\XPerl_Highlight" alphaMode="ADD"> |
||
121 | <TexCoords left="0.25" right="0.75" top="0" bottom="0.5"/> |
||
122 | </HighlightTexture> |
||
123 | <Anchors> |
||
124 | <Anchor point="TOPLEFT" relativeTo="$parent_NameFrame"/> |
||
125 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent_StatsFrame"/> |
||
126 | </Anchors> |
||
127 | <Scripts> |
||
128 | <OnLoad> |
||
129 | this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up'); |
||
130 | --this:RegisterForDrag("LeftButton"); |
||
131 | </OnLoad> |
||
132 | <OnClick> |
||
133 | XPerl_Party_Pet_OnClick(arg1); |
||
134 | </OnClick> |
||
135 | <OnEnter> |
||
136 | XPerl_Party_Pet_PlayerTip(); |
||
137 | </OnEnter> |
||
138 | <OnLeave> |
||
139 | XPerl_PlayerTipHide(); |
||
140 | </OnLeave> |
||
141 | </Scripts> |
||
142 | </Button> |
||
143 | |||
144 | <!-- Buffs Frame --> |
||
145 | |||
146 | <Frame name="$parent_BuffFrame"> |
||
147 | <Size> |
||
148 | <AbsDimension x="170" y="20"/> |
||
149 | </Size> |
||
150 | <Anchors> |
||
151 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_StatsFrame"> |
||
152 | <Offset> |
||
153 | <AbsDimension x="5" y="0"/> |
||
154 | </Offset> |
||
155 | </Anchor> |
||
156 | </Anchors> |
||
157 | </Frame> |
||
158 | </Frames> |
||
159 | </Frame> |
||
160 | |||
161 | <!-- |
||
162 | |||
163 | The Real Frames |
||
164 | |||
165 | --> |
||
166 | |||
167 | <Frame name="XPerl_partypet1" inherits="XPerl_Party_Pet_FrameTemplate" parent="UIParent" id="1"> |
||
168 | <Anchors> |
||
169 | <Anchor point="TOPLEFT" relativeTo="XPerl_party1_TargetFrame" relativePoint="TOPRIGHT"> |
||
170 | <Offset> |
||
171 | <AbsDimension x="-2" y="2"/> |
||
172 | </Offset> |
||
173 | </Anchor> |
||
174 | </Anchors> |
||
175 | </Frame> |
||
176 | <Frame name="XPerl_partypet2" inherits="XPerl_Party_Pet_FrameTemplate" parent="UIParent" id="2"> |
||
177 | <Anchors> |
||
178 | <Anchor point="TOPLEFT" relativeTo="XPerl_party2_TargetFrame" relativePoint="TOPRIGHT"> |
||
179 | <Offset> |
||
180 | <AbsDimension x="-2" y="2"/> |
||
181 | </Offset> |
||
182 | </Anchor> |
||
183 | </Anchors> |
||
184 | </Frame> |
||
185 | <Frame name="XPerl_partypet3" inherits="XPerl_Party_Pet_FrameTemplate" parent="UIParent" id="3"> |
||
186 | <Anchors> |
||
187 | <Anchor point="TOPLEFT" relativeTo="XPerl_party3_TargetFrame" relativePoint="TOPRIGHT"> |
||
188 | <Offset> |
||
189 | <AbsDimension x="-2" y="2"/> |
||
190 | </Offset> |
||
191 | </Anchor> |
||
192 | </Anchors> |
||
193 | </Frame> |
||
194 | <Frame name="XPerl_partypet4" inherits="XPerl_Party_Pet_FrameTemplate" parent="UIParent" id="4"> |
||
195 | <Anchors> |
||
196 | <Anchor point="TOPLEFT" relativeTo="XPerl_party4_TargetFrame" relativePoint="TOPRIGHT"> |
||
197 | <Offset> |
||
198 | <AbsDimension x="-2" y="2"/> |
||
199 | </Offset> |
||
200 | </Anchor> |
||
201 | </Anchors> |
||
202 | </Frame> |
||
203 | </Ui> |