Mercurial > wow > skeletonkey
comparison SkeletonKey/SkeletonKey.xml @ 19:67db6b712bf3
- option checkbutton literals are stored by enclosure
- detect and save any old keybindings when a slot is assigned (anything that begins with 'CLICK KeyBinder*' is ours)
- mouseover mode key input will stay active after leaving a button
- button border flashes when a non-modifier key is pressed
author | Nenue |
---|---|
date | Sat, 30 Jul 2016 19:08:11 -0400 |
parents | 91398d284a99 |
children | 73df13211b22 |
comparison
equal
deleted
inserted
replaced
18:91398d284a99 | 19:67db6b712bf3 |
---|---|
67 <Anchor point="BOTTOMRIGHT" x="0" y="0" /> | 67 <Anchor point="BOTTOMRIGHT" x="0" y="0" /> |
68 </Anchors> | 68 </Anchors> |
69 </Texture> | 69 </Texture> |
70 </Layer> | 70 </Layer> |
71 </Layers> | 71 </Layers> |
72 <HighlightTexture file="Interface\BUTTONS\UI-Button-Outline" alphaMode="ADD"> | 72 <HighlightTexture alphaMode="ADD"> |
73 <Anchors> | 73 <Anchors> |
74 <Anchor point="TOPLEFT" x="-13" y="13" /> | 74 <Anchor point="TOPLEFT" x="2" y="-2" /> |
75 <Anchor point="BOTTOMRIGHT" x="13" y="-13" /> | 75 <Anchor point="BOTTOMRIGHT" x="-2" y="2" /> |
76 </Anchors> | 76 </Anchors> |
77 <Color a="1" r="0.15" g="0.15" b="0.15" /> | |
77 </HighlightTexture> | 78 </HighlightTexture> |
78 </CheckButton> | 79 </CheckButton> |
79 | 80 |
80 <Frame name="KeyBinder" parent="UIParent" hidden="true" clampedToScreen="true" movable="true" enableMouse="true"> | 81 <Frame name="KeyBinder" parent="UIParent" hidden="true" clampedToScreen="true" movable="true" enableMouse="true"> |
81 <Anchors> | 82 <Anchors> |
201 <Anchor point="TOPRIGHT" /> | 202 <Anchor point="TOPRIGHT" /> |
202 </Anchors> | 203 </Anchors> |
203 </Button> | 204 </Button> |
204 | 205 |
205 <Button name="$parentUnbindButton" hidden="true"> | 206 <Button name="$parentUnbindButton" hidden="true"> |
206 <Size x="50" y="20" /> | 207 <Size x="60" y="24" /> |
207 <NormalTexture> | 208 <Anchors> |
208 <Color a="1" r="1" g="0.4" b="0" /> | 209 <Anchor point="CENTER" /> |
209 </NormalTexture> | 210 </Anchors> |
210 <HighlightTexture> | |
211 | |
212 <Color a="1" r="1" g="0.6" b=".1" /> | |
213 </HighlightTexture> | |
214 <NormalFont style="KTUIPanelFont" /> | |
215 <Layers> | 211 <Layers> |
216 <Layer level="OVERLAY"> | 212 <Layer level="OVERLAY"> |
217 <FontString inherits="KTUIPanelFont" text="Unbind" /> | 213 <FontString inherits="KTUIPanelFont" text="Unbind" /> |
218 </Layer> | 214 </Layer> |
219 </Layers> | 215 </Layers> |
216 <NormalTexture> | |
217 <Color a="1" r="1" g="0.4" b="0" /> | |
218 </NormalTexture> | |
219 <HighlightTexture alphaMode="ADD"> | |
220 | |
221 <Color a="1" r=".15" g="0.15" b=".15" /> | |
222 </HighlightTexture> | |
220 </Button> | 223 </Button> |
221 | 224 |
222 | 225 |
223 <CheckButton name="KeyBinderStickyMode" text="Receiving"> | 226 <CheckButton name="KeyBinderStickyMode" text="Receiving"> |
224 <Size y="28" /> | 227 <Size y="28" x="72" /> |
225 <Anchors> | 228 <Anchors> |
226 <Anchor point="BOTTOMLEFT" x="0" y="12" /> | 229 <Anchor point="TOPRIGHT" x="-4" y="-48" relativeKey="$parent.headerbg" /> |
227 <Anchor point="RIGHT" relativeKey="$parent.sourcesbg" /> | |
228 </Anchors> | 230 </Anchors> |
231 <Layers> | |
232 <Layer level="OVERLAY"> | |
233 <FontString inherits="KTLogString" text="Sticky Mode:"> | |
234 <Anchors> | |
235 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="4" y="4" /> | |
236 </Anchors> | |
237 </FontString> | |
238 <FontString parentKey="label" inherits="KTUIPanelFont" text="STICKY_MODE"> | |
239 <Anchors> | |
240 <Anchor point="LEFT" x="4" /> | |
241 </Anchors> | |
242 </FontString> | |
243 </Layer> | |
244 </Layers> | |
229 <NormalTexture> | 245 <NormalTexture> |
230 <Color a=".5" r=".3" g="0.5" b="0.2" /> | 246 <Color a=".5" r=".3" g="0.5" b="0.2" /> |
231 </NormalTexture> | 247 </NormalTexture> |
232 <CheckedTexture> | 248 <CheckedTexture> |
233 <Color a="1" r=".3" g="0.9" b=".2" /> | 249 <Color a="1" r=".3" g="0.9" b=".2" /> |
234 </CheckedTexture> | 250 </CheckedTexture> |
251 <HighlightTexture alphaMode="ADD"> | |
252 <Color a="1" r="0.2" g="0.2" b="0.2" /> | |
253 </HighlightTexture> | |
254 </CheckButton> | |
255 | |
256 <CheckButton name="KeyBinderHoverInput"> | |
257 <Size y="28" x="72" /> | |
258 <Anchors> | |
259 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="-4" y="0" relativeTo="KeyBinderStickyMode" /> | |
260 </Anchors> | |
261 | |
235 <Layers> | 262 <Layers> |
236 <Layer level="OVERLAY"> | 263 <Layer level="OVERLAY"> |
237 <FontString parentKey="label" inherits="KTUIPanelFont" text="STICKY_MODE"> | 264 <FontString parentKey="label" inherits="KTUIPanelFont" text="HOVER_INPUT"> |
238 <Anchors> | 265 <Anchors> |
239 <Anchor point="LEFT" x="4" /> | 266 <Anchor point="LEFT" x="4" /> |
267 </Anchors> | |
268 </FontString> | |
269 <FontString inherits="KTLogString" text="Bind on:"> | |
270 <Anchors> | |
271 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="4" y="4" /> | |
272 </Anchors> | |
273 </FontString> | |
274 <FontString inherits="KTHeaderFont" text="Options"> | |
275 <Anchors> | |
276 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="4" y="24" /> | |
240 </Anchors> | 277 </Anchors> |
241 </FontString> | 278 </FontString> |
242 </Layer> | 279 </Layer> |
243 </Layers> | 280 </Layers> |
244 </CheckButton> | |
245 | |
246 <CheckButton name="KeyBinderHoverInput"> | |
247 <Size y="28" /> | |
248 <Anchors> | |
249 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="12" relativeTo="$parentStickyMode" /> | |
250 <Anchor point="RIGHT" relativeKey="$parent.sourcesbg" /> | |
251 </Anchors> | |
252 <NormalTexture> | 281 <NormalTexture> |
253 <Color a=".7" r=".5" g=".15" b=".1" /> | 282 <Color a=".7" r=".5" g=".15" b=".1" /> |
254 </NormalTexture> | 283 </NormalTexture> |
255 <CheckedTexture> | 284 <CheckedTexture> |
256 <Color a="1" r="1" g=".3" b=".2" /> | 285 <Color a="1" r="1" g=".3" b=".2" /> |
257 </CheckedTexture> | 286 </CheckedTexture> |
258 | 287 <HighlightTexture alphaMode="ADD"> |
259 <Layers> | 288 <Color a="1" r="0.2" g="0.2" b="0.2" /> |
260 <Layer level="OVERLAY"> | 289 </HighlightTexture> |
261 <FontString parentKey="label" inherits="KTUIPanelFont" text="HOVER_INPUT"> | |
262 <Anchors> | |
263 <Anchor point="LEFT" x="4" /> | |
264 </Anchors> | |
265 </FontString> | |
266 </Layer> | |
267 </Layers> | |
268 </CheckButton> | 290 </CheckButton> |
269 </Frames> | 291 </Frames> |
270 </Frame> | 292 </Frame> |
271 | 293 |
272 <ScrollingMessageFrame hidden="true" fade="false" name="KeyBinderImportLog" parent="KeyBinder" clampedToScreen="true" parentKey="ImportLog" insertMode="BOTTOM" maxLines="500"> | 294 <ScrollingMessageFrame hidden="true" fade="false" name="KeyBinderImportLog" parent="KeyBinder" clampedToScreen="true" parentKey="ImportLog" insertMode="BOTTOM" maxLines="500"> |