comparison SkeletonKey/KeyBinds.xml @ 0:69e828f4238a

Initial Commit
author Nenue
date Mon, 20 Jun 2016 06:35:11 -0400
parents
children cd7d06bcd98d
comparison
equal deleted inserted replaced
-1:000000000000 0:69e828f4238a
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 <Button name="KeyBinderMacro" inherits="SecureActionButtonTemplate" />
4 <CheckButton name="KeyButton" virtual="true">
5 <Size x="32" y="32" />
6 <Layers>
7 <Layer level="BACKGROUND">
8 <Texture parentKey="border" setAllPoints="true">
9 <Color a="1" r=".25" g=".25" b=".25" />
10 </Texture>
11 </Layer>
12 <Layer level="BORDER">
13
14 <Texture parentKey="bg">
15 <Anchors>
16 <Anchor point="TOPLEFT" x="2" y="-2" />
17 <Anchor point="BOTTOMRIGHT" x="-2" y="2" />
18 </Anchors>
19 <Color a="0.5" r="0" g="0" b="0" />
20 </Texture>
21 </Layer>
22 <Layer level="ARTWORK">
23 <Texture setAllPoints="true" parentKey="icon">
24
25 <TexCoords left="0.1" right="0.9" top="0.1" bottom="0.9" />
26
27 <Anchors>
28 <Anchor point="TOPLEFT" x="1" y="-1" />
29 <Anchor point="BOTTOMRIGHT" x="-1" y="1" />
30 </Anchors>
31 </Texture>
32 </Layer>
33 <Layer level="OVERLAY">
34 <FontString inherits="NumberFontNormal" parentKey="bind">
35 <Anchors>
36 <Anchor point="BOTTOMRIGHT" x="-4" y="4" />
37 </Anchors>
38 </FontString>
39 <FontString inherits="NumberFontNormal" parentKey="macro" hidden="true">
40 <Anchors>
41 <Anchor point="TOPLEFT" x="4" y="-4" />
42 </Anchors>
43 </FontString>
44 </Layer>
45 </Layers>
46 <HighlightTexture file="Interface\BUTTONS\UI-Button-Outline" alphaMode="ADD">
47 <Anchors>
48 <Anchor point="TOPLEFT" x="-13" y="13" />
49 <Anchor point="BOTTOMRIGHT" x="13" y="-13" />
50 </Anchors>
51 </HighlightTexture>
52 </CheckButton>
53
54 <Frame name="KeyBinder" parent="UIParent" inherits="KTDebugTemplate" hidden="true" clampToScreen="true" movable="true" enableMouse="true">
55 <Scripts>
56 <OnLoad>
57 self:RegisterForDrag('LeftButton')
58 </OnLoad>
59 <OnDragStart>
60 self:StartMoving()
61 </OnDragStart>
62 <OnDragStop>
63 self:StopMovingOrSizing()
64 </OnDragStop>
65 </Scripts>
66 <Anchors>
67 <Anchor point="TOP" y="-25" x="0" />
68 </Anchors>
69 <Size x="600" y="200" />
70 <Layers>
71 <Layer level="BACKGROUND">
72 <Texture setAllPoints="true" parentKey="bg">
73 <Color a="0.5" r="0" g="0" b="0" />
74 </Texture>
75
76 <Texture parentKey="info">
77 <Anchors>
78 <Anchor point="TOPLEFT" />
79 <Anchor point="RIGHT" />
80 </Anchors>
81 <Size y="42" />
82 </Texture>
83 </Layer>
84 <Layer level="ARTWORK">
85 <Texture parentKey="modebg">
86 <Size x="42" y="42" />
87 <Anchors>
88 <Anchor point="TOPLEFT" relativeKey="$parent.info" />
89 </Anchors>
90 </Texture>
91 </Layer>
92 <Layer level="OVERLAY">
93
94 <FontString parentKey="modetext" inherits="NumberFont_Outline_Large" justifyH="RIGHT">
95 <Anchors>
96 <Anchor point="TOPLEFT" relativeKey="$parent.info" />
97 </Anchors>
98 </FontString>
99
100 <FontString parentKey="bindlist" inherits="NumberFont_Outline_Large" justifyH="LEFT" justifyV="TOP">
101 <Anchors>
102 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.modetext" x="0" y="-4" />
103 </Anchors>
104 </FontString>
105 </Layer>
106 </Layers>
107 <Frames>
108 <Button inherits="UIPanelCloseButton">
109 <Scripts>
110 <OnClick>
111 self:GetParent():close()
112 </OnClick>
113 </Scripts>
114 <Anchors>
115 <Anchor point="TOPRIGHT" />
116 </Anchors>
117 </Button>
118 </Frames>
119 </Frame>
120 </Ui>