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 | ..\FrameXML\UI.xsd"> |
||
3 | |||
4 | <CheckButton name="DAB_ScrollButtonTemplate" inherits="DL_ScrollButtonTemplate" virtual="true"> |
||
5 | <Size><AbsDimension x="130" y="20"/></Size> |
||
6 | </CheckButton> |
||
7 | |||
8 | <Button name="DAB_MainMenuButton" inherits="UIPanelButtonTemplate" virtual="true" hidden="false"> |
||
9 | <Size><AbsDimension x="180" y="24"/></Size> |
||
10 | </Button> |
||
11 | |||
12 | <CheckButton name="DAB_CheckBoxTemplate" inherits="DiscordLib_CheckBoxTemplate" virtual="true"> |
||
13 | <Scripts> |
||
14 | <OnClick> |
||
15 | DAB_CheckBox_OnClick(); |
||
16 | </OnClick> |
||
17 | </Scripts> |
||
18 | </CheckButton> |
||
19 | |||
20 | <Slider name="DAB_SliderTemplate" inherits="DiscordLib_SliderTemplate" virtual="true"> |
||
21 | <Frames> |
||
22 | <EditBox name="$parent_Display" inherits="DiscordLib_SliderEditBoxTemplate"> |
||
23 | <Scripts> |
||
24 | <OnEnterPressed> |
||
25 | DAB_Slider_UpdateFromEditBox(); |
||
26 | </OnEnterPressed> |
||
27 | </Scripts> |
||
28 | </EditBox> |
||
29 | </Frames> |
||
30 | <Scripts> |
||
31 | <OnValueChanged> |
||
32 | DAB_Slider_Update(); |
||
33 | </OnValueChanged> |
||
34 | </Scripts> |
||
35 | </Slider> |
||
36 | |||
37 | <Button name="DAB_NudgeTemplate" inherits="DL_NudgeTemplate" virtual="true"> |
||
38 | <Scripts> |
||
39 | <OnMouseUp> |
||
40 | if (arg1 == "MiddleButton") then |
||
41 | this.movingframe = nil; |
||
42 | else |
||
43 | DAB_Nudge(arg1); |
||
44 | end |
||
45 | </OnMouseUp> |
||
46 | <OnUpdate> |
||
47 | DAB_Nudge_OnUpdate(arg1); |
||
48 | </OnUpdate> |
||
49 | </Scripts> |
||
50 | </Button> |
||
51 | |||
52 | <EditBox name="DAB_EditBoxTemplate" inherits="DiscordLib_EditBoxTemplate" virtual="true"> |
||
53 | <Scripts> |
||
54 | <OnEnterPressed> |
||
55 | DAB_EditBox_Update(); |
||
56 | </OnEnterPressed> |
||
57 | </Scripts> |
||
58 | </EditBox> |
||
59 | |||
60 | <Button name="DAB_ColorPickerTemplate" inherits="DiscordLib_ColorPickerTemplate" virtual="true"> |
||
61 | <Scripts> |
||
62 | <OnClick> |
||
63 | DAB_ColorPicker_OnClick(); |
||
64 | </OnClick> |
||
65 | </Scripts> |
||
66 | </Button> |
||
67 | |||
68 | <Frame name="DAB_ConditionButtonTemplate" virtual="true"> |
||
69 | <Size><AbsDimension x="360" y="40"/></Size> |
||
70 | <Frames> |
||
71 | <Button inherits="UIPanelButtonTemplate" hidden="false"> |
||
72 | <Size><AbsDimension x="15" y="20"/></Size> |
||
73 | <Anchors> |
||
74 | <Anchor point="TOPLEFT"/> |
||
75 | </Anchors> |
||
76 | <Scripts> |
||
77 | <OnLoad> |
||
78 | this:SetText("^"); |
||
79 | </OnLoad> |
||
80 | <OnClick> |
||
81 | DAB_Condition_MoveUp(); |
||
82 | </OnClick> |
||
83 | </Scripts> |
||
84 | </Button> |
||
85 | <Button inherits="UIPanelButtonTemplate" hidden="false"> |
||
86 | <Size><AbsDimension x="15" y="20"/></Size> |
||
87 | <Anchors> |
||
88 | <Anchor point="BOTTOMLEFT"> |
||
89 | <Offset><AbsDimension x="0" y="2"/></Offset> |
||
90 | </Anchor> |
||
91 | </Anchors> |
||
92 | <Scripts> |
||
93 | <OnLoad> |
||
94 | this:SetText("v"); |
||
95 | </OnLoad> |
||
96 | <OnClick> |
||
97 | DAB_Condition_MoveDown(); |
||
98 | </OnClick> |
||
99 | </Scripts> |
||
100 | </Button> |
||
101 | <Button name="$parent_Edit" inherits="UIPanelButtonTemplate" hidden="false"> |
||
102 | <Size><AbsDimension x="30" y="20"/></Size> |
||
103 | <Anchors> |
||
104 | <Anchor point="TOPRIGHT"/> |
||
105 | </Anchors> |
||
106 | <Scripts> |
||
107 | <OnLoad> |
||
108 | getglobal(this:GetName().."Text"):SetFont("Fonts\\ARIALN.TTF", 10); |
||
109 | this:SetText(DAB_TEXT.Edit); |
||
110 | </OnLoad> |
||
111 | <OnClick> |
||
112 | DAB_Condition_Edit(); |
||
113 | </OnClick> |
||
114 | </Scripts> |
||
115 | </Button> |
||
116 | <Button name="$parent_Delete" inherits="UIPanelButtonTemplate" hidden="false"> |
||
117 | <Size><AbsDimension x="30" y="20"/></Size> |
||
118 | <Anchors> |
||
119 | <Anchor point="BOTTOMRIGHT"> |
||
120 | <Offset><AbsDimension x="0" y="2"/></Offset> |
||
121 | </Anchor> |
||
122 | </Anchors> |
||
123 | <Scripts> |
||
124 | <OnLoad> |
||
125 | getglobal(this:GetName().."Text"):SetFont("Fonts\\ARIALN.TTF", 10); |
||
126 | this:SetText(DAB_TEXT.Delete); |
||
127 | </OnLoad> |
||
128 | <OnClick> |
||
129 | DAB_Condition_Delete(); |
||
130 | </OnClick> |
||
131 | </Scripts> |
||
132 | </Button> |
||
133 | </Frames> |
||
134 | <Layers> |
||
135 | <Layer level="OVERLAY"> |
||
136 | <FontString name="$parentIndex" font="Fonts\ARIALN.TTF" justifyH="CENTER" justifyV="CENTER"> |
||
137 | <Size><AbsDimension x="20" y="40"/></Size> |
||
138 | <Color r="1" g="1" b="0"/> |
||
139 | <FontHeight> |
||
140 | <AbsValue val="16"/> |
||
141 | </FontHeight> |
||
142 | <Anchors> |
||
143 | <Anchor point="TOPLEFT"> |
||
144 | <Offset><AbsDimension x="15" y="0"/></Offset> |
||
145 | </Anchor> |
||
146 | </Anchors> |
||
147 | </FontString> |
||
148 | <FontString name="$parentConditionText" font="Fonts\ARIALN.TTF" justifyH="LEFT" justifyV="CENTER"> |
||
149 | <Size><AbsDimension x="290" y="20"/></Size> |
||
150 | <Color r="0" g="1" b="0"/> |
||
151 | <FontHeight> |
||
152 | <AbsValue val="10"/> |
||
153 | </FontHeight> |
||
154 | <Anchors> |
||
155 | <Anchor point="TOPLEFT"> |
||
156 | <Offset><AbsDimension x="40" y="3"/></Offset> |
||
157 | </Anchor> |
||
158 | </Anchors> |
||
159 | </FontString> |
||
160 | <FontString name="$parentResponseText" font="Fonts\ARIALN.TTF" justifyH="LEFT" justifyV="CENTER"> |
||
161 | <Size><AbsDimension x="290" y="20"/></Size> |
||
162 | <Color r=".4" g=".4" b="1"/> |
||
163 | <FontHeight> |
||
164 | <AbsValue val="10"/> |
||
165 | </FontHeight> |
||
166 | <Anchors> |
||
167 | <Anchor point="TOPLEFT"> |
||
168 | <Offset><AbsDimension x="40" y="-10"/></Offset> |
||
169 | </Anchor> |
||
170 | </Anchors> |
||
171 | </FontString> |
||
172 | <FontString name="$parentOverrideText" font="Fonts\ARIALN.TTF" justifyH="LEFT" justifyV="CENTER"> |
||
173 | <Size><AbsDimension x="290" y="20"/></Size> |
||
174 | <Color r=".9" g=".4" b=".9"/> |
||
175 | <FontHeight> |
||
176 | <AbsValue val="10"/> |
||
177 | </FontHeight> |
||
178 | <Anchors> |
||
179 | <Anchor point="TOPLEFT"> |
||
180 | <Offset><AbsDimension x="40" y="-23"/></Offset> |
||
181 | </Anchor> |
||
182 | </Anchors> |
||
183 | </FontString> |
||
184 | <Texture> |
||
185 | <Size><AbsDimension x="360" y="1"/></Size> |
||
186 | <Anchors> |
||
187 | <Anchor point="BOTTOM"/> |
||
188 | </Anchors> |
||
189 | <Color r=".3" g=".3" b=".3"/> |
||
190 | </Texture> |
||
191 | </Layer> |
||
192 | </Layers> |
||
193 | </Frame> |
||
194 | |||
195 | <Frame name="DAB_KeybindingTemplate" virtual="true"> |
||
196 | <Size><AbsDimension x="200" y="50"/></Size> |
||
197 | <Frames> |
||
198 | <Button name="$parent_Option" inherits="DiscordLib_MenuControlTemplate"> |
||
199 | <Size><AbsDimension x="100" y="22"/></Size> |
||
200 | <Anchors> |
||
201 | <Anchor point="TOPLEFT"> |
||
202 | <Offset><AbsDimension x="20" y="-2"/></Offset> |
||
203 | </Anchor> |
||
204 | </Anchors> |
||
205 | <Scripts> |
||
206 | <OnLoad> |
||
207 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
208 | this.menu = "DAB_DropMenu"; |
||
209 | this.table = "DAB_KEYBINDING_OPTIONS"; |
||
210 | this.index = "KEYBINDING"; |
||
211 | this.subindex = "option"; |
||
212 | this.subindex2 = "DropMenu"; |
||
213 | getglobal(this:GetName().."_Setting"):SetFont("Fonts\\ARIALN.TTF", 12); |
||
214 | </OnLoad> |
||
215 | </Scripts> |
||
216 | </Button> |
||
217 | <Button name="$parent_Suboption" inherits="DiscordLib_MenuControlTemplate"> |
||
218 | <Size><AbsDimension x="65" y="22"/></Size> |
||
219 | <Anchors> |
||
220 | <Anchor point="LEFT" relativeTo="$parent_Option" relativePoint="RIGHT"> |
||
221 | <Offset><AbsDimension x="40" y="0"/></Offset> |
||
222 | </Anchor> |
||
223 | </Anchors> |
||
224 | <Scripts> |
||
225 | <OnLoad> |
||
226 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
227 | this.menu = "DAB_ScrollMenu"; |
||
228 | this.table = "DAB_KEYBINDING_SUBOPTIONS_"..this:GetParent():GetID(); |
||
229 | this.index = "KEYBINDING"; |
||
230 | this.subindex = "suboption"; |
||
231 | getglobal(this:GetName().."_Label"):ClearAllPoints(); |
||
232 | getglobal(this:GetName().."_Label"):SetPoint("RIGHT", this, "LEFT", 0, 0); |
||
233 | getglobal(this:GetName().."_Label"):SetFont("Fonts\\ARIALN.TTF", 12); |
||
234 | getglobal(this:GetName().."_Label"):SetTextColor(1, .82, 0); |
||
235 | </OnLoad> |
||
236 | </Scripts> |
||
237 | </Button> |
||
238 | <Button name="$parent_Suboption2" inherits="DiscordLib_MenuControlTemplate"> |
||
239 | <Size><AbsDimension x="105" y="22"/></Size> |
||
240 | <Anchors> |
||
241 | <Anchor point="LEFT" relativeTo="$parent_Suboption" relativePoint="RIGHT"> |
||
242 | <Offset><AbsDimension x="35" y="0"/></Offset> |
||
243 | </Anchor> |
||
244 | </Anchors> |
||
245 | <Scripts> |
||
246 | <OnLoad> |
||
247 | this:SetBackdropColor(0.0, 0.0, 0.0); |
||
248 | this.menu = "DAB_ScrollMenu"; |
||
249 | this.table = "DAB_KEYBINDING_SUBOPTIONS2_"..this:GetParent():GetID(); |
||
250 | this.index = "KEYBINDING"; |
||
251 | this.subindex = "suboption2"; |
||
252 | getglobal(this:GetName().."_Label"):ClearAllPoints(); |
||
253 | getglobal(this:GetName().."_Label"):SetPoint("RIGHT", this, "LEFT", 0, 0); |
||
254 | getglobal(this:GetName().."_Label"):SetFont("Fonts\\ARIALN.TTF", 12); |
||
255 | getglobal(this:GetName().."_Label"):SetTextColor(1, .82, 0); |
||
256 | </OnLoad> |
||
257 | </Scripts> |
||
258 | </Button> |
||
259 | <CheckButton name="$parent_Down" inherits="DAB_CheckBoxTemplate"> |
||
260 | <Anchors> |
||
261 | <Anchor point="TOPLEFT"> |
||
262 | <Offset><AbsDimension x="95" y="-23"/></Offset> |
||
263 | </Anchor> |
||
264 | </Anchors> |
||
265 | <Scripts> |
||
266 | <OnLoad> |
||
267 | this.index = "KEYBINDING"; |
||
268 | this.subindex = "down"; |
||
269 | this.subindex2 = "CheckBox"; |
||
270 | DL_Set_Label(DAB_TEXT.RunOnDown); |
||
271 | </OnLoad> |
||
272 | </Scripts> |
||
273 | </CheckButton> |
||
274 | <CheckButton name="$parent_Up" inherits="DAB_CheckBoxTemplate"> |
||
275 | <Anchors> |
||
276 | <Anchor point="LEFT" relativeTo="$parent_Down" relativePoint="RIGHT"> |
||
277 | <Offset><AbsDimension x="50" y="0"/></Offset> |
||
278 | </Anchor> |
||
279 | </Anchors> |
||
280 | <Scripts> |
||
281 | <OnLoad> |
||
282 | this.index = "KEYBINDING"; |
||
283 | this.subindex = "up"; |
||
284 | this.subindex2 = "CheckBox"; |
||
285 | DL_Set_Label(DAB_TEXT.RunOnUp); |
||
286 | </OnLoad> |
||
287 | </Scripts> |
||
288 | </CheckButton> |
||
289 | <Button name="$parent_Key1" inherits="UIPanelButtonTemplate2"> |
||
290 | <Size><AbsDimension x="65" y="24"/></Size> |
||
291 | <Anchors> |
||
292 | <Anchor point="LEFT" relativeTo="$parent_Up" relativePoint="RIGHT"> |
||
293 | <Offset><AbsDimension x="42" y="0"/></Offset> |
||
294 | </Anchor> |
||
295 | </Anchors> |
||
296 | <NormalText inherits="GameFontHighlightSmall"/> |
||
297 | <DisabledText inherits="GameFontDisable"/> |
||
298 | <HighlightText inherits="GameFontHighlightSmall"/> |
||
299 | <Scripts> |
||
300 | <OnLoad> |
||
301 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp", "Button4Up", "Button5Up"); |
||
302 | </OnLoad> |
||
303 | <OnClick> |
||
304 | DAB_KeybindingButton_OnClick(arg1, 1); |
||
305 | </OnClick> |
||
306 | </Scripts> |
||
307 | </Button> |
||
308 | <Button name="$parent_Key2" inherits="UIPanelButtonTemplate2"> |
||
309 | <Size><AbsDimension x="65" y="24"/></Size> |
||
310 | <Anchors> |
||
311 | <Anchor point="LEFT" relativeTo="$parent_Key1" relativePoint="RIGHT"/> |
||
312 | </Anchors> |
||
313 | <NormalText inherits="GameFontHighlightSmall"/> |
||
314 | <DisabledText inherits="GameFontDisable"/> |
||
315 | <HighlightText inherits="GameFontHighlightSmall"/> |
||
316 | <Scripts> |
||
317 | <OnLoad> |
||
318 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp", "Button4Up", "Button5Up"); |
||
319 | </OnLoad> |
||
320 | <OnClick> |
||
321 | DAB_KeybindingButton_OnClick(arg1, 2); |
||
322 | </OnClick> |
||
323 | </Scripts> |
||
324 | </Button> |
||
325 | </Frames> |
||
326 | <Layers> |
||
327 | <Layer level="OVERLAY"> |
||
328 | <FontString name="$parentIndex" font="Fonts\ARIALN.TTF" justifyH="CENTER" justifyV="CENTER"> |
||
329 | <Size><AbsDimension x="20" y="30"/></Size> |
||
330 | <Anchors> |
||
331 | <Anchor point="LEFT"> |
||
332 | <Offset><AbsDimension x="-3" y="0"/></Offset> |
||
333 | </Anchor> |
||
334 | </Anchors> |
||
335 | <Color r="1" g="1" b="0"/> |
||
336 | <FontHeight> |
||
337 | <AbsValue val="12"/> |
||
338 | </FontHeight> |
||
339 | <Shadow> |
||
340 | <Offset> |
||
341 | <AbsDimension x="1" y="-1"/> |
||
342 | </Offset> |
||
343 | <Color r="0" g="0" b="0"/> |
||
344 | </Shadow> |
||
345 | </FontString> |
||
346 | <FontString name="$parentRunOn" inherits="GameFontNormal"> |
||
347 | <Color r="1" g="1" b="1"/> |
||
348 | <Anchors> |
||
349 | <Anchor point="TOPLEFT"> |
||
350 | <Offset><AbsDimension x="20" y="-27"/></Offset> |
||
351 | </Anchor> |
||
352 | </Anchors> |
||
353 | </FontString> |
||
354 | <Texture name="$parentBorder"> |
||
355 | <Size><AbsDimension x="370" y="2"/></Size> |
||
356 | <Color r=".4" g="0" b="0"/> |
||
357 | <Anchors> |
||
358 | <Anchor point="BOTTOMLEFT"> |
||
359 | <Offset><AbsDimension x="-5" y="0"/></Offset> |
||
360 | </Anchor> |
||
361 | </Anchors> |
||
362 | </Texture> |
||
363 | </Layer> |
||
364 | </Layers> |
||
365 | <Scripts> |
||
366 | <OnLoad> |
||
367 | getglobal(this:GetName().."RunOn"):SetText(DAB_TEXT.RunOn); |
||
368 | </OnLoad> |
||
369 | </Scripts> |
||
370 | </Frame> |
||
371 | |||
372 | </Ui> |