annotate Dock.xml @ 99:7d94df3804a7

- Console drag buttons for resizing - While dragging a console frame, other frames are ghosted out - Dropdown menu includes Toggle, Pin, and MinMax
author Nenue
date Thu, 27 Oct 2016 06:11:04 -0400
parents 33bc8baba858
children 790dca545f1d
rev   line source
Nenue@98 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@98 2 ..\FrameXML\UI.xsd">
Nenue@98 3 <Script file="Dock.lua" />
Nenue@98 4
Nenue@98 5 <Font name="DevianDockHeader" font="Fonts\ARIALN.TTF" outline="NORMAL" virtual="true" height="14" />
Nenue@98 6
Nenue@98 7
Nenue@98 8
Nenue@98 9 <Frame
Nenue@98 10 name="DevianDock"
Nenue@98 11 parent="UIParent"
Nenue@98 12 enableMouse="true"
Nenue@98 13 alpha="0.1"
Nenue@98 14 hidden="true"
Nenue@98 15 mixin="DevianDockHandler"
Nenue@99 16 frameStrata="DIALOG">
Nenue@98 17 <Scripts>
Nenue@98 18 <OnMouseWheel method="OnMouseWheel" />
Nenue@98 19 </Scripts>
Nenue@98 20 <Size x="32" y="20" />
Nenue@98 21 <Layers>
Nenue@98 22 <Layer level="ARTWORK">
Nenue@98 23 <Texture name="$parentBar" parent="DevianDock" setAllPoints="true" parentKey="caption" alphaMode="BLEND">
Nenue@98 24 <Color r="1" g="1" b="1" a="1" />
Nenue@98 25 <Gradient orientation="VERTICAL">
Nenue@98 26 <MaxColor r="0.15" g=".15" b="0.15" a="0.4" />
Nenue@98 27 <MinColor r="0" g="0" b="0" a="0" />
Nenue@98 28 </Gradient>
Nenue@98 29 </Texture>
Nenue@98 30
Nenue@98 31 </Layer>
Nenue@98 32 <Layer level="OVERLAY">
Nenue@98 33
Nenue@98 34 </Layer>
Nenue@98 35 </Layers>
Nenue@98 36 </Frame>
Nenue@99 37
Nenue@99 38
Nenue@99 39 <Button name="DevianDockTabTemplate" hidden="true" virtual="true" enableMouse="true" alpha="1" frameStrata="MEDIUM" mixin="DevianDockTabMixin">
Nenue@99 40 <Size x="64" y="24" />
Nenue@99 41
Nenue@99 42 <Scripts>
Nenue@99 43 <OnShow method="OnShow" />
Nenue@99 44 <OnEnter method="OnEnter" />
Nenue@99 45 <OnMouseDown method="OnMouseDown" />
Nenue@99 46 <OnClick method="Select" />
Nenue@99 47 </Scripts>
Nenue@99 48 <Layers>
Nenue@99 49 <Layer level="BACKGROUND">
Nenue@99 50 <Texture parentKey="Background" setAllPoints="true">
Nenue@99 51 <Color a="0.5" r="0" g="0" b="0" />
Nenue@99 52 </Texture>
Nenue@99 53 </Layer>
Nenue@99 54 <Layer level="OVERLAY">
Nenue@99 55 <Texture parentKey="Stripe">
Nenue@99 56 <Anchors>
Nenue@99 57 <Anchor point="TOPLEFT" />
Nenue@99 58 <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="-3" />
Nenue@99 59 </Anchors>
Nenue@99 60 </Texture>
Nenue@99 61 </Layer>
Nenue@99 62 </Layers>
Nenue@99 63 <Frames>
Nenue@99 64 <Frame name="$parentText" parentKey="caption" alpha="1" blendMode="BLEND" enableMouse="false">
Nenue@99 65 <Size x="64" y="24" />
Nenue@99 66 <Anchors>
Nenue@99 67 <Anchor point="BOTTOM" relativePoint="BOTTOM" x="0" y="0" />
Nenue@99 68 </Anchors>
Nenue@99 69 <Layers>
Nenue@99 70 <Layer level="OVERLAY">
Nenue@99 71 <FontString text="Test String" inherits="DevianDockHeader" parentKey="name" wordwrap="false" setAllPoints="true">
Nenue@99 72 <Anchors>
Nenue@99 73 <Anchor point="BOTTOM" x="0" y="2" />
Nenue@99 74 </Anchors>
Nenue@99 75 <Color r="1" g="1" b="1" a="1" />
Nenue@99 76 <Shadow>
Nenue@99 77 <Color r="0" g="0" b="0" a="1" />
Nenue@99 78 <Offset x="0" y="-2" />
Nenue@99 79 </Shadow>
Nenue@99 80 </FontString>
Nenue@99 81 </Layer>
Nenue@99 82 </Layers>
Nenue@99 83 <Animations>
Nenue@99 84 <AnimationGroup parentKey="pulse" looping="BOUNCE" setToFinalAlpha="false">
Nenue@99 85 <Alpha fromAlpha=".5" toAlpha="1" duration="0.4" endDelay="0.6" order="1" childKey="name" />
Nenue@99 86
Nenue@99 87 </AnimationGroup>
Nenue@99 88 </Animations>
Nenue@99 89 </Frame>
Nenue@99 90 </Frames>
Nenue@99 91 </Button>
Nenue@99 92
Nenue@98 93 </Ui>