comparison SkeletonKey.xml @ 70:131d9190db6b

Curseforge migration
author Nenue
date Wed, 28 Dec 2016 16:31:15 -0500
parents
children 9824d524a661
comparison
equal deleted inserted replaced
69:b14d0611c8d9 70:131d9190db6b
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="SkeletonKey.lua" />
5 <Script file="ActionTemplates.lua" />
6 <Script file="BindingsFrame.lua" />
7 <Script file="Events.lua" />
8 <Script file="KeyButton.lua" />
9 <Script file="HotKey.lua" />
10
11 <Font name="SkeletonKeyHeaderFont" height="18" font="Fonts\skurri.ttf" outline="NORMAL" justifyH="LEFT" justifyV="TOP" virtual="true" />
12 <Font name="SkeletonKeyButtonFont" justifyH="LEFT" virtual="true" inherits="NumberFontNormal" />
13 <Font name="SkeletonKeyMacroFont" height="12" font="Fonts\ARIALN.TTF" justifyH="LEFT" virtual="true" >
14 <Color a="1" r="1" g="1" b="1" />
15 </Font>
16
17 <Font name="SkeletonKeyStatusFont" height="12" font="Fonts\ARIALN.TTF" justifyH="LEFT" virtual="true" />
18
19 <Frame name="SkeletonKey" parent="UIParent" hidden="true" clampedToScreen="true" movable="true" enableMouse="true" toplevel="true" mixin="SkeletonKeyMixin">
20 <Anchors>
21 <Anchor point="TOP" y="-25" x="0" />
22 </Anchors>
23 <Scripts>
24 <OnLoad method="OnLoad" />
25 <OnEvent method="OnEvent" />
26 <OnShow method="OnShow" />
27 <OnUpdate method="OnUpdate" />
28 <OnKeyDown method="OnKeyDown" />
29 <OnKeyUp method="OnKeyUp" />
30 <OnMouseDown method="OnMouseDown" />
31 <OnMouseUp method="OnMouseUp" />
32 <OnMouseWheel method="OnMouseWheel" />
33 <OnDragStart method="OnDragStart" />
34 <OnDragStop method="OnDragStop" />
35 </Scripts>
36 <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
37 <EdgeSize val="16" />
38 <TileSize val="16" />
39 <BorderColor a="1" r="1" g="1" b="1" />
40 <BackgroundInsets top="4" left="4" bottom="4" right="4" />
41 <Color r="0" g="0" b="0" a="1" />
42 </Backdrop>
43 <Size x="600" y="200" />
44 <Layers>
45 <Layer level="BACKGROUND">
46
47 <Texture parentKey="info">
48 <Anchors>
49 <Anchor point="TOPLEFT" />
50 <Anchor point="RIGHT" />
51 </Anchors>
52 <Size y="42" />
53 </Texture>
54
55 <Texture parentKey="headerbg" alphaMode="MOD">
56 <Size y="32" />
57 <Anchors>
58 <Anchor point="TOPLEFT" x="2" y="-2" />
59 <Anchor point="RIGHT" x="-2" />
60 </Anchors>
61 <Color a="1" r="1" g="1" b="1" />
62 <Gradient orientation="VERTICAL">
63 <MinColor r="0" g="0" b="0"/>
64 <MaxColor r="1" g="1" b="1"/>
65 </Gradient>
66 </Texture>
67
68
69
70 <Texture parentKey="profilebg">
71 <Size y="102" />
72 <Anchors>
73 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.headerbg" />
74 <Anchor point="LEFT" x="2" y="0" />
75 <Anchor point="RIGHT" x="-2" y="0" />
76 </Anchors>
77 <Color a="1" r="0" g="0" b="0" />
78 </Texture>
79
80 <Texture parentKey="bg">
81 <Size y="4" />
82 <Anchors>
83 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.profilebg" />
84 <Anchor point="LEFT" x="4" y="0" />
85 </Anchors>
86 <Color a="1" r="0" g="0" b="0" />
87 </Texture>
88
89 <Texture parentKey="footer">
90 <Size y="52" />
91 <Anchors>
92 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.bg" x="0" y="0" />
93 <Anchor point="RIGHT" x="-2" />
94 </Anchors>
95 <Color a="1" r="0" g="0" b="0" />
96 </Texture>
97 </Layer>
98 <Layer level="OVERLAY">
99
100 <FontString inherits="SkeletonKeyHeaderFont" text="Bindings" parentKey="header">
101 <Anchors>
102 <Anchor point="TOPLEFT" />
103 </Anchors>
104 </FontString>
105
106 <FontString parentKey="profiletext" inherits="SkeletonKeyHeaderFont" justifyH="LEFT" text="Foobar">
107 <Anchors>
108 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" relativeKey="$parent.header" x="8" y="5" />
109 </Anchors>
110 <Color a="1" r="1" g="0.7" b="0" />
111 </FontString>
112
113 <FontString parentKey="statustext" inherits="SkeletonKeyStatusFont" justifyH="LEFT" justifyV="TOP">
114 <Anchors>
115 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeKey="$parent.bg" x="12" y="7" />
116 </Anchors>
117 </FontString>
118
119
120 <FontString parentKey="bindingstext" inherits="NumberFont_Outline_Large" justifyH="RIGHT" justifyV="TOP">
121 <Anchors>
122 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeKey="$parent.bg" x="-12" y="7" />
123 </Anchors>
124 <Color a="1" r="0" g="1" b="0" />
125 </FontString>
126
127 </Layer>
128 </Layers>
129 <Frames>
130
131
132 <Button parentKey="macroButton" name="$parentMacro" inherits="SecureActionButtonTemplate">
133 <Attributes>
134 <Attribute name="*type*" value="macro" />
135 </Attributes>
136 </Button>
137 <Button parentKey="actionButton" name="$parentKey" inherits="SecureActionButtonTemplate" />
138
139 <Frame name="$parentHotKeyText" mixin="SkeletonHotKeyMixin" parentArray="Plugins">
140 <Scripts>
141 <OnLoad method="OnLoad" />
142 <OnEvent method="OnEvent" />
143 </Scripts>
144 </Frame>
145
146 <Frame name="KeyBinderTutorial" parent="KeyBinder">
147
148 <Size x="20" y="20" />
149 <Anchors>
150 <Anchor point="TOPLEFT" relativeKey="$parent.footer" x="2" y="-2" />
151 <Anchor point="TOPRIGHT" relativeKey="$parent.footer" x="-2" y="-2" />
152 </Anchors>
153 <Layers>
154 <Layer level="ARTWORK">
155 <Texture name="$parentMouseLeftClick" file="Interface\TutorialFrame\UI-TUTORIAL-FRAME">
156 <Size x="15" y="20"/>
157 <Anchors>
158 <Anchor point="TOPLEFT" />
159 </Anchors>
160 <TexCoords left="0.0019531" right="0.1484375" top="0.4257813" bottom="0.6210938"/>
161 </Texture>
162 <FontString inherits="KTLogString" text="to change a key binding.">
163 <Anchors>
164 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentMouseLeftClick" x="2" y="0" />
165 </Anchors>
166 </FontString>
167
168 <Texture name="$parentMouseRightClick" file="Interface\TutorialFrame\UI-TUTORIAL-FRAME">
169 <Size x="15" y="20"/>
170 <Anchors>
171 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentMouseLeftClick" x="0" y="-2" />
172 </Anchors>
173 <TexCoords left="0.0019531" right="0.1484375" top="0.6269531" bottom="0.8222656"/>
174 </Texture>
175 <FontString inherits="KTLogString" text="to remove actions from profile.">
176 <Anchors>
177 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentMouseRightClick" x="2" y="0" />
178 </Anchors>
179 </FontString>
180
181 </Layer>
182 </Layers>
183 </Frame>
184
185 <Button inherits="UIPanelCloseButton" parentKey="CloseButton">
186 <Anchors>
187 <Anchor point="TOPRIGHT" />
188 </Anchors>
189 </Button>
190
191
192 <CheckButton name="KeyBinderStickyMode" inherits="UICheckButtonTemplate">
193 <Size y="32" x="32" />
194 <Layers>
195 <Layer level="OVERLAY">
196 <FontString parentKey="header" inherits="KTLogString" text="Sticky Mode:" />
197 </Layer>
198 </Layers>
199 </CheckButton>
200
201 <CheckButton name="KeyBinderHoverInput" inherits="UICheckButtonTemplate">
202 <Size y="32" x="32" />
203 <Anchors>
204 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="-4" y="0" relativeTo="KeyBinderStickyMode" />
205 </Anchors>
206 <Layers>
207 <Layer level="OVERLAY">
208 <FontString parentKey="header" inherits="KTLogString" text="Bind" />
209 <FontString inherits="SkeletonKeyHeaderFont" text="Settings">
210 <Anchors>
211 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="32" />
212 </Anchors>
213 </FontString>
214 </Layer>
215 </Layers>
216 </CheckButton>
217
218 <CheckButton name="KeyBinderProtectBindings" inherits="UICheckButtonTemplate">
219 <Size y="32" x="32" />
220 <Anchors>
221 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="-4" y="0" relativeTo="KeyBinderHoverInput" />
222 </Anchors>
223 <Layers>
224 <Layer level="OVERLAY">
225 <FontString parentKey="header" inherits="KTLogString" text="Safe" />
226 </Layer>
227 </Layers>
228 </CheckButton>
229 </Frames>
230 </Frame>
231
232
233 <CheckButton name="KeyButton" virtual="true" mixin="SkeletonKeyButtonMixin">
234 <Size x="32" y="32" />
235 <Scripts>
236 <OnLoad method="OnLoad" />
237 <OnClick method="OnClick" />
238 <OnUpdate method="OnUpdate" />
239 <OnKeyDown method="OnKeyDown" />
240 <OnDragStart method="OnDragStart" />
241 <OnReceiveDrag method="OnReceiveDrag" />
242 <OnKeyUp method="OnKeyUp" />
243 <OnEnter method="OnEnter" />
244 <OnLeave method="OnLeave" />
245 </Scripts>
246 <Layers>
247 <Layer level="BACKGROUND">
248 <Texture parentKey="border" setAllPoints="true">
249 <Color a="1" r=".25" g=".25" b=".25" />
250 </Texture>
251 </Layer>
252 <Layer level="BORDER">
253
254 <Texture parentKey="bg">
255 <Anchors>
256 <Anchor point="TOPLEFT" x="2" y="-2" />
257 <Anchor point="BOTTOMRIGHT" x="-2" y="2" />
258 </Anchors>
259 <Color a="0.5" r="0" g="0" b="0" />
260 </Texture>
261 </Layer>
262 <Layer level="ARTWORK">
263 <Texture setAllPoints="true" parentKey="icon">
264 <Anchors>
265 <Anchor point="TOPLEFT" x="2" y="-2" />
266 <Anchor point="BOTTOMRIGHT" x="-2" y="2" />
267 </Anchors>
268
269 <TexCoords left="0.1" right="0.9" top="0.1" bottom="0.9" />
270
271 </Texture>
272 </Layer>
273 <Layer level="OVERLAY">
274 <FontString inherits="NumberFontNormal" parentKey="header" wordwrap="false" justifyH="LEFT">
275
276 <Anchors>
277 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="2" y="-2" />
278 <Anchor point="RIGHT" x="128" y="0" />
279 </Anchors>
280 </FontString>
281 <FontString inherits="NumberFontNormal" parentKey="bind">
282 <Anchors>
283 <Anchor point="BOTTOMRIGHT" x="-2" y="2" />
284 </Anchors>
285 </FontString>
286 <FontString inherits="SkeletonKeyMacroFont" parentKey="macro">
287 <Anchors>
288 <Anchor point="TOPLEFT" x="2" y="-2" />
289 <Anchor point="RIGHT" x="-2" y="0" />
290 </Anchors>
291 </FontString>
292 <FontString inherits="NumberFontNormal" parentKey="details" justifyH="LEFT">
293 <Anchors>
294 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="0" y="-2" relativeKey="$parent.header" />
295 <Anchor point="RIGHT" x="128" y="0" />
296 </Anchors>
297 </FontString>
298
299 <Texture parentKey="ignoreTexture" file="Interface\PaperDollInfoFrame\UI-GearManager-LeaveItem-Transparent" hidden="true">
300 <Anchors>
301 <Anchor point="TOPLEFT" x="0" y="0" />
302 <Anchor point="BOTTOMRIGHT" x="0" y="0" />
303 </Anchors>
304 </Texture>
305 </Layer>
306 </Layers>
307 <HighlightTexture alphaMode="ADD">
308 <Anchors>
309 <Anchor point="TOPLEFT" x="2" y="-2" />
310 <Anchor point="BOTTOMRIGHT" x="-2" y="2" />
311 </Anchors>
312 <Color a="1" r="0.15" g="0.15" b="0.15" />
313 </HighlightTexture>
314 <Frames>
315 <Frame parentKey="alert" hidden="true">
316 <Size x="18" y="18" />
317 <Anchors>
318 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" relativeKey="$parent.bind" x="-2" />
319 </Anchors>
320 <Layers>
321 <Layer level="ARTWORK">
322 <Texture file="Interface\DialogFrame\UI-Dialog-Icon-AlertNew" setAllPoints="true" />
323 </Layer>
324 </Layers>
325 </Frame>
326 </Frames>
327 </CheckButton>
328 <Frame name="SkeletonKeyPanelTemplate" parent="SkeletonKey" hidden="true" parentArray="Panels" virtual="true">
329 <Scripts>
330 <OnLoad method="OnLoad" />
331 <OnShow method="OnShow" />
332 <OnEvent method="OnEvent" />
333 </Scripts>
334 <Layers>
335 <Layer level="BACKGROUND">
336 <Texture parentKey="bg" />
337 </Layer>
338 </Layers>
339 </Frame>
340
341 <Frame name="$parentActionList" mixin="SkeletonKeyActionListMixin" inherits="SkeletonKeyPanelTemplate">
342 <Layers>
343 <Layer level="BORDER">
344
345
346 <Texture parentKey="profileStripe">
347 <Size y="4" />
348 <Anchors>
349
350 <Anchor point="TOP" />
351 <Anchor point="LEFT" x="0" y="0" />
352 <Anchor point="RIGHT" x="0" y="0" />
353 </Anchors>
354 </Texture>
355 </Layer>
356 </Layers>
357 <Frames>
358 <Button parentKey="UnbindButton" hidden="true">
359 <Size x="48" y="24" />
360 <Layers>
361 <Layer level="BACKGROUND">
362 <Texture parentKey="Background">
363 <Anchors>
364 <Anchor point="TOPLEFT" x="-4" y="52" />
365 <Anchor point="BOTTOMRIGHT" x="124" y="-4" />
366 </Anchors>
367 <Color a="0.9" r="0" g="0" b="0" />
368 </Texture>
369 </Layer>
370 <Layer level="OVERLAY">
371
372 <FontString parentKey="savingText" inherits="SkeletonKeyHeaderFont" text="Press a key.">
373 <Anchors>
374 <Anchor point="TOP" relativePoint="BOTTOM" y="-3" />
375 </Anchors>
376 </FontString>
377 <FontString inherits="SkeletonKeyButtonFont" text="Clear">
378 <Anchors>
379 <Anchor point="CENTER" />
380 </Anchors>
381 </FontString>
382 </Layer>
383 </Layers>
384 <NormalTexture>
385 <Color a="1" r=".7" g="0.12" b=".06" />
386 </NormalTexture>
387 <HighlightTexture alphaMode="ADD">
388
389 <Color a="1" r=".15" g="0.15" b=".15" />
390 </HighlightTexture>
391 </Button>
392 </Frames>
393 </Frame>
394 <Frame name="$parentSystemBindings" mixin="SkeletonKeySystemBindingsMixin" inherits="SkeletonKeyPanelTemplate" />
395
396 <Button name="SkeletonKeyTabTemplate" parentArray="tabButtons" virtual="true">
397 <Size x="48" y="32" />
398 <Layers>
399 <Layer level="BACKGROUND">
400 <Texture parentKey="Background">
401 <Color a="1" r="0.1" g="0.1" b="0.1" />
402 </Texture>
403 </Layer>
404 <Layer level="ARTWORK">
405 <Texture parentKey="Icon">
406 <Size x="28" y="28" />
407 <Anchors>
408 <Anchor point="TOPLEFT" />
409 </Anchors>
410 </Texture>
411 </Layer>
412 <Layer level="OVERLAY">
413 <FontString parentKey="Label" inherits="GameFontNormal">
414 <Anchors>
415 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.Icon" x="3" y="0" />
416 </Anchors>
417 </FontString>
418 </Layer>
419 </Layers>
420 </Button>
421
422 </Ui>