annotate SkeletonKey/KeyBinds.xml @ 1:cd7d06bcd98d

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