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 | C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> |
||
3 | <Script file="CT_RABossMods.lua"/> |
||
4 | <Frame name="CT_RAMenuBossModTemplate" virtual="true" hidden="false"> |
||
5 | <Size> |
||
6 | <AbsDimension x="515" y="25"/> |
||
7 | </Size> |
||
8 | <Layers> |
||
9 | <Layer level="ARTWORK"> |
||
10 | <FontString name="$parentShowHide" justifyH="CENTER" justifyV="CENTER" hidden="true" font="Fonts\ARIALN.TTF"> |
||
11 | <Size> |
||
12 | <AbsDimension x="12" y="20"/> |
||
13 | </Size> |
||
14 | <FontHeight> |
||
15 | <AbsValue val="20"/> |
||
16 | </FontHeight> |
||
17 | <Color r="1.0" g="0.82" b="0"/> |
||
18 | <Shadow> |
||
19 | <Offset> |
||
20 | <AbsDimension x="1" y="-1"/> |
||
21 | </Offset> |
||
22 | <Color r="0" g="0" b="0"/> |
||
23 | </Shadow> |
||
24 | <Anchors> |
||
25 | <Anchor point="LEFT"/> |
||
26 | </Anchors> |
||
27 | </FontString> |
||
28 | <FontString name="$parentName" inherits="ChatFontNormal" hidden="false"> |
||
29 | <Anchors> |
||
30 | <Anchor point="TOPLEFT"/> |
||
31 | </Anchors> |
||
32 | </FontString> |
||
33 | <FontString name="$parentDescript" justifyH="LEFT" inherits="GameFontNormalSmall" hidden="false"> |
||
34 | <Size> |
||
35 | <AbsDimension x="480" y="12"/> |
||
36 | </Size> |
||
37 | <Anchors> |
||
38 | <Anchor point="BOTTOMLEFT"> |
||
39 | <Offset> |
||
40 | <AbsDimension x="45" y="0"/> |
||
41 | </Offset> |
||
42 | </Anchor> |
||
43 | </Anchors> |
||
44 | </FontString> |
||
45 | <FontString name="$parentStatus" inherits="ChatFontNormal" hidden="false"> |
||
46 | <Anchors> |
||
47 | <Anchor point="TOPRIGHT"/> |
||
48 | </Anchors> |
||
49 | </FontString> |
||
50 | <Texture name="$parentLine" file="Interface\Tooltips\UI-Tooltip-Background" hidden="false"> |
||
51 | <Size> |
||
52 | <AbsDimension x="525" y="1"/> |
||
53 | </Size> |
||
54 | <Anchors> |
||
55 | <Anchor point="BOTTOM"> |
||
56 | <Offset> |
||
57 | <AbsDimension x="0" y="-5"/> |
||
58 | </Offset> |
||
59 | </Anchor> |
||
60 | </Anchors> |
||
61 | </Texture> |
||
62 | </Layer> |
||
63 | </Layers> |
||
64 | <Frames> |
||
65 | <Frame name="$parentMenu" inherits="UIDropDownMenuTemplate" hidden="true"> |
||
66 | <Size> |
||
67 | <AbsDimension x="128" y="16"/> |
||
68 | </Size> |
||
69 | <Anchors> |
||
70 | <Anchor point="RIGHT"> |
||
71 | <Offset> |
||
72 | <AbsDimension x="-10" y="-3"/> |
||
73 | </Offset> |
||
74 | </Anchor> |
||
75 | </Anchors> |
||
76 | </Frame> |
||
77 | </Frames> |
||
78 | <Scripts> |
||
79 | <OnMouseUp> |
||
80 | if ( this.header ) then |
||
81 | CT_RAMenuBoss_ToggleHeader(this.headername); |
||
82 | CloseMenus(); |
||
83 | else |
||
84 | ToggleDropDownMenu(1, nil, getglobal(this:GetName() .. "Menu"), "cursor"); |
||
85 | end |
||
86 | </OnMouseUp> |
||
87 | <OnEnter> |
||
88 | this.mouseIsOver = 1; |
||
89 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
90 | if ( this.header and not this.expanded ) then |
||
91 | GameTooltip:SetText("Click to expand"); |
||
92 | elseif ( this.header ) then |
||
93 | GameTooltip:SetText("Click to contract"); |
||
94 | elseif ( not this.header ) then |
||
95 | GameTooltip:SetText("Click to open options"); |
||
96 | end |
||
97 | </OnEnter> |
||
98 | <OnLeave> |
||
99 | this.mouseIsOver = nil; |
||
100 | GameTooltip:Hide(); |
||
101 | </OnLeave> |
||
102 | </Scripts> |
||
103 | </Frame> |
||
104 | <Button name="CT_RAMenuFrameHomeButton7" id="8" parent="CT_RAMenuFrameHome" inherits="CT_RAMenuFrameButtonTemplate"> |
||
105 | <Anchors> |
||
106 | <Anchor point="TOPLEFT" relativeTo="$parentButton6" relativePoint="BOTTOMLEFT"> |
||
107 | <Offset> |
||
108 | <AbsDimension x="0" y="0"/> |
||
109 | </Offset> |
||
110 | </Anchor> |
||
111 | </Anchors> |
||
112 | <Scripts> |
||
113 | <OnClick> |
||
114 | CT_RABoss_OnClick(); |
||
115 | </OnClick> |
||
116 | </Scripts> |
||
117 | </Button> |
||
118 | <Frame name="CT_RABossModsFrame" parent="UIParent"> |
||
119 | <Scripts> |
||
120 | <OnLoad> |
||
121 | CT_RABoss_OnLoad(); |
||
122 | </OnLoad> |
||
123 | <OnEvent> |
||
124 | CT_RABoss_OnEvent(event); |
||
125 | </OnEvent> |
||
126 | <OnUpdate> |
||
127 | CT_RABoss_OnUpdate(arg1); |
||
128 | </OnUpdate> |
||
129 | </Scripts> |
||
130 | </Frame> |
||
131 | <Frame name="CT_RAMenuFrameBoss" setAllPoints="true" parent="CT_RAMenuFrame" hidden="true"> |
||
132 | <Layers> |
||
133 | <Layer level="BACKGROUND"> |
||
134 | <FontString name="$parentTitle" inherits="GameFontHighlightSmall" text="Boss Mods"> |
||
135 | <Anchors> |
||
136 | <Anchor point="TOP"> |
||
137 | <Offset> |
||
138 | <AbsDimension x="0" y="-60"/> |
||
139 | </Offset> |
||
140 | </Anchor> |
||
141 | </Anchors> |
||
142 | </FontString> |
||
143 | <FontString name="$parentInfo" inherits="GameFontNormal" text="CT_RAMENU_BOSSMODS" justifyH="LEFT" justifyV="TOP"> |
||
144 | <Size> |
||
145 | <AbsDimension x="545" y="65"/> |
||
146 | </Size> |
||
147 | <Anchors> |
||
148 | <Anchor point="TOPLEFT"> |
||
149 | <Offset> |
||
150 | <AbsDimension x="25" y="-75"/> |
||
151 | </Offset> |
||
152 | </Anchor> |
||
153 | </Anchors> |
||
154 | </FontString> |
||
155 | </Layer> |
||
156 | </Layers> |
||
157 | <Frames> |
||
158 | <Frame name="$parentMod1" id="1" inherits="CT_RAMenuBossModTemplate" hidden="false"> |
||
159 | <Anchors> |
||
160 | <Anchor point="TOPLEFT"> |
||
161 | <Offset> |
||
162 | <AbsDimension x="30" y="-131"/> |
||
163 | </Offset> |
||
164 | </Anchor> |
||
165 | </Anchors> |
||
166 | </Frame> |
||
167 | <Frame name="$parentMod2" id="2" inherits="CT_RAMenuBossModTemplate" hidden="false"> |
||
168 | <Anchors> |
||
169 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentMod1"> |
||
170 | <Offset> |
||
171 | <AbsDimension x="0" y="-8"/> |
||
172 | </Offset> |
||
173 | </Anchor> |
||
174 | </Anchors> |
||
175 | </Frame> |
||
176 | <Frame name="$parentMod3" id="3" inherits="CT_RAMenuBossModTemplate" hidden="false"> |
||
177 | <Anchors> |
||
178 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentMod2"> |
||
179 | <Offset> |
||
180 | <AbsDimension x="0" y="-8"/> |
||
181 | </Offset> |
||
182 | </Anchor> |
||
183 | </Anchors> |
||
184 | </Frame> |
||
185 | <Frame name="$parentMod4" id="4" inherits="CT_RAMenuBossModTemplate" hidden="false"> |
||
186 | <Anchors> |
||
187 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentMod3"> |
||
188 | <Offset> |
||
189 | <AbsDimension x="0" y="-8"/> |
||
190 | </Offset> |
||
191 | </Anchor> |
||
192 | </Anchors> |
||
193 | </Frame> |
||
194 | <Frame name="$parentMod5" id="5" inherits="CT_RAMenuBossModTemplate" hidden="false"> |
||
195 | <Anchors> |
||
196 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentMod4"> |
||
197 | <Offset> |
||
198 | <AbsDimension x="0" y="-8"/> |
||
199 | </Offset> |
||
200 | </Anchor> |
||
201 | </Anchors> |
||
202 | </Frame> |
||
203 | <Frame name="$parentMod6" id="6" inherits="CT_RAMenuBossModTemplate" hidden="false"> |
||
204 | <Anchors> |
||
205 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentMod5"> |
||
206 | <Offset> |
||
207 | <AbsDimension x="0" y="-8"/> |
||
208 | </Offset> |
||
209 | </Anchor> |
||
210 | </Anchors> |
||
211 | </Frame> |
||
212 | <Frame name="$parentMod7" id="7" inherits="CT_RAMenuBossModTemplate" hidden="false"> |
||
213 | <Anchors> |
||
214 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentMod6"> |
||
215 | <Offset> |
||
216 | <AbsDimension x="0" y="-8"/> |
||
217 | </Offset> |
||
218 | </Anchor> |
||
219 | </Anchors> |
||
220 | </Frame> |
||
221 | <Frame name="$parentMod8" id="8" inherits="CT_RAMenuBossModTemplate" hidden="false"> |
||
222 | <Anchors> |
||
223 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentMod7"> |
||
224 | <Offset> |
||
225 | <AbsDimension x="0" y="-8"/> |
||
226 | </Offset> |
||
227 | </Anchor> |
||
228 | </Anchors> |
||
229 | </Frame> |
||
230 | <Frame name="$parentMod9" id="9" inherits="CT_RAMenuBossModTemplate" hidden="false"> |
||
231 | <Anchors> |
||
232 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentMod8"> |
||
233 | <Offset> |
||
234 | <AbsDimension x="0" y="-8"/> |
||
235 | </Offset> |
||
236 | </Anchor> |
||
237 | </Anchors> |
||
238 | </Frame> |
||
239 | <Frame name="$parentMod10" id="10" inherits="CT_RAMenuBossModTemplate" hidden="false"> |
||
240 | <Anchors> |
||
241 | <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parentMod9"> |
||
242 | <Offset> |
||
243 | <AbsDimension x="0" y="-8"/> |
||
244 | </Offset> |
||
245 | </Anchor> |
||
246 | </Anchors> |
||
247 | </Frame> |
||
248 | <ScrollFrame name="$parentScrollFrame" inherits="FauxScrollFrameTemplate"> |
||
249 | <Size> |
||
250 | <AbsDimension x="500" y="330"/> |
||
251 | </Size> |
||
252 | <Anchors> |
||
253 | <Anchor point="TOPLEFT"> |
||
254 | <Offset> |
||
255 | <AbsDimension x="50" y="-130"/> |
||
256 | </Offset> |
||
257 | </Anchor> |
||
258 | </Anchors> |
||
259 | <Scripts> |
||
260 | <OnVerticalScroll> |
||
261 | FauxScrollFrame_OnVerticalScroll(25, CT_RAMenuBoss_Update); |
||
262 | </OnVerticalScroll> |
||
263 | </Scripts> |
||
264 | </ScrollFrame> |
||
265 | <Button name="$parentCancel" inherits="GameMenuButtonTemplate" text="Close"> |
||
266 | <Anchors> |
||
267 | <Anchor point="BOTTOMRIGHT"> |
||
268 | <Offset> |
||
269 | <AbsDimension x="-53" y="21"/> |
||
270 | </Offset> |
||
271 | </Anchor> |
||
272 | |||
273 | </Anchors> |
||
274 | <Scripts> |
||
275 | <OnClick> |
||
276 | HideUIPanel(CT_RAMenuFrame); |
||
277 | </OnClick> |
||
278 | </Scripts> |
||
279 | </Button> |
||
280 | <Button name="$parentBack" inherits="GameMenuButtonTemplate" text="Back"> |
||
281 | <Anchors> |
||
282 | <Anchor point="RIGHT" relativeTo="$parentCancel" relativePoint="LEFT"> |
||
283 | <Offset> |
||
284 | <AbsDimension x="-5" y="0"/> |
||
285 | </Offset> |
||
286 | </Anchor> |
||
287 | </Anchors> |
||
288 | <Scripts> |
||
289 | <OnClick> |
||
290 | CT_RAMenu_ShowHome(); |
||
291 | </OnClick> |
||
292 | </Scripts> |
||
293 | </Button> |
||
294 | </Frames> |
||
295 | <Scripts> |
||
296 | <OnShow> |
||
297 | CT_RAMenuBoss_Update(); |
||
298 | </OnShow> |
||
299 | </Scripts> |
||
300 | </Frame> |
||
301 | </Ui> |