annotate SkeletonKey/SkeletonKey.xml @ 58:39cfd8e142f9

Added tag v7.0.3-58-release for changeset 9eebce04e69b
author Nenue
date Mon, 22 Aug 2016 09:24:33 -0400
parents daff39af0c6d
children
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@5 3 <Button name="KeyBinderMacro" inherits="SecureActionButtonTemplate">
Nenue@6 4 <Attributes>
Nenue@6 5 <Attribute name="*type*" value="macro" />
Nenue@6 6 </Attributes>
Nenue@5 7 </Button>
Nenue@6 8 <Button name="KeyBinderKey" inherits="SecureActionButtonTemplate" />
Nenue@0 9 <CheckButton name="KeyButton" virtual="true">
Nenue@0 10 <Size x="32" y="32" />
Nenue@0 11 <Layers>
Nenue@0 12 <Layer level="BACKGROUND">
Nenue@0 13 <Texture parentKey="border" setAllPoints="true">
Nenue@0 14 <Color a="1" r=".25" g=".25" b=".25" />
Nenue@0 15 </Texture>
Nenue@0 16 </Layer>
Nenue@0 17 <Layer level="BORDER">
Nenue@0 18
Nenue@0 19 <Texture parentKey="bg">
Nenue@0 20 <Anchors>
Nenue@0 21 <Anchor point="TOPLEFT" x="2" y="-2" />
Nenue@0 22 <Anchor point="BOTTOMRIGHT" x="-2" y="2" />
Nenue@0 23 </Anchors>
Nenue@0 24 <Color a="0.5" r="0" g="0" b="0" />
Nenue@0 25 </Texture>
Nenue@0 26 </Layer>
Nenue@0 27 <Layer level="ARTWORK">
Nenue@0 28 <Texture setAllPoints="true" parentKey="icon">
Nenue@5 29 <Anchors>
Nenue@5 30 <Anchor point="TOPLEFT" x="2" y="-2" />
Nenue@5 31 <Anchor point="BOTTOMRIGHT" x="-2" y="2" />
Nenue@5 32 </Anchors>
Nenue@0 33
Nenue@0 34 <TexCoords left="0.1" right="0.9" top="0.1" bottom="0.9" />
Nenue@0 35
Nenue@0 36 </Texture>
Nenue@0 37 </Layer>
Nenue@0 38 <Layer level="OVERLAY">
Nenue@5 39 <FontString inherits="NumberFontNormal" parentKey="header" wordwrap="false" justifyH="LEFT">
Nenue@5 40
Nenue@5 41 <Anchors>
Nenue@5 42 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="2" y="-2" />
Nenue@5 43 <Anchor point="RIGHT" x="128" y="0" />
Nenue@5 44 </Anchors>
Nenue@5 45 </FontString>
Nenue@0 46 <FontString inherits="NumberFontNormal" parentKey="bind">
Nenue@0 47 <Anchors>
Nenue@5 48 <Anchor point="BOTTOMRIGHT" x="-2" y="2" />
Nenue@0 49 </Anchors>
Nenue@0 50 </FontString>
Nenue@5 51 <FontString inherits="KTMacroButtonFont" parentKey="macro">
Nenue@0 52 <Anchors>
Nenue@5 53 <Anchor point="TOPLEFT" x="2" y="-2" />
Nenue@5 54 <Anchor point="RIGHT" x="-2" y="0" />
Nenue@5 55 </Anchors>
Nenue@5 56 </FontString>
Nenue@5 57 <FontString inherits="NumberFontNormal" parentKey="details" justifyH="LEFT">
Nenue@5 58 <Anchors>
Nenue@5 59 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="0" y="-2" relativeKey="$parent.header" />
Nenue@5 60 <Anchor point="RIGHT" x="128" y="0" />
Nenue@0 61 </Anchors>
Nenue@0 62 </FontString>
Nenue@15 63
Nenue@15 64 <Texture parentKey="ignoreTexture" file="Interface\PaperDollInfoFrame\UI-GearManager-LeaveItem-Transparent" hidden="true">
Nenue@15 65 <Anchors>
Nenue@15 66 <Anchor point="TOPLEFT" x="0" y="0" />
Nenue@15 67 <Anchor point="BOTTOMRIGHT" x="0" y="0" />
Nenue@15 68 </Anchors>
Nenue@15 69 </Texture>
Nenue@0 70 </Layer>
Nenue@0 71 </Layers>
Nenue@19 72 <HighlightTexture alphaMode="ADD">
Nenue@0 73 <Anchors>
Nenue@19 74 <Anchor point="TOPLEFT" x="2" y="-2" />
Nenue@19 75 <Anchor point="BOTTOMRIGHT" x="-2" y="2" />
Nenue@0 76 </Anchors>
Nenue@19 77 <Color a="1" r="0.15" g="0.15" b="0.15" />
Nenue@0 78 </HighlightTexture>
Nenue@0 79 </CheckButton>
Nenue@0 80
Nenue@5 81 <Frame name="KeyBinder" parent="UIParent" hidden="true" clampedToScreen="true" movable="true" enableMouse="true">
Nenue@5 82 <Anchors>
Nenue@5 83 <Anchor point="TOP" y="-25" x="0" />
Nenue@5 84 </Anchors>
Nenue@5 85 <Size x="600" y="200" />
Nenue@34 86 <KeyValues>
Nenue@34 87 <KeyValue key="DEVIAN_PNAME" value="SkeletonKey"/>
Nenue@34 88 </KeyValues>
Nenue@0 89 <Scripts>
Nenue@0 90 <OnLoad>
Nenue@0 91 self:RegisterForDrag('LeftButton')
Nenue@0 92 </OnLoad>
Nenue@5 93 <OnShow>
Nenue@5 94 </OnShow>
Nenue@0 95 <OnDragStart>
Nenue@0 96 self:StartMoving()
Nenue@0 97 </OnDragStart>
Nenue@0 98 <OnDragStop>
Nenue@0 99 self:StopMovingOrSizing()
Nenue@0 100 </OnDragStop>
Nenue@5 101 <OnMouseWheel>
Nenue@5 102 self:OnMouseWheel(delta)
Nenue@5 103 </OnMouseWheel>
Nenue@5 104 <OnHide>
Nenue@5 105 self:OnHide()
Nenue@5 106 </OnHide>
Nenue@0 107 </Scripts>
Nenue@0 108 <Layers>
Nenue@0 109 <Layer level="BACKGROUND">
Nenue@0 110
Nenue@0 111 <Texture parentKey="info">
Nenue@0 112 <Anchors>
Nenue@0 113 <Anchor point="TOPLEFT" />
Nenue@0 114 <Anchor point="RIGHT" />
Nenue@0 115 </Anchors>
Nenue@0 116 <Size y="42" />
Nenue@0 117 </Texture>
Nenue@5 118
Nenue@5 119 <Texture parentKey="headerbg" alphaMode="MOD">
Nenue@5 120 <Size y="32" />
Nenue@0 121 <Anchors>
Nenue@5 122 <Anchor point="TOPLEFT" />
Nenue@5 123 <Anchor point="RIGHT" />
Nenue@0 124 </Anchors>
Nenue@5 125 <Color a="1" r="1" g="1" b="1" />
Nenue@5 126 <Gradient orientation="VERTICAL">
Nenue@5 127 <MinColor r="0" g="0" b="0"/>
Nenue@5 128 <MaxColor r="1" g="1" b="1"/>
Nenue@5 129 </Gradient>
Nenue@5 130 </Texture>
Nenue@5 131
Nenue@5 132 <Texture parentKey="sourcesbg">
Nenue@5 133 <Size x="100" />
Nenue@5 134 <Anchors>
Nenue@5 135 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.headerbg" />
Nenue@5 136 <Anchor point="BOTTOM" />
Nenue@5 137 </Anchors>
Nenue@17 138 <Color a=".75" r="0" g="0" b="0" />
Nenue@5 139 </Texture>
Nenue@5 140
Nenue@5 141
Nenue@5 142
Nenue@5 143 <Texture parentKey="profilebg">
Nenue@5 144 <Size y="102" />
Nenue@5 145 <Anchors>
Nenue@5 146 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.headerbg" />
Nenue@5 147 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.sourcesbg" />
Nenue@5 148 <Anchor point="RIGHT" />
Nenue@5 149 </Anchors>
Nenue@5 150 <Color a="1" r="0" g="0" b="0" />
Nenue@5 151 </Texture>
Nenue@5 152
Nenue@5 153 <Texture parentKey="bg">
Nenue@5 154 <Anchors>
Nenue@5 155 <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.profilebg" />
Nenue@5 156 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.sourcesbg" />
Nenue@5 157 </Anchors>
Nenue@5 158 <Color a="0.5" r="0" g="0" b="0" />
Nenue@5 159 </Texture>
Nenue@5 160
Nenue@5 161 <Texture parentKey="footer">
Nenue@5 162 <Size y="52" />
Nenue@5 163 <Anchors>
Nenue@5 164 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.bg" x="0" y="0" />
Nenue@5 165 <Anchor point="RIGHT" />
Nenue@5 166 </Anchors>
Nenue@5 167 <Color a="1" r="0" g="0" b="0" />
Nenue@0 168 </Texture>
Nenue@0 169 </Layer>
Nenue@0 170 <Layer level="OVERLAY">
Nenue@0 171
Nenue@5 172 <FontString inherits="KTHeaderFont" text="Bindings" parentKey="header">
Nenue@0 173 <Anchors>
Nenue@5 174 <Anchor point="TOPLEFT" />
Nenue@0 175 </Anchors>
Nenue@0 176 </FontString>
Nenue@0 177
Nenue@5 178 <FontString parentKey="profiletext" inherits="KTHeader2Font" justifyH="LEFT" text="Foobar">
Nenue@0 179 <Anchors>
Nenue@5 180 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" relativeKey="$parent.header" x="8" y="5" />
Nenue@0 181 </Anchors>
Nenue@5 182 <Color a="1" r="1" g="0.7" b="0" />
Nenue@5 183 </FontString>
Nenue@5 184
Nenue@5 185 <FontString parentKey="statustext" inherits="NumberFont_Outline_Large" justifyH="LEFT" justifyV="TOP">
Nenue@5 186 <Anchors>
Nenue@5 187 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" relativeKey="$parent.bg" x="12" y="7" />
Nenue@5 188 </Anchors>
Nenue@5 189 </FontString>
Nenue@5 190
Nenue@5 191
Nenue@5 192 <FontString parentKey="bindingstext" inherits="NumberFont_Outline_Large" justifyH="RIGHT" justifyV="TOP">
Nenue@5 193 <Anchors>
Nenue@5 194 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" relativeKey="$parent.bg" x="-12" y="7" />
Nenue@5 195 </Anchors>
Nenue@5 196 <Color a="1" r="0" g="1" b="0" />
Nenue@0 197 </FontString>
Nenue@17 198
Nenue@17 199 <FontString parentKey="savingText" inherits="KTHeaderFont" text="Press a key." />
Nenue@0 200 </Layer>
Nenue@0 201 </Layers>
Nenue@0 202 <Frames>
Nenue@34 203
Nenue@34 204
Nenue@34 205 <Frame name="KeyBinderTutorial" parent="KeyBinder">
Nenue@34 206
Nenue@34 207 <Size x="20" y="20" />
Nenue@34 208 <Anchors>
Nenue@34 209 <Anchor point="TOPLEFT" relativeKey="$parent.footer" x="2" y="-2" />
Nenue@34 210 <Anchor point="TOPRIGHT" relativeKey="$parent.footer" x="-2" y="-2" />
Nenue@34 211 </Anchors>
Nenue@34 212 <Layers>
Nenue@34 213 <Layer level="ARTWORK">
Nenue@34 214 <Texture name="$parentMouseLeftClick" file="Interface\TutorialFrame\UI-TUTORIAL-FRAME">
Nenue@34 215 <Size x="15" y="20"/>
Nenue@34 216 <Anchors>
Nenue@34 217 <Anchor point="TOPLEFT" />
Nenue@34 218 </Anchors>
Nenue@34 219 <TexCoords left="0.0019531" right="0.1484375" top="0.4257813" bottom="0.6210938"/>
Nenue@34 220 </Texture>
Nenue@34 221 <FontString inherits="KTLogString" text="to change a key binding.">
Nenue@34 222 <Anchors>
Nenue@34 223 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentMouseLeftClick" x="2" y="0" />
Nenue@34 224 </Anchors>
Nenue@34 225 </FontString>
Nenue@34 226
Nenue@34 227 <Texture name="$parentMouseRightClick" file="Interface\TutorialFrame\UI-TUTORIAL-FRAME">
Nenue@34 228 <Size x="15" y="20"/>
Nenue@34 229 <Anchors>
Nenue@34 230 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentMouseLeftClick" x="0" y="-2" />
Nenue@34 231 </Anchors>
Nenue@34 232 <TexCoords left="0.0019531" right="0.1484375" top="0.6269531" bottom="0.8222656"/>
Nenue@34 233 </Texture>
Nenue@34 234 <FontString inherits="KTLogString" text="to remove actions from profile.">
Nenue@34 235 <Anchors>
Nenue@34 236 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parentMouseRightClick" x="2" y="0" />
Nenue@34 237 </Anchors>
Nenue@34 238 </FontString>
Nenue@34 239
Nenue@34 240 </Layer>
Nenue@34 241 </Layers>
Nenue@34 242 </Frame>
Nenue@34 243
Nenue@5 244 <Button inherits="UIPanelCloseButton" parentKey="CloseButton">
Nenue@0 245 <Anchors>
Nenue@0 246 <Anchor point="TOPRIGHT" />
Nenue@0 247 </Anchors>
Nenue@0 248 </Button>
Nenue@5 249
Nenue@17 250 <Button name="$parentUnbindButton" hidden="true">
Nenue@27 251 <Size x="48" y="24" />
Nenue@18 252 <Layers>
Nenue@18 253 <Layer level="OVERLAY">
Nenue@27 254 <FontString inherits="KTUIPanelFont" text="Clear">
Nenue@27 255 <Anchors>
Nenue@27 256 <Anchor point="CENTER" />
Nenue@27 257 </Anchors>
Nenue@27 258 </FontString>
Nenue@18 259 </Layer>
Nenue@18 260 </Layers>
Nenue@19 261 <NormalTexture>
Nenue@27 262 <Color a="1" r=".7" g="0.12" b=".06" />
Nenue@19 263 </NormalTexture>
Nenue@19 264 <HighlightTexture alphaMode="ADD">
Nenue@19 265
Nenue@19 266 <Color a="1" r=".15" g="0.15" b=".15" />
Nenue@19 267 </HighlightTexture>
Nenue@17 268 </Button>
Nenue@17 269
Nenue@18 270
Nenue@34 271 <CheckButton name="KeyBinderStickyMode" inherits="UICheckButtonTemplate">
Nenue@34 272 <Size y="32" x="32" />
Nenue@34 273 <Layers>
Nenue@34 274 <Layer level="OVERLAY">
Nenue@34 275 <FontString parentKey="header" inherits="KTLogString" text="Sticky Mode:" />
Nenue@34 276 </Layer>
Nenue@34 277 </Layers>
Nenue@34 278 </CheckButton>
Nenue@34 279
Nenue@34 280 <CheckButton name="KeyBinderHoverInput" inherits="UICheckButtonTemplate">
Nenue@34 281 <Size y="32" x="32" />
Nenue@5 282 <Anchors>
Nenue@34 283 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="-4" y="0" relativeTo="KeyBinderStickyMode" />
Nenue@5 284 </Anchors>
Nenue@18 285 <Layers>
Nenue@18 286 <Layer level="OVERLAY">
Nenue@34 287 <FontString parentKey="header" inherits="KTLogString" text="Bind" />
Nenue@34 288 <FontString inherits="KTHeaderFont" text="Settings">
Nenue@19 289 <Anchors>
Nenue@34 290 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="32" />
Nenue@18 291 </Anchors>
Nenue@18 292 </FontString>
Nenue@18 293 </Layer>
Nenue@18 294 </Layers>
Nenue@18 295 </CheckButton>
Nenue@17 296
Nenue@34 297 <CheckButton name="KeyBinderProtectBindings" inherits="UICheckButtonTemplate">
Nenue@34 298 <Size y="32" x="32" />
Nenue@18 299 <Anchors>
Nenue@34 300 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" x="-4" y="0" relativeTo="KeyBinderHoverInput" />
Nenue@18 301 </Anchors>
Nenue@18 302 <Layers>
Nenue@18 303 <Layer level="OVERLAY">
Nenue@34 304 <FontString parentKey="header" inherits="KTLogString" text="Safe" />
Nenue@18 305 </Layer>
Nenue@18 306 </Layers>
Nenue@5 307 </CheckButton>
Nenue@0 308 </Frames>
Nenue@0 309 </Frame>
Nenue@5 310
Nenue@5 311 <ScrollingMessageFrame hidden="true" fade="false" name="KeyBinderImportLog" parent="KeyBinder" clampedToScreen="true" parentKey="ImportLog" insertMode="BOTTOM" maxLines="500">
Nenue@5 312
Nenue@5 313 <Scripts>
Nenue@5 314 <OnLoad>
Nenue@5 315 self:AddMessage('SkeletonKey import tool')
Nenue@5 316 </OnLoad>
Nenue@5 317 <OnMouseWheel>
Nenue@5 318 if delta >= 0 then
Nenue@5 319 if IsControlKeyDown() then
Nenue@5 320 -- extremely janky but avoids having one line at the bottom
Nenue@5 321 for i =1, self:GetMaxLines() do
Nenue@5 322 self:ScrollUp()
Nenue@5 323 end
Nenue@5 324 end
Nenue@5 325
Nenue@5 326 return self:ScrollUp()
Nenue@5 327 else
Nenue@5 328
Nenue@5 329 if IsControlKeyDown() then
Nenue@5 330 return self:ScrollToBottom()
Nenue@5 331 end
Nenue@5 332
Nenue@5 333 self:ScrollDown()
Nenue@5 334 end
Nenue@5 335 </OnMouseWheel>
Nenue@5 336 </Scripts>
Nenue@5 337 <Anchors>
Nenue@5 338 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="2" y="0" />
Nenue@5 339 <Anchor point="BOTTOM" />
Nenue@5 340 </Anchors>
Nenue@5 341 <Size x="400" />
Nenue@5 342 <Layers>
Nenue@5 343 <Layer level="BACKGROUND">
Nenue@5 344 <Texture setAllPoints="true">
Nenue@5 345 <Color a="1" r="0" g="0" b="0" />
Nenue@5 346 </Texture>
Nenue@5 347 </Layer>
Nenue@5 348 </Layers>
Nenue@5 349 <FontString inherits="NumberFontNormal" justifyH="LEFT">
Nenue@5 350 <Anchors>
Nenue@5 351 <Anchor point="TOPLEFT" />
Nenue@5 352 </Anchors>
Nenue@34 353 </FontString>
Nenue@5 354 </ScrollingMessageFrame>
Nenue@34 355
Nenue@34 356
Nenue@0 357 </Ui>