Mercurial > wow > skeletonkey
comparison libKT/libKT-1.0.xml @ 2:f7a0898d293c
adding library files, toc files, and a missing XML to versioning
author | Nenue |
---|---|
date | Tue, 21 Jun 2016 08:10:36 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:cd7d06bcd98d | 2:f7a0898d293c |
---|---|
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="libKT-1.0.lua" /> | |
5 | |
6 <FontString name="LogString" virtual="true" justifyH="LEFT" justifyV="TOP" inherits="GameFontHighlight"> | |
7 <Anchors> | |
8 <Anchor point="TOP" /> | |
9 </Anchors> | |
10 </FontString> | |
11 | |
12 <Font name="KTHeaderFont" virtual="true" inherits="NumberFontNormal"> | |
13 <FontHeight val="18" /> | |
14 </Font> | |
15 | |
16 | |
17 <Button name="KTButton" parentArray="controls" virtual="true"> | |
18 <Scripts> | |
19 <OnEnter> | |
20 if self.tooltip then | |
21 GameTooltip:SetOwner(self) | |
22 GameTooltip:SetAnchorType('ANCHOR_TOPRIGHT') | |
23 GameTooltip:SetText(self.tooltip) | |
24 GameTooltip:Show() | |
25 end | |
26 </OnEnter> | |
27 <OnLeave> | |
28 GameTooltip:Hide() | |
29 </OnLeave> | |
30 </Scripts> | |
31 <NormalFont style="NumberFontNormal" /> | |
32 <NormalTexture setAllPoints="true"> | |
33 <Color a="1" r="0" g=".4" b="1" /> | |
34 </NormalTexture> | |
35 <DisabledTexture> | |
36 <Color a="1" r="0.5" b="0.5" g="0.5" /> | |
37 </DisabledTexture> | |
38 <DisabledColor a="0.5" r="1" g="1" b="1" /> | |
39 <PushedTexture> | |
40 <Color a="1" r="1" g="0.25" b="0.25" /> | |
41 </PushedTexture> | |
42 <HighlightTexture alphaMode="ADD"> | |
43 <Color a="0.25" r="1" g="0" b=".5" /> | |
44 </HighlightTexture> | |
45 <Size x="72" y="28" /> | |
46 </Button> | |
47 | |
48 <!-- style for Blizzard UIPanel activators | |
49 // The template anchor gets overwritten for successive iterations --> | |
50 <Button name="KTUIPanelButton" virtual="true" parentArray="UIPanels"> | |
51 <Scripts> | |
52 <OnEnter> | |
53 if self.tooltip then | |
54 GameTooltip:SetOwner(self) | |
55 GameTooltip:SetAnchorType('ANCHOR_TOPRIGHT') | |
56 GameTooltip:SetText(self.tooltip) | |
57 GameTooltip:Show() | |
58 end | |
59 </OnEnter> | |
60 <OnLeave> | |
61 GameTooltip:Hide() | |
62 </OnLeave> | |
63 </Scripts> | |
64 <Layers> | |
65 <Layer level="OVERLAY"> | |
66 <Texture parentKey="icon"> | |
67 <Size x="24" y="24" /> | |
68 <Anchors> | |
69 <Anchor point="LEFT" x="-12" y="0" /> | |
70 </Anchors> | |
71 </Texture> | |
72 </Layer> | |
73 </Layers> | |
74 | |
75 <NormalFont style="NumberFontNormalRight" /> | |
76 <NormalTexture> | |
77 <Color a="1" r=".4" g="0" b="1" /> | |
78 </NormalTexture> | |
79 <PushedTexture> | |
80 <Color a="1" r=".6" g=".2" b="1" /> | |
81 </PushedTexture> | |
82 <HighlightTexture> | |
83 <Size x="3" /> | |
84 <Anchors> | |
85 <Anchor point="BOTTOM" /> | |
86 <Anchor point="TOP" /> | |
87 <Anchor point="RIGHT" /> | |
88 </Anchors> | |
89 <Color a="1" r="1" g="0" b="0.5" /> | |
90 </HighlightTexture> | |
91 <Size x="84" y="24" /> | |
92 | |
93 </Button> | |
94 | |
95 <Button name="KTTabButton" virtual="true" parentArray="tabButtons"> | |
96 <Scripts> | |
97 <OnEnter> | |
98 | |
99 if not self.tooltip then | |
100 return | |
101 end | |
102 GameTooltip:SetOwner(self) | |
103 GameTooltip:SetAnchorType('LEFT') | |
104 GameTooltip:SetText(self.tooltip) | |
105 GameTooltip:Show() | |
106 </OnEnter> | |
107 <OnLeave> | |
108 | |
109 if not self.tooltip then | |
110 return | |
111 end | |
112 GameTooltip:Hide() | |
113 </OnLeave> | |
114 </Scripts> | |
115 <Size x="40" y="40" /> | |
116 <Layers> | |
117 <Layer level="BACKGROUND"> | |
118 </Layer> | |
119 <Layer level="BORDER"> | |
120 <Texture parentKey="icon"> | |
121 <Color a="1" r="1" g="0" b="0" /> | |
122 <Anchors> | |
123 <Anchor point="TOPLEFT" x="2" y="-2"/> | |
124 <Anchor point="BOTTOMRIGHT" x="-2" y="2"/> | |
125 </Anchors> | |
126 </Texture> | |
127 </Layer> | |
128 <Layer level="ARTWORK"> | |
129 </Layer> | |
130 </Layers> | |
131 | |
132 <NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-Quickslot2"> | |
133 <Anchors> | |
134 <Anchor point="TOPLEFT" x="-12" y="12"/> | |
135 <Anchor point="BOTTOMRIGHT" x="13" y="-13"/> | |
136 </Anchors> | |
137 </NormalTexture> | |
138 <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/> | |
139 <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/> | |
140 </Button> | |
141 | |
142 <!-- inherited to generate event feedback --> | |
143 <Frame name="KTDebugTemplate" virtual="true"> | |
144 <Layers> | |
145 <Layer level="OVERLAY"> | |
146 <FontString inherits="GameFontNormal" parentKey="status" text="text thing here"> | |
147 <Anchors> | |
148 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" /> | |
149 </Anchors> | |
150 </FontString> | |
151 <FontString inherits="LogString" parentKey="logfirst" text="First"> | |
152 <Anchors> | |
153 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="0" y="0" relativeKey="$parent.status" /> | |
154 </Anchors> | |
155 </FontString> | |
156 <FontString inherits="LogString" parentKey="logdiff" text="Different"> | |
157 <Anchors> | |
158 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.logfirst" /> | |
159 </Anchors> | |
160 </FontString> | |
161 <FontString inherits="LogString" parentKey="log" text="Last"> | |
162 <Anchors> | |
163 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.logdiff" /> | |
164 </Anchors> | |
165 </FontString> | |
166 </Layer> | |
167 </Layers> | |
168 </Frame> | |
169 | |
170 | |
171 | |
172 <Frame name="KTErrorFrame" parent="UIParent" toplevel="true" movable="true" enableMouse="true" hidden="true" clampedToScreen="true"> | |
173 <Size x="450" y="280" /> | |
174 <Anchors> | |
175 <Anchor point="CENTER" /> | |
176 </Anchors> | |
177 <Scripts> | |
178 <OnLoad> | |
179 self:RegisterForDrag('LeftButton') | |
180 </OnLoad> | |
181 <OnDragStart> | |
182 self:StartMoving() | |
183 </OnDragStart> | |
184 <OnDragStop> | |
185 self:StopMovingOrSizing() | |
186 </OnDragStop> | |
187 </Scripts> | |
188 <Layers> | |
189 <Layer level="BACKGROUND"> | |
190 <Texture setAllPoints="true"> | |
191 <Color a="1" r="0" g="0" b="0" /> | |
192 </Texture> | |
193 </Layer> | |
194 <Layer level="OVERLAY"> | |
195 <FontString inherits="NumberFont_Outline_Huge" text="KrakTool Error"> | |
196 <Anchors> | |
197 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" /> | |
198 </Anchors> | |
199 </FontString> | |
200 <FontString inherits="NumberFont_Outline_Large" parentKey="errmsg" justifyH="LEFT" spacing="3"> | |
201 <Anchors> | |
202 <Anchor point="TOP" /> | |
203 <Anchor point="LEFT" /> | |
204 <Anchor point="RIGHT" /> | |
205 </Anchors> | |
206 </FontString> | |
207 <FontString inherits="NumberFont_Outline_Large" parentKey="debugstack" justifyH="LEFT" spacing="3"> | |
208 <Anchors> | |
209 <Anchor point="LEFT" /> | |
210 <Anchor point="RIGHT" /> | |
211 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.errmsg" x="0" y="-8" /> | |
212 </Anchors> | |
213 </FontString> | |
214 </Layer> | |
215 </Layers> | |
216 </Frame> | |
217 | |
218 <Frame name="KTAuraButton" virtual="true"> | |
219 <Scripts> | |
220 <OnLoad> | |
221 self.count = self.overlay.count | |
222 </OnLoad> | |
223 </Scripts> | |
224 <Layers> | |
225 <Layer level="ARTWORK"> | |
226 <Texture setAllPoints="true" name="$parentIcon" parentKey="icon" /> | |
227 </Layer> | |
228 <Layer level="OVERLAY"> | |
229 </Layer> | |
230 </Layers> | |
231 <Frames> | |
232 <Cooldown parentKey="cooldown" setAllPoints="true" inherits="CooldownFrameTemplate"/> | |
233 <Frame name="$parentOverLayer" parentKey="overlay" setAllPoints="true"> | |
234 | |
235 <Layers> | |
236 <Layer level="OVERLAY"> | |
237 | |
238 <FontString parentKey="count" name="$parentCount" inherits="NumberFontNormal" text="count number"> | |
239 <Anchors> | |
240 <Anchor point="BOTTOMRIGHT" /> | |
241 </Anchors> | |
242 </FontString> | |
243 </Layer> | |
244 </Layers> | |
245 </Frame> | |
246 | |
247 </Frames> | |
248 </Frame> | |
249 </Ui> |