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_BagMod.lua"/> |
||
4 | <Button name="CT_CCBBTemplate" virtual="true"> |
||
5 | <Size> |
||
6 | <AbsDimension x="37" y="37"/> |
||
7 | </Size> |
||
8 | <Anchors> |
||
9 | <Anchor point="TOPLEFT"> |
||
10 | <Offset> |
||
11 | <AbsDimension x="0" y="0"/> |
||
12 | </Offset> |
||
13 | </Anchor> |
||
14 | </Anchors> |
||
15 | <Scripts> |
||
16 | <OnEnter> |
||
17 | CT_CCButton_OnEnter(); |
||
18 | </OnEnter> |
||
19 | <OnLoad> |
||
20 | CT_CCItemSlotButton_OnLoad(); |
||
21 | this:RegisterEvent("BAG_UPDATE"); |
||
22 | this.isBag = 1; |
||
23 | this.CID = this:GetID()+1; |
||
24 | </OnLoad> |
||
25 | <OnClick> |
||
26 | if ( IsShiftKeyDown() ) then |
||
27 | if ( ChatFrameEditBox:IsVisible() and this:GetID() > 0 ) then |
||
28 | ChatFrameEditBox:Insert(GetInventoryItemLink("player", ContainerIDToInventoryID(this:GetID()))); |
||
29 | else |
||
30 | OpenAllBags(); |
||
31 | end |
||
32 | else |
||
33 | CT_CCSlotButton_OnClick(); |
||
34 | end |
||
35 | </OnClick> |
||
36 | <OnDragStart> |
||
37 | CT_CCSlotButton_OnDrag(); |
||
38 | </OnDragStart> |
||
39 | <OnReceiveDrag> |
||
40 | CT_CCSlotButton_OnClick(); |
||
41 | </OnReceiveDrag> |
||
42 | </Scripts> |
||
43 | <CheckedTexture alphaMode="ADD" file="Interface\Buttons\CheckButtonHilight"/> |
||
44 | </Button> |
||
45 | <Frame name="CT_EBFrame" virtual="true"> |
||
46 | <Size> |
||
47 | <AbsDimension x="29" y="32"/> |
||
48 | </Size> |
||
49 | <Frames> |
||
50 | <EditBox name="$parentEditBox" letters="20" historyLines="0"> |
||
51 | <Size> |
||
52 | <AbsDimension x="120" y="20"/> |
||
53 | </Size> |
||
54 | <Anchors> |
||
55 | <Anchor point="TOPLEFT"> |
||
56 | <Offset> |
||
57 | <AbsDimension x="0" y="0"/> |
||
58 | </Offset> |
||
59 | </Anchor> |
||
60 | </Anchors> |
||
61 | <Layers> |
||
62 | <Layer level="BACKGROUND"> |
||
63 | <Texture name="$parentEditBoxLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder"> |
||
64 | <Size> |
||
65 | <AbsDimension x="12" y="29"/> |
||
66 | </Size> |
||
67 | <Anchors> |
||
68 | <Anchor point="TOPLEFT"> |
||
69 | <Offset> |
||
70 | <AbsDimension x="-11" y="0"/> |
||
71 | </Offset> |
||
72 | </Anchor> |
||
73 | </Anchors> |
||
74 | <TexCoords left="0" right="0.09375" top="0" bottom="1.0"/> |
||
75 | </Texture> |
||
76 | <Texture name="$parentEditBoxMiddle" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder"> |
||
77 | <Size> |
||
78 | <AbsDimension x="105" y="29"/> |
||
79 | </Size> |
||
80 | <Anchors> |
||
81 | <Anchor point="LEFT" relativeTo="$parentEditBoxLeft" relativePoint="RIGHT"/> |
||
82 | </Anchors> |
||
83 | <TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/> |
||
84 | </Texture> |
||
85 | <Texture name="$parentEditBoxRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder"> |
||
86 | <Size> |
||
87 | <AbsDimension x="12" y="29"/> |
||
88 | </Size> |
||
89 | <Anchors> |
||
90 | <Anchor point="LEFT" relativeTo="$parentEditBoxMiddle" relativePoint="RIGHT"/> |
||
91 | </Anchors> |
||
92 | <TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/> |
||
93 | </Texture> |
||
94 | </Layer> |
||
95 | </Layers> |
||
96 | <FontString inherits="ChatFontNormal"/> |
||
97 | <Scripts> |
||
98 | <OnEnterPressed> |
||
99 | CT_CCEditBox_OnEnterPressed(this); |
||
100 | </OnEnterPressed> |
||
101 | <OnEscapePressed> |
||
102 | CT_CCEditBox_OnEscapePressed(this); |
||
103 | </OnEscapePressed> |
||
104 | </Scripts> |
||
105 | </EditBox> |
||
106 | </Frames> |
||
107 | </Frame> |
||
108 | <Frame name="CT_CCFrame" virtual="true"> |
||
109 | <Size> |
||
110 | <AbsDimension x="120" y="120"/> |
||
111 | </Size> |
||
112 | <Frames> |
||
113 | <Button name="$parentPortraitButton" hidden="false"> |
||
114 | <Size> |
||
115 | <AbsDimension x="40" y="40"/> |
||
116 | </Size> |
||
117 | <Anchors> |
||
118 | <Anchor point="TOPLEFT"> |
||
119 | <Offset> |
||
120 | <AbsDimension x="7" y="-5"/> |
||
121 | </Offset> |
||
122 | </Anchor> |
||
123 | </Anchors> |
||
124 | <Scripts> |
||
125 | <OnEnter> |
||
126 | CT_CCFrame_OnEnter(); |
||
127 | </OnEnter> |
||
128 | <OnLeave> |
||
129 | GameTooltip:Hide(); |
||
130 | </OnLeave> |
||
131 | <OnClick> |
||
132 | CT_CCFrame_ToggleEditBox(); |
||
133 | </OnClick> |
||
134 | <OnShow> |
||
135 | CT_CCFrame_OnShow(); |
||
136 | </OnShow> |
||
137 | </Scripts> |
||
138 | </Button> |
||
139 | <Frame name="$parentEBFrame" inherits="CT_EBFrame" hidden="true"> |
||
140 | <Anchors> |
||
141 | <Anchor point="TOPLEFT"> |
||
142 | <Offset> |
||
143 | <AbsDimension x="50" y="-5"/> |
||
144 | </Offset> |
||
145 | </Anchor> |
||
146 | </Anchors> |
||
147 | </Frame> |
||
148 | </Frames> |
||
149 | </Frame> |
||
150 | <Frame name="CT_CCFrame0" inherits="CT_CCFrame" id="0" parent="ContainerFrame1" enableMouse="true" hidden="false"> |
||
151 | <Anchors> |
||
152 | <Anchor point="TOPLEFT" relativeTo="ContainerFrame1" relativePoint="TOPLEFT"> |
||
153 | <Offset> |
||
154 | <AbsDimension x="0" y="0"/> |
||
155 | </Offset> |
||
156 | </Anchor> |
||
157 | </Anchors> |
||
158 | </Frame> |
||
159 | <Frame name="CT_CCFrame1" inherits="CT_CCFrame" id="1" parent="ContainerFrame2" enableMouse="true" hidden="false"> |
||
160 | <Anchors> |
||
161 | <Anchor point="TOPLEFT" relativeTo="ContainerFrame2" relativePoint="TOPLEFT"> |
||
162 | <Offset> |
||
163 | <AbsDimension x="0" y="0"/> |
||
164 | </Offset> |
||
165 | </Anchor> |
||
166 | </Anchors> |
||
167 | </Frame> |
||
168 | <Frame name="CT_CCFrame2" inherits="CT_CCFrame" id="2" parent="ContainerFrame3" enableMouse="true" hidden="false"> |
||
169 | <Anchors> |
||
170 | <Anchor point="TOPLEFT" relativeTo="ContainerFrame3" relativePoint="TOPLEFT"> |
||
171 | <Offset> |
||
172 | <AbsDimension x="0" y="0"/> |
||
173 | </Offset> |
||
174 | </Anchor> |
||
175 | </Anchors> |
||
176 | </Frame> |
||
177 | <Frame name="CT_CCFrame3" inherits="CT_CCFrame" id="3" parent="ContainerFrame4" enableMouse="true" hidden="false"> |
||
178 | <Anchors> |
||
179 | <Anchor point="TOPLEFT" relativeTo="ContainerFrame4" relativePoint="TOPLEFT"> |
||
180 | <Offset> |
||
181 | <AbsDimension x="0" y="0"/> |
||
182 | </Offset> |
||
183 | </Anchor> |
||
184 | </Anchors> |
||
185 | </Frame> |
||
186 | <Frame name="CT_CCFrame4" inherits="CT_CCFrame" id="4" parent="ContainerFrame5" enableMouse="true" hidden="false"> |
||
187 | <Anchors> |
||
188 | <Anchor point="TOPLEFT" relativeTo="ContainerFrame5" relativePoint="TOPLEFT"> |
||
189 | <Offset> |
||
190 | <AbsDimension x="0" y="0"/> |
||
191 | </Offset> |
||
192 | </Anchor> |
||
193 | </Anchors> |
||
194 | </Frame> |
||
195 | <Frame name="CT_CCB0" parent="MainMenuBarArtFrame" enableMouse="true" hidden="false" id="0"> |
||
196 | <Size> |
||
197 | <AbsDimension x="150" y="37"/> |
||
198 | </Size> |
||
199 | <Anchors> |
||
200 | <Anchor point="TOPLEFT" relativeTo="MainMenuBarBackpackButton" relativePoint="TOPLEFT"> |
||
201 | <Offset> |
||
202 | <AbsDimension x="0" y="0"/> |
||
203 | </Offset> |
||
204 | </Anchor> |
||
205 | </Anchors> |
||
206 | <Frames> |
||
207 | <Button name="$parentButton" inherits="CT_CCBBTemplate" id="0" hidden="false" enableMouse="true"/> |
||
208 | </Frames> |
||
209 | </Frame> |
||
210 | <Frame name="CT_CCB1" parent="MainMenuBarArtFrame" enableMouse="true" hidden="false" id="1"> |
||
211 | <Size> |
||
212 | <AbsDimension x="150" y="37"/> |
||
213 | </Size> |
||
214 | <Anchors> |
||
215 | <Anchor point="TOPLEFT" relativeTo="CharacterBag0Slot" relativePoint="TOPLEFT"> |
||
216 | <Offset> |
||
217 | <AbsDimension x="0" y="0"/> |
||
218 | </Offset> |
||
219 | </Anchor> |
||
220 | </Anchors> |
||
221 | <Frames> |
||
222 | <Button name="$parentButton" inherits="CT_CCBBTemplate" id="1" hidden="false" enableMouse="true"/> |
||
223 | </Frames> |
||
224 | </Frame> |
||
225 | <Frame name="CT_CCB2" parent="MainMenuBarArtFrame" enableMouse="true" hidden="false" id="2"> |
||
226 | <Size> |
||
227 | <AbsDimension x="150" y="37"/> |
||
228 | </Size> |
||
229 | <Anchors> |
||
230 | <Anchor point="TOPLEFT" relativeTo="CharacterBag1Slot" relativePoint="TOPLEFT"> |
||
231 | <Offset> |
||
232 | <AbsDimension x="0" y="0"/> |
||
233 | </Offset> |
||
234 | </Anchor> |
||
235 | </Anchors> |
||
236 | <Frames> |
||
237 | <Button name="$parentButton" inherits="CT_CCBBTemplate" id="2" hidden="false" enableMouse="true"/> |
||
238 | </Frames> |
||
239 | </Frame> |
||
240 | <Frame name="CT_CCB3" parent="MainMenuBarArtFrame" enableMouse="true" hidden="false" id="3"> |
||
241 | <Size> |
||
242 | <AbsDimension x="150" y="37"/> |
||
243 | </Size> |
||
244 | <Anchors> |
||
245 | <Anchor point="TOPLEFT" relativeTo="CharacterBag2Slot" relativePoint="TOPLEFT"> |
||
246 | <Offset> |
||
247 | <AbsDimension x="0" y="0"/> |
||
248 | </Offset> |
||
249 | </Anchor> |
||
250 | </Anchors> |
||
251 | <Frames> |
||
252 | <Button name="$parentButton" inherits="CT_CCBBTemplate" id="3" hidden="false" enableMouse="true"/> |
||
253 | </Frames> |
||
254 | </Frame> |
||
255 | <Frame name="CT_CCB4" parent="MainMenuBarArtFrame" enableMouse="true" hidden="false" id="4"> |
||
256 | <Size> |
||
257 | <AbsDimension x="150" y="37"/> |
||
258 | </Size> |
||
259 | <Anchors> |
||
260 | <Anchor point="TOPLEFT" relativeTo="CharacterBag3Slot" relativePoint="TOPLEFT"> |
||
261 | <Offset> |
||
262 | <AbsDimension x="0" y="0"/> |
||
263 | </Offset> |
||
264 | </Anchor> |
||
265 | </Anchors> |
||
266 | <Frames> |
||
267 | <Button name="$parentButton" inherits="CT_CCBBTemplate" id="4" hidden="false" enableMouse="true"/> |
||
268 | </Frames> |
||
269 | </Frame> |
||
270 | <Frame name="CT_CCGlobalFrame" hidden="false" parent="UIParent"> |
||
271 | <Scripts> |
||
272 | <OnLoad> |
||
273 | this:RegisterEvent("BANKFRAME_OPENED"); |
||
274 | this:RegisterEvent("PLAYERBANKSLOTS_CHANGED"); |
||
275 | OpenAllBags(); |
||
276 | CloseAllBags(); |
||
277 | </OnLoad> |
||
278 | <OnEvent> |
||
279 | CT_CC_UpdateBank(); |
||
280 | </OnEvent> |
||
281 | <OnUpdate> |
||
282 | CT_CCGlobalFrame_OnUpdate(); |
||
283 | </OnUpdate> |
||
284 | </Scripts> |
||
285 | </Frame> |
||
286 | <Frame name="CT_CCBankFrame" hidden="false" parent="BankFrame"> |
||
287 | <Scripts> |
||
288 | <OnLoad> |
||
289 | this:RegisterEvent("BANKFRAME_OPENED"); |
||
290 | this:RegisterEvent("PLAYERBANKSLOTS_CHANGED"); |
||
291 | OpenAllBags(); |
||
292 | CloseAllBags(); |
||
293 | </OnLoad> |
||
294 | <OnEvent> |
||
295 | CT_CC_UpdateBank(event); |
||
296 | </OnEvent> |
||
297 | <OnUpdate> |
||
298 | CT_CCGlobalFrame_OnUpdate(); |
||
299 | </OnUpdate> |
||
300 | </Scripts> |
||
301 | <Layers> |
||
302 | <Layer level="ARTWORK"> |
||
303 | <!-- Gotta love huge hacks --> |
||
304 | <FontString inherits="GameFontNormal" hidden="true" name="$parentItemSlots" text="ITEMSLOTTEXT"> |
||
305 | <Anchors> |
||
306 | <Anchor point="CENTER" relativeTo="BankFrame"> |
||
307 | <Offset> |
||
308 | <AbsDimension x="-11" y="195"/> |
||
309 | </Offset> |
||
310 | </Anchor> |
||
311 | </Anchors> |
||
312 | </FontString> |
||
313 | <FontString inherits="GameFontNormal" name="$parentAvailableItemSlots"> |
||
314 | <Anchors> |
||
315 | <Anchor point="LEFT" relativeTo="$parentItemSlots" relativePoint="RIGHT"/> |
||
316 | </Anchors> |
||
317 | </FontString> |
||
318 | <FontString inherits="GameFontNormal" hidden="true" name="$parentBagSlots" text="BAGSLOTTEXT"> |
||
319 | <Anchors> |
||
320 | <Anchor point="CENTER" relativeTo="BankFrame"> |
||
321 | <Offset> |
||
322 | <AbsDimension x="-11" y="-5"/> |
||
323 | </Offset> |
||
324 | </Anchor> |
||
325 | </Anchors> |
||
326 | </FontString> |
||
327 | <FontString inherits="GameFontNormal" name="$parentAvailableBagSlots"> |
||
328 | <Anchors> |
||
329 | <Anchor point="LEFT" relativeTo="$parentBagSlots" relativePoint="RIGHT"/> |
||
330 | </Anchors> |
||
331 | </FontString> |
||
332 | <FontString inherits="GameFontNormalSmall" name="$parentTotalSlots" text="Total Slots: 0/70"> |
||
333 | <Anchors> |
||
334 | <Anchor point="BOTTOMLEFT" relativeTo="BankFrame"> |
||
335 | <Offset> |
||
336 | <AbsDimension x="30" y="105"/> |
||
337 | </Offset> |
||
338 | </Anchor> |
||
339 | </Anchors> |
||
340 | </FontString> |
||
341 | </Layer> |
||
342 | </Layers> |
||
343 | </Frame> |
||
344 | </Ui> |