view ClassPlan.xml @ 106:1197c8825eda

- remove 7.2.5 changes from live
author Nenue
date Sun, 28 May 2017 19:58:56 -0400
parents 4d1520186ea4
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="ClassPlan.lua" />

  <Font name="ClassPlanFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Regular.ttf" height="14" outline="NORMAL" virtual="true" />
  <Font name="ClassPlanNumberFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Bold.ttf" height="14" outline="NORMAL" virtual="true" />


  <Frame name="ClassOrderPlan" clampedToScreen="false" mixin="ClassOrderPlanCore" parent="UIParent" hidden="true" frameStrata="DIALOG">
    <Size x="600" y="40" />
    <Anchors>
      <Anchor point="TOP" />
    </Anchors>
    <Scripts>
      <OnLoad method="OnLoad" />
      <OnEvent method="OnEvent" />
      <OnShow method="OnShow" />
      <OnHide method="OnHide" />
      <OnUpdate method="OnUpdate" />
      <OnMouseDown method="OnMouseDown" />
      <OnDragStart method="OnDragStart" />
      <OnDragStop method="OnDragStop" />
    </Scripts>
    <Animations>
      <AnimationGroup parentKey="FadeIn" setToFinalAlpha="true">
        <Alpha parentKey="AlphaFade" fromAlpha="0" toAlpha="1" duration=".3" order="1" />
      </AnimationGroup>
      <AnimationGroup parentKey="FadeOut" setToFinalAlpha="true">

        <Alpha parentKey="AlphaFade" fromAlpha="1" toAlpha="0" duration=".3" order="1" />
      </AnimationGroup>
    </Animations>
    <Layers>
      <Layer level="BACKGROUND">
        <Texture parentKey="HeaderInset">
          <Size y="24" />
          <Anchors>
            <Anchor point="TOPLEFT" x="0" y="0" />
            <Anchor point="RIGHT" x="0" y="0" />
          </Anchors>
          <Color r="0" g="0" b="0" a="0.5" />
        </Texture>
      </Layer>
      <Layer level="ARTWORK">
        <Texture parentKey="ClassStripe">
          <Size y="4" />
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.HeaderInset" x="0" y="-24" />
            <Anchor point="RIGHT" />
          </Anchors>
          <Color a="1" r="0" b="0" g="0" />
        </Texture>
        <Texture parentKey="BackgroundInset">
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.ClassStripe" x="0" y="0" />

            <Anchor point="BOTTOMRIGHT" />
          </Anchors>
          <Color a="0.65" r="0" g="0" b="0" />
        </Texture>
      </Layer>
    </Layers>
  </Frame>



  <Frame name="ClassPlanPanelTemplate" parent="ClassOrderPlan" enableMouse="true" parentArray="Handlers" virtual="true">

    <Scripts>
      <OnLoad method="OnLoad" />
      <OnUpdate method="OnUpdate" />
      <OnEvent method="OnEvent" />
      <OnShow method="OnShow" />
      <OnMouseWheel method="OnMouseWheel" />
    </Scripts>
    <Frames>
      <Button name="$parentTab" parentKey="ListTab" mixin="ClassPlanHeaderMixin">
        <Anchors>
          <Anchor point="TOPLEFT" />
          <Anchor point="RIGHT" />
        </Anchors>
        <Scripts>
          <OnLoad method="OnLoad" />
          <OnClick method="OnClick" />
        </Scripts>
        <Size y="24" />
        <Layers>
          <Layer level="BACKGROUND">
            <Texture parentKey="Background">
              <Color a="1" r="0" g="0" b="0" />
            </Texture>
          </Layer>
          <Layer level="OVERLAY">
            <FontString parentKey="Label" inherits="ClassPlanFont">
              <Anchors>
                <Anchor point="CENTER" />
              </Anchors>
            </FontString>
            <FontString parentKey="Count" inherits="ClassPlanFont">
              <Anchors>
                <Anchor point="LEFT" x="3" y="0" />
              </Anchors>
            </FontString>
          </Layer>
          <Layer level="HIGHLIGHT">
            <Texture parentKey="Highlight">
              <Color a="0.5" r="1" g="1" b="1" />
            </Texture>
          </Layer>
        </Layers>
      </Button>
      <Frame parentKey="MoreItemsUp" frameStrata="HIGH" hidden="true">
        <Size y="24" />
        <Anchors>
          <Anchor point="TOPLEFT" />
          <Anchor point="TOPRIGHT" />
        </Anchors>
        <Layers>
          <Layer level="OVERLAY">
            <Texture parentKey="Overlay">
              <Color a="1" r="1" g="1" b="1" />
              <Gradient orientation="VERTICAL">
                <MinColor r="0" g="0" b="0" a="0" />
                <MaxColor r="0" g="0" b="0" a="0.5" />
              </Gradient>
            </Texture>
          </Layer>
        </Layers>
      </Frame>

      <Frame parentKey="MoreItemsDown" frameStrata="HIGH" hidden="true">
        <Size y="24" />
        <Anchors>
          <Anchor point="BOTTOMLEFT" />
          <Anchor point="BOTTOMRIGHT" />
        </Anchors>
        <Layers>
          <Layer level="OVERLAY">
            <Texture parentKey="Overlay">
              <Color a="1" r="1" g="1" b="1" />
              <Gradient orientation="VERTICAL">
                <MinColor r="0" g="0" b="0" a="0.5" />
                <MaxColor r="0" g="0" b="0" a="0" />
              </Gradient>
            </Texture>
          </Layer>
        </Layers>
      </Frame>
    </Frames>
    <Layers>
      <Layer level="OVERLAY">
        <FontString parentKey="Count" inherits="ClassPlanFont">
          <Anchors>
            <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="3" />
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
  </Frame>

  <Button name="ClassPlanListEntryTemplate" virtual="true" hidden="true">
    <Animations>
      <AnimationGroup parentKey="NewBlockFade">
        <Scripts>
          <OnStop>
            self:GetParent():OnAnimFinished()
          </OnStop>
          <OnFinished>
            self:GetParent():OnAnimFinished()
          </OnFinished>
        </Scripts>
        <Alpha parentKey="AlphaFade" duration="0.5" fromAlpha="0" toAlpha="1" order="1" />
      </AnimationGroup>
    </Animations>
    <Scripts>
      <OnLoad method="OnLoad" />
      <OnClick method="OnClick" />
      <OnUpdate method="OnUpdate" />
      <OnShow method="OnShow" />
      <OnEnter method="OnEnter" />
      <OnLeave method="OnLeave" />
    </Scripts>
    <Layers>
      <Layer level="BACKGROUND">
        <Texture parentKey="Background" setAllPoints="true" />
      </Layer>
      <Layer level="BACKGROUND" textureSubLevel="1">
        <Texture parentKey="Icon" alpha="1" desaturated="true">
          <Size x="24" y="24"/>
          <Anchors>
            <Anchor point="LEFT"/>
          </Anchors>
          <TexCoords left="0.15" right=".85" top="0.15" bottom="0.85" />
        </Texture>

        <Texture parentKey="ProgressBG" hidden="true">
          <Size y="2" />
          <Anchors>
            <Anchor point="RIGHT" />
            <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" relativeKey="$parent.Icon" />
          </Anchors>
          <Color a="0.5" r="0" g="0" b="0" />
        </Texture>
      </Layer>
      <Layer level="BORDER">
        <Texture parentKey="IconBorder" file="Interface\Common\WhiteIconFrame">
          <Size x="24" y="24"/>
          <Anchors>
            <Anchor point="CENTER" relativeKey="$parent.Icon"/>
          </Anchors>
        </Texture>
        <Texture parentKey="ProgressBar" hidden="true">
          <Size y="2" />
          <Anchors>
            <Anchor point="BOTTOMLEFT" relativeKey="$parent.ProgressBG" />
          </Anchors>
          <Color a="0.5" r="1" g="1" b="1" />
        </Texture>
      </Layer>
      <Layer level="ARTWORK">
        <Texture parentKey="Done" atlas="GarrLanding-ShipmentCompleteGlow" hidden="true">
          <Size x="24" y="24" />
          <Anchors>
            <Anchor point="BOTTOMLEFT"/>
          </Anchors>
        </Texture>
      </Layer>
      <Layer level="HIGHLIGHT">

        <Texture setAllPoints="true">
          <Color a="0.25" r="1" g="1" b="1" />
        </Texture>
      </Layer>
    </Layers>
    <Frames>
      <Cooldown parentKey="Swipe" inherits="CooldownFrameTemplate" reverse="true" hideCountdownNumbers="true">
        <Size x="24" y="24"/>
        <Anchors>
          <Anchor point="TOPLEFT"/>
          <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" x="24" y="0" />
        </Anchors>
        <Scripts>
          <OnCooldownStart>
            self:Show()
          </OnCooldownStart>
          <OnCoolDownDone>
            -- update via event
            C_Garrison.RequestLandingPageShipmentInfo();
          </OnCoolDownDone>
        </Scripts>
      </Cooldown>
      <Frame parentKey="Overlay" name="$parentOverlay" setAllPoints="true">
        <Layers>
          <Layer level="OVERLAY">

            <FontString parentKey="TimeLeft" inherits="ClassPlanFont" justifyH="CENTER">
              <Anchors>
                <Anchor point="RIGHT" x="-2" y="0"/>
              </Anchors>
            </FontString>
            <FontString parentKey="Name" inherits="ClassPlanFont" justifyV="TOP" wordwrap="false" justifyH="LEFT">
              <Anchors>
                <Anchor point="LEFT" x="26" y="0"/>
                <Anchor point="RIGHT" relativePoint="LEFT" relativeKey="$parent.TimeLeft" x="-4" y="0"/>
              </Anchors>
              <Color r=".75" g=".75" b=".73"/>
            </FontString>
            <FontString parentKey="Count" inherits="WorldPlanFont" justifyH="CENTER">
              <Anchors>
                <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" x="2" y="1" relativeKey="$parent.$parent.Icon"/>
              </Anchors>
            </FontString>
          </Layer>
          <Layer level="HIGHLIGHT">

            <FontString parentKey="Owner" inherits="WorldPlanFont" text="base text">
              <Anchors>
                <Anchor point="TOPRIGHT" x="-2" y="-2" />
              </Anchors>
            </FontString>
          </Layer>
        </Layers>
      </Frame>
    </Frames>
  </Button>


  <Button name="ClassOrderPlanCharacterButton" virtual="true" parent="ClassOrderPlan" mixin="ClassPlanCharacterButtonMixin" >
    <Size x="48" y="48" />
    <Scripts>
      <OnLoad method="OnLoad" />
      <OnEvent method="OnEvent" />
      <OnClick method="OnClick" />
      <OnEnter method="OnEnter" />
      <OnLeave method="OnLeave" />
    </Scripts>
    <Layers>
      <Layer level="ARTWORK">
        <Texture parentKey="Icon" file="Interface\Glues\CHARACTERCREATE\UI-CHARACTERCREATE-CLASSES" setAllPoints="true" />
      </Layer>
      <Layer level="OVERLAY">
        <Texture parentKey="SelectGlow" file="Interface\Glues\CHARACTERCREATE\UI-CharacterCreate-Highlights" alphaMode="ADD">
          <TexCoords left="0.5" right="1" top="0" bottom="0.5" />
        </Texture>
      </Layer>
      <Layer level="HIGHLIGHT">
        <Texture parentKey="HighlightGlow" file="Interface\Glues\CHARACTERCREATE\UI-CharacterCreate-Highlights" alphaMode="ADD" alpha="0.5">
          <TexCoords left="0" right="0.5" top="0" bottom="0.5" />
        </Texture>
      </Layer>
    </Layers>
  </Button>

  <Button name="ClassPlanShipmentEntry" inherits="ClassPlanListEntryTemplate" mixin="ClassPlanShipmentEntryMixin" virtual="true">
    <Size y="24" />

    <Anchors>
      <Anchor point="RIGHT" />
    </Anchors>
  </Button>
</Ui>