vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
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/">
4 <Script file="FlightMapTimes.lua"/>
5  
6 <!-- This frame will only be shown when in flight. -->
7 <StatusBar name="FlightMapTimesFrame" toplevel="true" parent="UIParent"
8 hidden="true" movable="true" enableMouse="true"
9 drawLayer="BORDER">
10 <!-- Standard casting bar size is 195x13 -->
11 <Size>
12 <AbsDimension x="195" y="13"/>
13 </Size>
14  
15 <!-- Throw it right into the middle of the screen -->
16 <Anchors>
17 <Anchor point="CENTER"/>
18 </Anchors>
19  
20 <!-- Build up the layers of the bar -->
21 <Layers>
22 <!-- Alpha mask off the background a bit -->
23 <Layer level="BACKGROUND">
24 <Texture setAllPoints="true">
25 <Color r="0" g="0" b="0" a="0.5"/>
26 </Texture>
27 </Layer>
28  
29 <!-- The text and border are just artwork -->
30 <Layer level="ARTWORK">
31 <FontString name="FlightMapTimesText" inherits="GameFontHighlight">
32 <Size>
33 <AbsDimension x="185" y="16"/>
34 </Size>
35 <Anchors>
36 <Anchor point="TOP">
37 <Offset>
38 <AbsDimension x="0" y="5"/>
39 </Offset>
40 </Anchor>
41 </Anchors>
42 </FontString>
43 <Texture name="FlightMapTimesBorder"
44 file="Interface\CastingBar\UI-CastingBar-Border">
45 <Size>
46 <AbsDimension x="256" y="64"/>
47 </Size>
48 <Anchors>
49 <Anchor point="TOP">
50 <Offset>
51 <AbsDimension x="0" y="28"/>
52 </Offset>
53 </Anchor>
54 </Anchors>
55 </Texture>
56 </Layer>
57  
58 <Layer level="OVERLAY">
59 <!-- Overlay the moving spark to give a bright blended edge rather than
60 a sharp cut between done and not-done -->
61 <Texture name="FlightMapTimesSpark" alphaMode="ADD"
62 file="Interface\CastingBar\UI-CastingBar-Spark">
63 <Size>
64 <AbsDimension x="32" y="32"/>
65 </Size>
66 <Anchors>
67 <Anchor point="CENTER"/>
68 </Anchors>
69 </Texture>
70 <!-- Overlay a flash to cause the entire status bar to glow briefly as
71 it fades away -->
72 <Texture name="FlightMapTimesFlash" alphaMode="ADD"
73 file="Interface\CastingBar\UI-CastingBar-Flash">
74 <Size>
75 <AbsDimension x="256" y="64"/>
76 </Size>
77 <Anchors>
78 <Anchor point="TOP">
79 <Offset>
80 <AbsDimension x="0" y="28"/>
81 </Offset>
82 </Anchor>
83 </Anchors>
84 </Texture>
85 </Layer>
86 </Layers>
87  
88 <!-- StatusBar specific settings -->
89 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
90 <BarColor r="1.0" g="0.7" b="0.0"/>
91  
92 <!-- Make it dance! -->
93 <Scripts>
94 <OnLoad>
95 FlightMapTimes_OnLoad();
96 </OnLoad>
97 <OnUpdate>
98 FlightMapTimes_OnUpdate();
99 </OnUpdate>
100 <OnDragStart>
101 FlightMapTimes_OnDragStart();
102 </OnDragStart>
103 <OnDragStop>
104 FlightMapTimes_OnDragStop();
105 </OnDragStop>
106 <OnMouseUp>
107 FlightMapTimes_OnDragStop();
108 </OnMouseUp>
109 <OnEnter>
110 GameTooltip_AddNewbieTip(FLIGHTMAP_NAME, 1.0, 1.0, 1.0,
111 FLIGHTMAP_TIMER_HELP, 1);
112 </OnEnter>
113 <OnLeave>
114 GameTooltip:Hide();
115 </OnLeave>
116 </Scripts>
117 </StatusBar>
118 </Ui>