view Dock.xml @ 111:5c591d9b4029 tip

Added tag v8.0.1-20181807-1 for changeset 930922e1ec5b
author Nenue
date Wed, 18 Jul 2018 15:02:50 -0400
parents 930922e1ec5b
children
line wrap: on
line source
<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/
..\FrameXML\UI.xsd">
  <Script file="Dock.lua" />

  <Font name="DevianDockHeader" font="Fonts\ARIALN.TTF" outline="NORMAL" virtual="true" height="14" />



  <Frame
      name="DevianDock"
      parent="UIParent"
      enableMouse="true"
      alpha="0.1"
      hidden="true"
      mixin="DevianDockHandler"
      frameStrata="DIALOG">
    <Scripts>
      <OnMouseWheel method="OnMouseWheel" />
    </Scripts>
    <Size x="32" y="20" />
    <Layers>
      <Layer level="ARTWORK">
        <Texture name="$parentBar" parent="DevianDock" setAllPoints="true" parentKey="caption" alphaMode="BLEND">
          <Color r="1" g="1" b="1" a="1" />
          <Gradient orientation="VERTICAL">
            <MaxColor r="0.15" g=".15" b="0.15" a="0.4" />
            <MinColor r="0" g="0" b="0" a="0" />
          </Gradient>
        </Texture>

      </Layer>
      <Layer level="OVERLAY">

      </Layer>
    </Layers>
  </Frame>


  <Button name="DevianDockTabTemplate" hidden="true" virtual="true" enableMouse="true" alpha="1" frameStrata="DIALOG" mixin="DevianDockTabMixin">
    <Size x="64" y="24" />

    <Scripts>
      <OnShow method="OnShow" />
      <OnEnter method="OnEnter" />
      <OnMouseDown method="OnMouseDown" />
    </Scripts>
    <Layers>
      <Layer level="BACKGROUND">
        <Texture parentKey="Background" setAllPoints="true">
          <Color a="0.5" r="0" g="0" b="0" />
        </Texture>
      </Layer>
      <Layer level="BORDER">
        <Texture parentKey="BackgroundGlow" setAllPoints="true" hidden="true">
          <Color a="1" r="0" g="1" b="0.5" />
        </Texture>
      </Layer>
      <Layer level="OVERLAY">
        <Texture parentKey="Stripe">
          <Anchors>
            <Anchor point="TOPLEFT" />
            <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT" x="0" y="-3" />
          </Anchors>
        </Texture>
      </Layer>
    </Layers>
    <Frames>
      <Frame name="$parentText" parentKey="caption" alpha="1" blendMode="BLEND" enableMouse="false">
        <Size x="64" y="24" />
        <Anchors>
          <Anchor point="BOTTOM" relativePoint="BOTTOM" x="0" y="0" />
        </Anchors>
        <Layers>
          <Layer level="OVERLAY">
            <FontString text="Test String" inherits="DevianDockHeader" parentKey="name" wordwrap="false" setAllPoints="true">
              <Anchors>
                <Anchor point="BOTTOM" x="0" y="2" />
              </Anchors>
              <Color r="1" g="1" b="1" a="1" />
              <Shadow>
                <Color r="0" g="0" b="0" a="1" />
                <Offset x="0" y="-2" />
              </Shadow>
            </FontString>
          </Layer>
        </Layers>
      </Frame>
    </Frames>
    <Animations>
      <AnimationGroup parentKey="pulse" looping="REPEAT" setToFinalAlpha="true">
        <Alpha fromAlpha=".15" toAlpha=".65" duration="0.4" order="1" childKey="BackgroundGlow" />
        <Alpha fromAlpha=".65" toAlpha=".15" duration="0.4" order="2" childKey="BackgroundGlow" />
        <Alpha fromAlpha=".15" toAlpha=".15" duration="0.6" order="3" childKey="BackgroundGlow" />
        <Scripts>
          <OnPlay>
            self:GetParent().BackgroundGlow:SetAlpha(.65)
            self:GetParent().BackgroundGlow:Show()
          </OnPlay>
          <OnStop>
            self:GetParent().BackgroundGlow:Hide()
          </OnStop>
          <OnFinished>
            self:GetParent().BackgroundGlow:Hide()
          </OnFinished>
        </Scripts>
      </AnimationGroup>
    </Animations>
  </Button>



  <Button name="DevianExecButton" parent="UIParent" hidden="true">
    <Size x="32" y="32" />
    <Anchors>
      <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="DevianDock" x="-4"/>
    </Anchors>

    <NormalTexture file="Interface/Addons/Devian/arrow.blp" setAllPoints="true" alphaMode="ADD">
      <Color r="1" g="1" b="1" a="1" />
    </NormalTexture>
    <PushedTexture file="Interface/Addons/Devian/arrow.blp" setAllPoints="true" alphaMode="ADD">
      <Anchors>
        <Anchor point="TOPRIGHT" x="-1" y="-1" />
        <Anchor point="BOTTOMLEFT" x="1" y="1" />
      </Anchors>
      <Color r="1" g="0" b="0.5" a="1" />
    </PushedTexture>



    <Layers>
      <Layer level="ARTWORK">

      </Layer>
    </Layers>
  </Button>

</Ui>