view WorldPlan.xml @ 54:b289eb3e6a32

- Fix stray pin text arising from pins that are never shown.
author Nenue
date Sat, 31 Dec 2016 17:31:39 -0500
parents dbd81d49af02
children 0749e38081e7
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="WorldPlan.lua" />
  <Script file="QuestPOI.lua" />

  <Font name="WorldPlanFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Regular.ttf" height="12" outline="NORMAL" virtual="true" />
  <Font name="WorldPlanNumberFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Bold.ttf" height="10" outline="NORMAL" virtual="true" />
  <Font name="WorldPlanNumberFontThin" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Regular.ttf" height="14" outline="NORMAL" virtual="true" />

  <GameTooltip name="WorldPlanTooltip" parent="UIParent" inherits="GameTooltipTemplate">

  </GameTooltip>


  <Button name="VeneerWQCompassTemplate" virtual="true" hidden="true">
    <Size x="50" y="36" />
    <Anchors>
      <Anchor point="TOP" />
    </Anchors>
    <Layers>
      <Layer level="ARTWORK">
        <Texture parentKey="icon" name="$parentIcon" setAllPoints="false">
          <Anchors>
            <Anchor point="TOPLEFT" />
          </Anchors>
        </Texture>
      </Layer>
      <Layer level="OVERLAY">
        <FontString inherits="VeneerFont" parentKey="label">
          <Anchors>
            <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.icon" />
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
  </Button>

  <Button name="WorldPlanQuestPin" virtual="true" hidden="true" frameStrata="TOOLTIP" mixin="WorldPlanPOIMixin">
    <Animations>
      <AnimationGroup parentKey="FadeIn" setToFinalAlpha="true" looping="NONE">
        <Alpha parentKey="FadeIn" duration="0.45" fromAlpha="0" toAlpha="1" order="1" />
        <Scripts>
          <OnStop>
            self:GetParent():EndFade()
          </OnStop>
          <OnFinished>
            self:GetParent():EndFade()
          </OnFinished>
        </Scripts>
      </AnimationGroup>
      <AnimationGroup parentKey="PendingFade" setToFinalAlpha="true" looping="REPEAT">
        <Alpha parentKey="FadeOut" duration="0.72" fromAlpha="1" toAlpha="0" order="1" />
        <Alpha parentKey="FadeIn" duration="0.72" fromAlpha="0" toAlpha="1" order="2" />
      </AnimationGroup>
    </Animations>
    <Layers>
      <Layer level="BACKGROUND" textureSubLevel="-2">
        <Texture parentKey="MouseGlow" file="Interface\WorldMap\UI-QuestPoi-IconGlow" alphaMode="ADD" hidden="true">
          <Anchors>
            <Anchor point="BOTTOMLEFT" x="-12" y="-12" />
            <Anchor point="TOPRIGHT" x="12" y="12" />
          </Anchors>
        </Texture>
        <Texture parentKey="HighlightBorder" desaturated="true">
          <Anchors>
            <Anchor point="CENTER" />
          </Anchors>
        </Texture>
        <Texture parentKey="EliteBorder" atlas="worldquest-questmarker-dragon" useAtlasSize="true" hidden="true">
          <Anchors>
            <Anchor point="TOPRIGHT" x="6" y="6" />
            <Anchor point="BOTTOMLEFT" x="-6" y="-6" />
          </Anchors>
        </Texture>
      </Layer>
      <Layer level="BACKGROUND" textureSubLevel="1">
        <Texture parentKey="RewardBorder" file="Interface\UNITPOWERBARALT\Generic1Target_Circular_Frame" desaturated="true">
          <Anchors>
            <Anchor point="CENTER" />
          </Anchors>
        </Texture>
      </Layer>
      <Layer level="BORDER">
        <Texture parentKey="icon" setAllPoints="true">
          <Anchors>
            <Anchor point="CENTER" />
          </Anchors>
        </Texture>
      </Layer>
      <Layer level="OVERLAY">
        <Texture parentKey="dot" hidden="true" setAllPoints="false">
          <Size x="6" y="6" />
          <Color a="1" r="1" g="0" b="0" />
        </Texture>
        <Texture parentKey="dotH" hidden="true">
          <Size y="4" />
          <Color a="1" r="0" g="0" b="0" />
        </Texture>
        <Texture parentKey="tagIcon" setAllPoints="false">
          <Size x="12" y="12" />
          <Anchors>
            <Anchor point="BOTTOMRIGHT" x="1" y="-1" />
          </Anchors>
        </Texture>
      </Layer>
      <Layer level="HIGHLIGHT">
        <Texture parentKey="highlight" alphaMode="ADD" alpha="0" file="Interface\Tooltips\UI-Tooltip-Background" desaturated="true">
          <Anchors>
            <Anchor point="BOTTOMLEFT" x="-3" y="-3" />
            <Anchor point="TOPRIGHT" x="3" y="3" />
          </Anchors>
        </Texture>

      </Layer>
    </Layers>
    <Scripts>
      <OnLoad method="OnLoad" />
      <OnEvent method="OnEvent" />
      <OnUpdate method="OnUpdate" />
      <OnShow method="OnShow" />
      <OnHide method="OnHide" />
      <OnMouseDown method="OnMouseDown" />
      <OnEnter method="OnEnter" />
      <OnLeave method="OnLeave" />
    </Scripts>
    <Frames>
      <Frame parentKey="Overlay" name="$parentOverlay" setAllPoints="true" hidden="true">
        <Layers>
          <Layer level="OVERLAY">
            <FontString inherits="WorldPlanNumberFontThin" parentKey="count">
              <Anchors>
                <Anchor point="BOTTOM" x="0" y="0" />
              </Anchors>
            </FontString>
            <FontString inherits="WorldPlanNumberFont" parentKey="timeLabel">
              <Anchors>
                <Anchor point="TOP" x="0" y="0" />
              </Anchors>
            </FontString>
            <FontString inherits="WorldPlanNumberFontThin" parentKey="Description">
              <Anchors>
                <Anchor point="TOP" relativePoint="BOTTOM" relativeKey="$parent.count" x="0" y="0" />
              </Anchors>
            </FontString>
          </Layer>
        </Layers>
      </Frame>
    </Frames>
  </Button>

  <Frame name="WorldPlan" mixin="WorldPlanCore" parent="UIParent">
    <KeyValues>
      <KeyValue key="DEVIAN_PNAME" value="WorldPlan"/>
    </KeyValues>
    <Size x="600" y="24" />
    <Anchors>
      <Anchor point="TOPRIGHT" />
    </Anchors>
    <Scripts>
      <OnLoad method="OnLoad" />
      <OnEvent method="OnEvent" />
      <OnUpdate method="OnUpdate" />
      <OnShow method="OnShow" />
    </Scripts>
  </Frame>


</Ui>