comparison ObjectiveTracker.xml @ 21:d5ee940de273

use hardcoded aesthetic manipulations over loadstring cramming
author Nenue
date Fri, 08 Apr 2016 06:12:05 -0400
parents 605e8f0e46db
children 9b3fa734abff
comparison
equal deleted inserted replaced
20:6bd2102d340b 21:d5ee940de273
1 <Ui> 1 <Ui>
2 2
3 <Frame name="VeneerObjectiveWrapper" parent="UIParent" movable="true" enableMouse="true" frameStrata="LOW"> 3 <Frame name="VeneerObjectiveWrapper" parent="UIParent" enableMouse="false" frameStrata="LOW">
4 <TitleRegion>
5 <Size x="300" y="30" />
6 <Anchors>
7 <Anchor point="TOP" />
8 <Anchor point="BOTTOM" relativePoint="TOP" x="0" y="-30" />
9 </Anchors>
10 </TitleRegion>
4 <Scripts> 11 <Scripts>
5 <OnLoad> 12 <OnLoad>
6 self.toggle = true 13 self.toggle = true
7 self.drag = true 14 --self.drag = true
8 Veneer.OnLoad(self) 15 Veneer.OnLoad(self)
9 </OnLoad> 16 </OnLoad>
10 <OnShow> 17 <OnShow>
11 </OnShow> 18 </OnShow>
12 <OnDragStart> 19 <OnDragStart>
14 </OnDragStart> 21 </OnDragStart>
15 <OnDragStop> 22 <OnDragStop>
16 Veneer.OnDragStop(self) 23 Veneer.OnDragStop(self)
17 Veneer.ObjectiveTracker.UpdateActionButtons() 24 Veneer.ObjectiveTracker.UpdateActionButtons()
18 </OnDragStop> 25 </OnDragStop>
19 <!--@debug@--> 26 <!--@config@-->
20 <!--@end-debug@--> 27 <!--@end-config@-->
21 </Scripts> 28 </Scripts>
22 <Anchors> 29 <Anchors>
23 <Anchor point="TOPRIGHT" x="-60" y="-240" /> 30 <Anchor point="TOPRIGHT" x="-60" y="-240" />
24 </Anchors> 31 </Anchors>
25 <Layers> 32 <Layers>
79 </Layers> 86 </Layers>
80 <Frames> 87 <Frames>
81 88
82 <ScrollFrame name="$parentScrollFrame" enableMouseWheel="true" parentKey="scrollArea" parentArray="minimizeFrames"> 89 <ScrollFrame name="$parentScrollFrame" enableMouseWheel="true" parentKey="scrollArea" parentArray="minimizeFrames">
83 <Anchors> 90 <Anchors>
84 <Anchor point="TOPLEFT" /> 91 <Anchor point="TOP" />
85 </Anchors> 92 </Anchors>
86 <Layers> 93 <Layers>
87 <Layer level="BACKGROUND"> 94 <Layer level="BACKGROUND">
88 <Texture setAllPoints="true" parentKey="bg"> 95 <Texture setAllPoints="true" parentKey="bg">
89 <Color r="0.15" g=".3" b=".3" a="0" /> 96 <Color r="0.15" g=".3" b=".3" a="0" />
93 <Frames> 100 <Frames>
94 101
95 102
96 <Frame name="VeneerObjectiveScroll"> 103 <Frame name="VeneerObjectiveScroll">
97 <Anchors> 104 <Anchors>
98 <Anchor point="TOPLEFT" /> 105 <Anchor point="TOP" />
99 </Anchors> 106 </Anchors>
100 <Layers> 107 <Layers>
101 <Layer level="BACKGROUND"> 108 <Layer level="BACKGROUND">
102 <Texture setAllPoints="true" parentKey="bg"> 109 <Texture setAllPoints="true" parentKey="bg">
103 <Color r="1" g="1" b="1" a="1" /> 110 <Color r="1" g="1" b="1" a="1" />
221 228
222 229
223 <Frame name="VeneerTrackerBlock" parent="VeneerObjectiveScroll" virtual="true" enableMouse="true"> 230 <Frame name="VeneerTrackerBlock" parent="VeneerObjectiveScroll" virtual="true" enableMouse="true">
224 <Layers> 231 <Layers>
225 <Layer level="BACKGROUND"> 232 <Layer level="BACKGROUND">
226 </Layer>
227 <Layer level="ARTWORK">
228 <Texture name="$parentTitleBackground" parentKey="titlebg"> 233 <Texture name="$parentTitleBackground" parentKey="titlebg">
229 <Color r="1" g="1" b="1" a="1" /> 234 <Color r="1" g="1" b="1" a="1" />
230 <Anchors> 235 <Anchors>
231 <Anchor point="TOPLEFT" /> 236 <Anchor point="LEFTTOP" x="0" y="0" />
237 <Anchor point="RIGHT" />
232 </Anchors> 238 </Anchors>
233 </Texture> 239 </Texture>
234 <Texture name="$parentStatusBackground" parentKey="statusbg"> 240 <Texture name="$parentStatusBackground" parentKey="statusbg">
235 <Anchors> 241 <Anchors>
236 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" /> 242 <Anchor point="LEFT" />
243 <Anchor point="RIGHT" />
244 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.titlebg" />
245 <Anchor point="BOTTOM" x="0" y="0" />
237 </Anchors> 246 </Anchors>
238 <Color r="1" g="1" b="1" a="1" /> 247 <Color r="1" g="1" b="1" a="1" />
239 <Gradient orientation="HORIZONTAL"> 248 <Gradient orientation="HORIZONTAL">
240 <MinColor r="0" g="0" b="0" a=".15" /> 249 <MinColor r="0" g="0" b="0" a=".15" />
241 <MaxColor r="0" g="0" b="0" a=".35" /> 250 <MaxColor r="0" g="0" b="0" a=".35" />
242 </Gradient> 251 </Gradient>
243 </Texture> 252 </Texture>
253 </Layer>
254 <Layer level="ARTWORK">
244 <Texture name="$parentItemTile" parentKey="icon" alphaMode="ADD" hidden="true"> 255 <Texture name="$parentItemTile" parentKey="icon" alphaMode="ADD" hidden="true">
245 <Size x="40" y="40" /> 256 <Size x="40" y="40" />
246 <TexCoords top="0.12" bottom="0.87" left="0.12" right="0.87" /> 257 <TexCoords top="0.12" bottom="0.87" left="0.12" right="0.87" />
247 <Anchors> 258 <Anchors>
248 <Anchor point="TOPRIGHT" x="0" y="0" /> 259 <Anchor point="TOPRIGHT" x="0" y="0" />
249 260
250 </Anchors> 261 </Anchors>
251 </Texture> 262 </Texture>
252 <Texture parentKey="TypeTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true"> 263 <Texture parentKey="typeTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true">
253 <Size x="18" y="18"/> 264 <Size x="18" y="18"/>
254 <Anchors> 265 <Anchors>
255 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.FrequencyTag" x="-3" y="-3"/> 266 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.FrequencyTag" x="-3" y="-3"/>
256 267
257 </Anchors> 268 </Anchors>
258 </Texture> 269 </Texture>
259 <Texture parentKey="FrequencyTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true"> 270 <Texture parentKey="frequencyTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true">
260 <Size x="18" y="18"/> 271 <Size x="18" y="18"/>
261 <Anchors> 272 <Anchors>
262 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.CompletionTag" x="-3" y="-3"/> 273 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.CompletionTag" x="-3" y="-3"/>
263 274
264 </Anchors> 275 </Anchors>
265 </Texture> 276 </Texture>
266 <Texture parentKey="CompletionTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true"> 277 <Texture parentKey="completionTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true">
267 <Size x="18" y="18"/> 278 <Size x="18" y="18"/>
268 <Anchors> 279 <Anchors>
269 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.icon" x="-3" y="-3"/> 280 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.icon" x="-3" y="-3"/>
270 281
271 </Anchors> 282 </Anchors>
272 </Texture> 283 </Texture>
273 <Texture parentKey="SelectionOverlay" setAllPoints="true" alphaMode="ADD" hidden="true"> 284 <Texture name="$parentMoneyTile" parentKey="money" hidden="true" />
285
286 <Texture parentKey="SelectionOverlay" alphaMode="ADD" hidden="true">
287 <Anchors>
288 <Anchor point="TOPLEFT" />
289 <Anchor point="BOTTOMRIGHT" />
290 </Anchors>
274 <Color r="1" g="1" b="1" a="1" /> 291 <Color r="1" g="1" b="1" a="1" />
275 <Gradient orientation="HORIZONTAL"> 292 <Gradient orientation="HORIZONTAL">
276 <MaxColor r="1" g="1" b="1" a="0.125" /> 293 <MaxColor r="1" g="0" b="0" a="0.7" />
277 <MinColor r="1" g="1" b="1" a="0.25" /> 294 <MinColor r="1" g="0" b="0" a="0.7" />
278 </Gradient> 295 </Gradient>
279 </Texture> 296 </Texture>
280 <Texture name="$parentMoneyTile" parentKey="money" hidden="true" />
281 </Layer>
282 <Layer level="HIGHLIGHT">
283 <Texture name="$parentHighLight" parentKey="highlight">
284 <Anchors>
285 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeKey="$parent.titlebg" />
286 <Anchor point="BOTTOM" relativePoint="TOP" relativeKey="$parent.titlebg" x="0" y="-4"/>
287 <Anchor point="RIGHT" relativePoint="RIGHT" />
288 </Anchors>
289 <Color r="1" g="1" b="1" a="1" />
290 <Gradient orientation="VERTICAL">
291 <MaxColor r="1" g="1" b="1" a=".15" />
292 <MinColor r="1" g="1" b="1" a="0" />
293 </Gradient>
294 </Texture>
295 <Texture name="$parentLowLight" parentKey="highlight2">
296 <Anchors>
297 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.statusbg" x="0" y="14" />
298 <Anchor point="BOTTOM" relativePoint="BOTTOM" relativeKey="$parent.statusbg" x="0" y="0"/>
299 <Anchor point="RIGHT" relativePoint="RIGHT" relativeKey="$parent" />
300 </Anchors>
301 <Color r="1" g="1" b="1" a="1" />
302 <Gradient orientation="VERTICAL">
303 <MaxColor r="1" g="1" b="1" a="0" />
304 <MinColor r="1" g="1" b="1" a="0.15" />
305 </Gradient>
306 </Texture>
307 </Layer> 297 </Layer>
308 <Layer level="OVERLAY"> 298 <Layer level="OVERLAY">
309 <FontString name="$parentTitle" parentKey="title" inherits="VeneerTitleFont" justifyH="LEFT" justifyV="MIDDLE"> 299 <FontString name="$parentTitle" parentKey="title" inherits="VeneerTitleFont" justifyH="LEFT" justifyV="TOP">
310 <Anchors> 300 <Anchors>
311 <Anchor point="TOP" relativeKey="$parent.titlebg" /> 301 <Anchor point="TOP" relativeKey="$parent.titlebg" />
312 <Anchor point="LEFT" relativeKey="$parent" /> 302 <Anchor point="LEFT" relativeKey="$parent" />
313 <Anchor point="RIGHT" relativeKey="$parent" /> 303 <Anchor point="RIGHT" relativeKey="$parent" />
314 </Anchors> 304 </Anchors>
315 </FontString> 305 </FontString>
316 <FontString name="$parentStatus" parentKey="status" inherits="VeneerCriteriaFontNormal" justifyH="LEFT" justifyV="MIDDLE" wordwrap="true"> 306 <FontString name="$parentStatus" parentKey="status" inherits="VeneerCriteriaFontNormal" justifyH="LEFT" justifyV="TOP" wordwrap="true">
317 <Anchors> 307 <Anchors>
318 <Anchor point="TOP" relativeKey="$parent.statusbg" /> 308 <Anchor point="TOP" relativeKey="$parent.statusbg" />
319 <Anchor point="LEFT" relativeKey="$parent" /> 309 <Anchor point="LEFT" relativeKey="$parent" />
320 <Anchor point="RIGHT" relativeKey="$parent" /> 310 <Anchor point="RIGHT" relativeKey="$parent" />
321 </Anchors> 311 </Anchors>
322 </FontString> 312 </FontString>
323 <FontString name="$parentDebugText" parentKey="debugText" inherits="VeneerCriteriaFontNormal" justifyH="RIGHT"> 313 <FontString name="$parentDebugText" parentKey="debugText" inherits="VeneerCriteriaFontNormal" justifyH="RIGHT" justifyV="TOP">
324 <Anchors> 314 <Anchors>
325 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" /> 315 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" />
326 </Anchors> 316 </Anchors>
327 </FontString> 317 </FontString>
328 <FontString name="$parentItemTileText" parentKey="iconLabel" inherits="VeneerCriteriaFontNormal"> 318 <FontString name="$parentItemTileText" parentKey="iconLabel" inherits="VeneerCriteriaFontNormal">
329 <Anchors> 319 <Anchors>
330 <Anchor point="TOPRIGHT" x="-2" y="-4" relativeKey="$parent.icon" /> 320 <Anchor point="TOPRIGHT" x="-1" y="-4" relativeKey="$parent.icon" />
331 </Anchors> 321 </Anchors>
332 </FontString> 322 </FontString>
323
324
325 <Texture alphaMode="BLEND" parentArray="config" hidden="true">
326 <Anchors>
327 <Anchor point="TOPLEFT" relativeKey="$parent.status" />
328 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" relativePoint="BOTTOMLEFT" x="1" y="0" />
329 </Anchors>
330 <Color r="1" g="1" b="1" a="1" />
331 </Texture>
332 <Texture alphaMode="BLEND" parentArray="config" hidden="true">
333 <Anchors>
334 <Anchor point="TOPLEFT" relativeKey="$parent.status" />
335 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" relativePoint="TOPRIGHT" x="0" y="-1" />
336 </Anchors>
337 <Color r="1" g="1" b="1" a="1" />
338 </Texture>
339 <Texture alphaMode="BLEND" parentArray="config" hidden="true">
340 <Anchors>
341 <Anchor point="TOPLEFT" relativeKey="$parent.status" relativePoint="BOTTOMLEFT" x="0" y="1" />
342 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" />
343 </Anchors>
344 <Color r="1" g="1" b="1" a="1" />
345 </Texture>
346
347 <Texture alphaMode="ADD" parentArray="config" hidden="true">
348 <Anchors>
349 <Anchor point="TOPLEFT" relativeKey="$parent.statusbg" x="-30" y="0" />
350 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" relativePoint="TOPRIGHT" x="30" y="0" />
351 </Anchors>
352 <Color r="0" g="1" b="0" a="0.5" />
353 </Texture>
354 <Texture alphaMode="BLEND" parentArray="config" hidden="true">
355 <Anchors>
356 <Anchor point="TOPLEFT" x="-35" y="0" />
357 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="-1" />
358 </Anchors>
359 <Color r="1" g="0" b="0" a="1" />
360 </Texture>
361 <Texture alphaMode="BLEND" parentArray="config" hidden="true">
362 <Anchors>
363 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="0" y="1" />
364 <Anchor point="BOTTOMRIGHT" x="35" y="0" />
365 </Anchors>
366 <Color r="1" g=".5" b="0" a="1" />
367 </Texture>
368
369 </Layer>
370 <Layer level="HIGHLIGHT">
371 <Texture name="$parentHighLight" parentKey="highlight">
372 <Anchors>
373 <Anchor point="TOPLEFT" />
374 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="-4"/>
375 </Anchors>
376 <Color r="1" g="1" b="1" a="1" />
377 <Gradient orientation="VERTICAL">
378 <MaxColor r="1" g="0" b=".5" a="1" />
379 <MinColor r="1" g="0" b=".5" a="0" />
380 </Gradient>
381 </Texture>
382 <Texture name="$parentLowLight" parentKey="lowlight">
383 <Anchors>
384 <Anchor point="TOP" relativePoint="BOTTOM" x="0" y="14" />
385 <Anchor point="BOTTOM" x="0" y="0"/>
386 <Anchor point="RIGHT" />
387 <Anchor point="LEFT" />
388 </Anchors>
389 <Color r="1" g="1" b="1" a="1" />
390 <Gradient orientation="VERTICAL">
391 <MaxColor r="1" g="0" b=".5" a="0" />
392 <MinColor r="1" g="0" b=".5" a="1" />
393 </Gradient>
394 </Texture>
395 </Layer>
396 </Layers>
397 </Frame>
398
399 <Frame name="VeneerTrackerObjective" virtual="true" hidden="true">
400 <Anchors>
401 <Anchor point="RIGHT" />
402 </Anchors>
403 <Layers>
404 <Layer level="OVERLAY">
405 <FontString inherits="VeneerCriteriaFontNormal" parentKey="status" wordwrap="true" justifyH="LEFT" justifyV="TOP">
406 <Anchors>
407 <Anchor point="TOP" />
408 <Anchor point="LEFT" />
409 <Anchor point="RIGHT" />
410 </Anchors>
411 </FontString>
412
413 <!-- debugging guides -->
414 <Texture alphaMode="BLEND" parentArray="config" hidden="true">
415 <Anchors>
416 <Anchor point="TOPLEFT" x="0" y="600" />
417 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" x="1" y="-600" />
418 </Anchors>
419 <Color r="0" g="1" b="0" a="1" />
420 </Texture>
421 <Texture alphaMode="ADD" parentArray="config" hidden="true">
422 <Anchors>
423 <Anchor point="TOPLEFT" relativeKey="$parent" x="0" y="600" />
424 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" relativePoint="BOTTOMLEFT" x="0" y="-600" />
425 </Anchors>
426 <Color r="0" g=".4" b="1" a=".25" />
427 </Texture>
428 <Texture alphaMode="BLEND" parentArray="config" hidden="true">
429 <Anchors>
430 <Anchor point="TOPLEFT" relativeKey="$parent.status" relativePoint="TOPRIGHT" x="-1" y="200" />
431 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" x="0" y="-600" />
432 </Anchors>
433 <Color r="0" g="1" b="0" a=".5" />
434 </Texture>
435
436 <Texture alphaMode="BLEND" parentArray="config" hidden="true">
437 <Anchors>
438 <Anchor point="TOPLEFT" relativeKey="$parent.status" x="-30" y="0" />
439 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" relativePoint="TOPRIGHT" x="0" y="-1" />
440 </Anchors>
441 <Color r="1" g="0" b="0" a="0.5" />
442 </Texture>
443 <Texture alphaMode="BLEND" parentArray="config" hidden="true">
444 <Anchors>
445 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.status" x="0" y="1" />
446 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.status" relativePoint="BOTTOMRIGHT" x="30" y="0" />
447 </Anchors>
448 <Color r="1" g="0" b="0" a="0.5" />
449 </Texture>
450
451 <!-- end debugging guides -->
452
453 </Layer>
454 <Layer level="BACKGROUND">
455 <Texture parentKey="statusbg">
456 <Anchors>
457 <Anchor point="TOP" />
458 <Anchor point="LEFT" />
459 <Anchor point="RIGHT" />
460 <Anchor point="BOTTOM" />
461 </Anchors>
462 </Texture>
333 </Layer> 463 </Layer>
334 </Layers> 464 </Layers>
335 </Frame> 465 </Frame>
336 466
337 <Include file="ObjectiveSecure.xml" /> 467 <Include file="ObjectiveSecure.xml" />