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/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2 ..\FrameXML\UI.xsd">
3  
4 <Script file="DiscoDice.lua"/>
5  
6 <Frame name="DiscoDiceBarTemplate" virtual="true" hidden="true" movable="true" parent="UIParent">
7 <Size>
8 <AbsDimension x="170" y="20" />
9 </Size>
10 <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" bgFile="Interface\Tooltips\UI-Tooltip-Background" tile="true">
11 <EdgeSize>
12 <AbsValue val="16" />
13 </EdgeSize>
14 <TileSize>
15 <AbsValue val="16" />
16 </TileSize>
17 <BackgroundInsets>
18 <AbsInset left="5" right="5" top="5" bottom="5" />
19 </BackgroundInsets>
20 </Backdrop>
21 <Layers>
22 <Layer level="OVERLAY">
23 <FontString name="$parentText" inherits="GameFontHighlight">
24 <Size>
25 <AbsDimension x="170" y="10"/>
26 </Size>
27 <Anchors>
28 <Anchor point="TOP">
29 <Offset>
30 <AbsDimension x="0" y="-4"/>
31 </Offset>
32 </Anchor>
33 </Anchors>
34 </FontString>
35 </Layer>
36 </Layers>
37 <Frames>
38 <StatusBar name="$parentStatusBar">
39 <Size>
40 <AbsDimension x="162" y="12"/>
41 </Size>
42 <Anchors>
43 <Anchor point="CENTER" relativeto="$parent">
44 <Offset>
45 <AbsDimension x="0" y="0"/>
46 </Offset>
47 </Anchor>
48 </Anchors>
49 <Layers>
50 <Layer level="OVERLAY">
51 <Texture name="$parentSpark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD">
52 <Size>
53 <AbsDimension x="32" y="40"/>
54 </Size>
55 <Anchors>
56 <Anchor point="CENTER">
57 <Offset>
58 <AbsDimension x="0" y="0"/>
59 </Offset>
60 </Anchor>
61 </Anchors>
62 </Texture>
63 </Layer>
64 </Layers>
65 <Scripts>
66 <OnLoad>
67 this:SetFrameLevel(this:GetFrameLevel() - 1)
68 </OnLoad>
69 </Scripts>
70 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
71 <BarColor r="0.5" g="0.5" b="1.0"/>
72 </StatusBar>
73 <StatusBar name="$parentStatusBarB">
74 <Size>
75 <AbsDimension x="162" y="12"/>
76 </Size>
77 <Anchors>
78 <Anchor point="CENTER" relativeto="$parent">
79 <Offset>
80 <AbsDimension x="0" y="0"/>
81 </Offset>
82 </Anchor>
83 </Anchors>
84 <Scripts>
85 <OnLoad>
86 this:SetFrameLevel(this:GetFrameLevel() - 2)
87 </OnLoad>
88 </Scripts>
89 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
90 <BarColor r="1" g="1" b="0"/>
91 </StatusBar>
92  
93 </Frames>
94 </Frame>
95  
96 <Frame name="DiscoDice" movable="true" parent="UIParent">
97 <Size>
98 <AbsDimension x="170" y="52" />
99 </Size>
100 <Anchors>
101 <Anchor point="TOPLEFT">
102 <Offset>
103 <AbsDimension x="0" y="0" />
104 </Offset>
105 </Anchor>
106 </Anchors>
107 <Scripts>
108 <OnLoad>
109 this:EnableMouse(0);
110 DiscoDice_Initialize();
111 </OnLoad>
112 <OnUpdate>
113 DiscoDice_OnUpdate();
114 </OnUpdate>
115 <OnEvent>
116 DiscoDice_OnEvent(event);
117 </OnEvent>
118 <OnMouseDown>
119 if ( DiscoDice_var == 3 ) then
120 test = 1;
121 else
122 this:StartMoving();
123 end
124 </OnMouseDown>
125 <OnMouseUp>
126 this:StopMovingOrSizing();
127 </OnMouseUp>
128 </Scripts>
129 </Frame>
130  
131 <Frame name="DiscoDiceBar1" parent="DiscoDice" inherits="DiscoDiceBarTemplate" movable="True">
132 <Anchors>
133 <Anchor point="TOPLEFT">
134 <Offset>
135 <AbsDimension x="0" y="0" />
136 </Offset>
137 </Anchor>
138 </Anchors>
139 <Scripts>
140 <OnShow>
141 </OnShow>
142 </Scripts>
143 </Frame>
144  
145 <Frame name="DiscoDiceBar2" parent="DiscoDice" inherits="DiscoDiceBarTemplate" movable="True">
146 <Anchors>
147 <Anchor point="TOPLEFT">
148 <Offset>
149 <AbsDimension x="0" y="-16" />
150 </Offset>
151 </Anchor>
152 </Anchors>
153 <Scripts>
154 <OnShow>
155 </OnShow>
156 </Scripts>
157 </Frame>
158 <Frame name="DiscoDiceBar3" parent="DiscoDice" inherits="DiscoDiceBarTemplate" movable="True">
159 <Anchors>
160 <Anchor point="TOPLEFT">
161 <Offset>
162 <AbsDimension x="0" y="-32" />
163 </Offset>
164 </Anchor>
165 </Anchors>
166 <Scripts>
167 <OnShow>
168 </OnShow>
169 </Scripts>
170 </Frame>
171 </Ui>