vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <!-- TargetOfTarget: Keeps Target of Target shown below TargetFrame -->
2 <!-- -->
3 <!-- Copyright (c) 2005 Itchyban of Veeshan -->
4 <!-- -->
5 <!-- Version 2.1 Beta 1 -->
6 <!-- -->
7 <!-- $Header: /usr/local/cvsroot/WoW/Interface/AddOns/TargetOfTarget/TargetOfTarget.xml,v 1.48 2005/05/30 17:09:49 jeff Exp $ -->
8  
9 <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/
10 ../../FrameXML/UI.xsd">
11  
12 <Script file="TargetOfTarget.lua"/>
13 <Script file="AlternateUIs.lua"/>
14 <Script file="LocalUIs.lua"/>
15  
16 <Button name="HoTT_Display"
17 frameStrata="MEDIUM"
18 parent="UIParent"
19 enableMouse="true">
20  
21 <Scripts>
22 <OnClick>
23 HoTT_Display_OnClick(arg1);
24 </OnClick>
25  
26 <OnLoad>
27 this:RegisterEvent("PLAYER_TARGET_CHANGED");
28 this:RegisterEvent("PLAYER_ENTERING_WORLD");
29 this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
30 </OnLoad>
31  
32 <OnEvent>
33 HoTT_Display_OnEvent()
34 </OnEvent>
35  
36 <OnUpdate>
37 HoTT_Display_OnUpdate(arg1);
38 </OnUpdate>
39 </Scripts>
40  
41 <Size>
42 <AbsDimension x="127" y="30"/>
43 </Size>
44  
45 <Anchors>
46 <Anchor point="TOPLEFT"
47 relativeTo="TargetFrameHealthBar"
48 relativePoint="BOTTOMLEFT">
49 <Offset>
50 <AbsDimension x="-5" y="-36"/>
51 </Offset>
52 </Anchor>
53  
54 <Anchor point="TOPRIGHT"
55 relativeTo="TargetFrameHealthBar"
56 relativePoint="BOTTOMRIGHT">
57 <Offset>
58 <AbsDimension x="3" y="-36"/>
59 </Offset>
60 </Anchor>
61 </Anchors>
62  
63 <Frames>
64  
65  
66 <Frame name="HoTT_Display_NameArea"
67 frameStrata="MEDIUM"
68 parent="HoTT_Display"
69 enableMouse="false">
70  
71 <Scripts>
72 <OnLoad>
73 HoTT_Display_NameArea_Text:SetText("(undetermined)");
74 </OnLoad>
75 </Scripts>
76  
77 <Size>
78 <AbsDimension x="127" y="24"/>
79 </Size>
80  
81 <Anchors>
82 <Anchor point="TOPLEFT"
83 relativePoint="TOPLEFT">
84 <Offset>
85 <AbsDimension x="0" y="0"/>
86 </Offset>
87 </Anchor>
88  
89 <Anchor point="TOPRIGHT"
90 relativePoint="TOPRIGHT">
91 <Offset>
92 <AbsDimension x="0" y="0"/>
93 </Offset>
94 </Anchor>
95 </Anchors>
96  
97 <Backdrop bgFile="Interface/DialogFrame/UI-DialogBox-Background"
98 edgeFile="Interface/Tooltips/UI-Tooltip-Border"
99 tile="true">
100  
101 <BackgroundInsets>
102 <AbsInset left="5" right="5" top="5" bottom="5"/>
103 </BackgroundInsets>
104  
105 <TileSize>
106 <AbsValue val="16"/>
107 </TileSize>
108  
109 <EdgeSize>
110 <AbsValue val="16"/>
111 </EdgeSize>
112 </Backdrop>
113  
114 <Layers>
115 <Layer level="ARTWORK">
116 <FontString name="HoTT_Display_NameArea_Text"
117 inherits="GameFontNormalSmall"
118 justifyH="CENTER">
119 <Anchors>
120 <Anchor point="LEFT">
121 <Offset>
122 <AbsDimension x="0" y="0" />
123 </Offset>
124 </Anchor>
125 <Anchor point="RIGHT">
126 <Offset>
127 <AbsDimension x="0" y="0" />
128 </Offset>
129 </Anchor>
130 </Anchors>
131  
132 <Scripts>
133 <OnLoad>
134 this:SetText("(undetermined)");
135 </OnLoad>
136 </Scripts>
137  
138 </FontString>
139 </Layer>
140 <Layer level="OVERLAY">
141 <Texture name="HoTT_Display_Dead"
142 file="Interface\TargetingFrame\UI-TargetingFrame-Skull">
143 <Size>
144 <AbsDimension x="16" y="16"/>
145 </Size>
146 <Anchors>
147 <Anchor point="CENTER">
148 <Offset>
149 <AbsDimension x="0" y="0"/>
150 </Offset>
151 </Anchor>
152 </Anchors>
153 <Color r="1.0" g="1.0" b="1.0" a="0.5"/>
154 </Texture>
155 </Layer>
156 </Layers>
157 </Frame>
158  
159  
160 <StatusBar name="HoTT_Display_Bar"
161 inherits="TextStatusBar"
162 parent="HoTT_Display">
163  
164 <Size>
165 <AbsDimension x="123" y="6"/>
166 </Size>
167  
168 <Anchors>
169 <Anchor point="TOPLEFT"
170 relativeTo="HoTT_Display_NameArea"
171 relativePoint="BOTTOMLEFT">
172 <Offset>
173 <AbsDimension x="2" y="0"/>
174 </Offset>
175 </Anchor>
176 <Anchor point="TOPRIGHT"
177 relativeTo="HoTT_Display_NameArea"
178 relativePoint="BOTTOMRIGHT">
179 <Offset>
180 <AbsDimension x="-2" y="0"/>
181 </Offset>
182 </Anchor>
183 </Anchors>
184  
185 <Scripts>
186 <OnLoad>
187 --this:SetMinMaxValues(0,100);
188 --this:SetValue(100);
189 --this:RegisterEvent("UNIT_HEALTH");
190 --this:RegisterEvent("UNIT_MAXHEALTH");
191 </OnLoad>
192  
193 <OnValueChanged>
194 --HoTT_Display_Bar_OnValueChanged(arg1)
195 </OnValueChanged>
196  
197 <OnEvent>
198 --HoTT_Display_Bar_OnEvent(arg1)
199 </OnEvent>
200  
201 <OnShow>
202 --HoTT_Display_Bar_OnEvent(this.unit)
203 HoTT_Display_Bar:Hide();
204 </OnShow>
205  
206 <OnUpdate>
207 --HoTT_Display_Bar_OnUpdate(arg1)
208 </OnUpdate>
209  
210 </Scripts>
211  
212 <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
213  
214 </StatusBar>
215  
216 </Frames>
217  
218 </Button>
219  
220 <!-- Frame for the "guts" of the code -->
221 <!-- Needs to be at end so it can initialize other frames OnLoad -->
222  
223 <Frame name="HoTT_MainFrame"
224 frameStrata="BACKGROUND"
225 hidden="true">
226  
227 <Size>
228 <AbsDimension x="120" y="16"/>
229 </Size>
230  
231 <Scripts>
232 <OnLoad>
233 HoTT_Set_XML_CVS("$Revision: 1.48 $");
234 HoTT_MainFrame_OnLoad();
235 </OnLoad>
236  
237 <OnEvent>
238 HoTT_MainFrame_OnEvent();
239 </OnEvent>
240 </Scripts>
241  
242 </Frame>
243  
244  
245 </Ui>