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 <Frame name="ISync_OptionsFrameMods_Tab" toplevel="true" enableMouse="true" hidden="true" parent="ISync_OptionsFrame">
5 <Size>
6 <AbsDimension x="360" y="450"/>
7 </Size>
8 <Anchors>
9 <Anchor point="CENTER" relativeTo="ISync_OptionsFrame" relativePoint="CENTER">
10 <Offset>
11 <AbsDimension x="0" y="0"/>
12 </Offset>
13 </Anchor>
14 </Anchors>
15 <Frames>
16 <Frame name="ISYNC_Options_Mods_AuctionMatrix" inherits="OptionFrameBoxTemplate">
17 <Size>
18 <AbsDimension x="335" y="40"/>
19 </Size>
20 <Anchors>
21 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameMods_Tab" relativePoint="BOTTOMLEFT">
22 <Offset>
23 <AbsDimension x="13" y="410"/>
24 </Offset>
25 </Anchor>
26 </Anchors>
27 <Layers>
28 <Layer level="BACKGROUND">
29 <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_MODS_HEADER1_SUB1">
30 <Anchors>
31 <Anchor point="TOPLEFT">
32 <Offset>
33 <AbsDimension x="30" y="-10"/>
34 </Offset>
35 </Anchor>
36 </Anchors>
37 </FontString>
38 </Layer>
39 </Layers>
40  
41 <Frames>
42 <CheckButton name="ISYNC_Options_Mods_AuctionMatrix_CheckButton1" inherits="OptionsCheckButtonTemplate">
43 <Size>
44 <AbsDimension x="26" y="26"/>
45 </Size>
46 <Anchors>
47 <Anchor point="TOPLEFT">
48 <Offset>
49 <AbsDimension x="5" y="-5"/>
50 </Offset>
51 </Anchor>
52 </Anchors>
53 <Scripts>
54 <OnClick>
55 if(this:GetChecked()) then
56  
57 ISync:SetVar({"MOD","AMAS"}, 1, "TRUE");
58  
59 else
60 ISync:SetVar({"MOD","AMAS"}, 0, "TRUE");
61  
62 end
63 </OnClick>
64 </Scripts>
65 </CheckButton>
66  
67 <Button name="ISync_Options_Mods_Help10" virtual="true" hidden="false">
68 <Size>
69 <AbsDimension x="18" y="16"/>
70 </Size>
71 <Anchors>
72 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
73 <Offset>
74 <AbsDimension x="-8" y="-8"/>
75 </Offset>
76 </Anchor>
77 </Anchors>
78 <Layers>
79 <Layer level="OVERLAY">
80 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
81 <Anchors>
82 <Anchor point="RIGHT">
83 <Offset>
84 <AbsDimension x="0" y="0"/>
85 </Offset>
86 </Anchor>
87 </Anchors>
88 </FontString>
89 </Layer>
90 </Layers>
91 <Scripts>
92 <OnEnter>
93 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
94 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
95 GameTooltip:SetText(ISYNC_HELP_SUB10, 1, 0.72, 0, nil, 1);
96 GameTooltip:Show();
97 </OnEnter>
98 <OnLeave>
99 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
100 GameTooltip:Hide();
101 </OnLeave>
102 </Scripts>
103 </Button>
104 </Frames>
105  
106 <Scripts>
107 <OnLoad>
108 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
109 this:SetBackdropColor(0.15, 0.15, 0.15);
110 getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_MODS_HEADER1);
111 </OnLoad>
112 </Scripts>
113 </Frame>
114  
115  
116  
117 <Frame name="ISYNC_Options_Mods_Auctioneer" inherits="OptionFrameBoxTemplate">
118 <Size>
119 <AbsDimension x="335" y="40"/>
120 </Size>
121 <Anchors>
122 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameMods_Tab" relativePoint="BOTTOMLEFT">
123 <Offset>
124 <AbsDimension x="13" y="355"/>
125 </Offset>
126 </Anchor>
127 </Anchors>
128 <Layers>
129 <Layer level="BACKGROUND">
130 <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_MODS_HEADER2_SUB1">
131 <Anchors>
132 <Anchor point="TOPLEFT">
133 <Offset>
134 <AbsDimension x="30" y="-10"/>
135 </Offset>
136 </Anchor>
137 </Anchors>
138 </FontString>
139 </Layer>
140 </Layers>
141  
142 <Frames>
143 <CheckButton name="ISYNC_Options_Mods_Auctioneer_CheckButton1" inherits="OptionsCheckButtonTemplate">
144 <Size>
145 <AbsDimension x="26" y="26"/>
146 </Size>
147 <Anchors>
148 <Anchor point="TOPLEFT">
149 <Offset>
150 <AbsDimension x="5" y="-5"/>
151 </Offset>
152 </Anchor>
153 </Anchors>
154 <Scripts>
155 <OnClick>
156 if(this:GetChecked()) then
157  
158 ISync:SetVar({"MOD","AUCTIONEER"}, 1, "TRUE");
159  
160 else
161 ISync:SetVar({"MOD","AUCTIONEER"}, 0, "TRUE");
162  
163 end
164 </OnClick>
165 </Scripts>
166 </CheckButton>
167  
168 <Button name="ISync_Options_Mods_Help11" virtual="true" hidden="false">
169 <Size>
170 <AbsDimension x="18" y="16"/>
171 </Size>
172 <Anchors>
173 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
174 <Offset>
175 <AbsDimension x="-8" y="-8"/>
176 </Offset>
177 </Anchor>
178 </Anchors>
179 <Layers>
180 <Layer level="OVERLAY">
181 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
182 <Anchors>
183 <Anchor point="RIGHT">
184 <Offset>
185 <AbsDimension x="0" y="0"/>
186 </Offset>
187 </Anchor>
188 </Anchors>
189 </FontString>
190 </Layer>
191 </Layers>
192 <Scripts>
193 <OnEnter>
194 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
195 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
196 GameTooltip:SetText(ISYNC_HELP_SUB11, 1, 0.72, 0, nil, 1);
197 GameTooltip:Show();
198 </OnEnter>
199 <OnLeave>
200 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
201 GameTooltip:Hide();
202 </OnLeave>
203 </Scripts>
204 </Button>
205  
206 </Frames>
207  
208 <Scripts>
209 <OnLoad>
210 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
211 this:SetBackdropColor(0.15, 0.15, 0.15);
212 getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_MODS_HEADER2);
213 </OnLoad>
214 </Scripts>
215 </Frame>
216  
217  
218  
219 <Frame name="ISYNC_Options_Mods_ReagentInfo" inherits="OptionFrameBoxTemplate">
220 <Size>
221 <AbsDimension x="335" y="40"/>
222 </Size>
223 <Anchors>
224 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameMods_Tab" relativePoint="BOTTOMLEFT">
225 <Offset>
226 <AbsDimension x="13" y="300"/>
227 </Offset>
228 </Anchor>
229 </Anchors>
230 <Layers>
231 <Layer level="BACKGROUND">
232 <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_MODS_HEADER3_SUB1">
233 <Anchors>
234 <Anchor point="TOPLEFT">
235 <Offset>
236 <AbsDimension x="30" y="-10"/>
237 </Offset>
238 </Anchor>
239 </Anchors>
240 </FontString>
241 </Layer>
242 </Layers>
243  
244 <Frames>
245 <CheckButton name="ISYNC_Options_Mods_ReagentInfo_CheckButton1" inherits="OptionsCheckButtonTemplate">
246 <Size>
247 <AbsDimension x="26" y="26"/>
248 </Size>
249 <Anchors>
250 <Anchor point="TOPLEFT">
251 <Offset>
252 <AbsDimension x="5" y="-5"/>
253 </Offset>
254 </Anchor>
255 </Anchors>
256 <Scripts>
257 <OnClick>
258 if(this:GetChecked()) then
259  
260 ISync:SetVar({"MOD","REAGENTINFO"}, 1, "TRUE");
261  
262 else
263 ISync:SetVar({"MOD","REAGENTINFO"}, 0, "TRUE");
264  
265 end
266 </OnClick>
267 </Scripts>
268 </CheckButton>
269  
270 <Button name="ISync_Options_Mods_Help12" virtual="true" hidden="false">
271 <Size>
272 <AbsDimension x="18" y="16"/>
273 </Size>
274 <Anchors>
275 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
276 <Offset>
277 <AbsDimension x="-8" y="-8"/>
278 </Offset>
279 </Anchor>
280 </Anchors>
281 <Layers>
282 <Layer level="OVERLAY">
283 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
284 <Anchors>
285 <Anchor point="RIGHT">
286 <Offset>
287 <AbsDimension x="0" y="0"/>
288 </Offset>
289 </Anchor>
290 </Anchors>
291 </FontString>
292 </Layer>
293 </Layers>
294 <Scripts>
295 <OnEnter>
296 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
297 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
298 GameTooltip:SetText(ISYNC_HELP_SUB12, 1, 0.72, 0, nil, 1);
299 GameTooltip:Show();
300 </OnEnter>
301 <OnLeave>
302 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
303 GameTooltip:Hide();
304 </OnLeave>
305 </Scripts>
306 </Button>
307  
308 </Frames>
309  
310 <Scripts>
311 <OnLoad>
312 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
313 this:SetBackdropColor(0.15, 0.15, 0.15);
314 getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_MODS_HEADER3);
315 </OnLoad>
316 </Scripts>
317 </Frame>
318  
319 </Frames>
320  
321 <Scripts>
322 <OnShow>
323 getglobal("ISYNC_Options_Mods_AuctionMatrix_CheckButton1"):SetChecked(ISync:SetVar({"MOD","AMAS"}, 0));
324 getglobal("ISYNC_Options_Mods_Auctioneer_CheckButton1"):SetChecked(ISync:SetVar({"MOD","AUCTIONEER"}, 0));
325 getglobal("ISYNC_Options_Mods_ReagentInfo_CheckButton1"):SetChecked(ISync:SetVar({"MOD","REAGENTINFO"}, 0));
326 PlaySound("igMainMenuOptionCheckBoxOn");
327  
328 </OnShow>
329 <OnMouseDown> ISync_OptionsFrame:StartMoving(); </OnMouseDown>
330 <OnMouseUp> ISync_OptionsFrame:StopMovingOrSizing(); </OnMouseUp>
331 <OnDragStop> ISync_OptionsFrame:StopMovingOrSizing(); </OnDragStop>
332  
333 </Scripts>
334 </Frame>
335  
336 </Ui>