view WorldPlan.xml @ 98:d594c5c4a4a3 v1.4.10

- Fixed quest markers for other maps becoming visible due to ambiguous interpretations of pin.used. - Removed some redundant filter checking calls on pins obtained through Acquire() - Attempted fix to a source of combat taint. - Attempt to fix quest markers not disappearing immediately after a completion spell is used.
author Nenue
date Mon, 15 May 2017 00:15:13 -0400
parents b29b35cb8539
children caa482329919
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" mixin="WorldPlanPOIMixin">
    <Animations>
      <AnimationGroup parentKey="FadeIn" setToFinalAlpha="true" looping="NONE">
        <Alpha parentKey="Icon" childKey="icon" duration="0.45" fromAlpha="0" toAlpha="1" order="1" />
        <Alpha parentKey="Border" childKey="RewardBorder" duration="0.45" fromAlpha="0" toAlpha="1" order="1" />
        <Scripts>
          <OnPlay>
            self:GetParent():OnAnimStart()
          </OnPlay>
          <OnStop>
            self:GetParent():OnAnimStop()
          </OnStop>
          <OnFinished>
            self:GetParent():OnAnimStop()
          </OnFinished>
        </Scripts>
      </AnimationGroup>
    </Animations>
    <Layers>
      <Layer level="BACKGROUND" textureSubLevel="-2">
        <Texture parentKey="HighlightBorder"  file="Interface\UNITPOWERBARALT\Generic1Target_Circular_Frame" 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\Minimap\UI-Minimap-Background" desaturated="true" alpha="0">
          <Anchors>
            <Anchor point="CENTER" />
          </Anchors>
        </Texture>
      </Layer>
      <Layer textureSubLevel="0">

        <Texture parentKey="IconBackdrop" file="Interface\Minimap\UI-Minimap-Background">
          <Anchors>
            <Anchor point="CENTER" />
          </Anchors>
        </Texture>
      </Layer>
      <Layer level="ARTWORK" textureSubLevel="2">
        <Texture parentKey="icon" nonBlocking="true" setAllPoints="true" alpha="0">
          <Anchors>
            <Anchor point="CENTER" />
          </Anchors>
        </Texture>
      </Layer>
      <Layer level="OVERLAY">
        <Texture parentKey="tagIcon" nonBlocking="true" 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="1" file="Interface\UNITPOWERBARALT\Generic1Target_Circular_Frame" desaturated="true">
          <Anchors>
            <Anchor point="BOTTOMLEFT" />
            <Anchor point="TOPRIGHT" />
          </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">
        <!--
        <Scripts>
          <OnShow>
            local out = debugstack(3,3,1)
            out = out:gsub("Interface%\\AddOns\\", "|cFFFF00FF\\|r")
            print('POI', self:GetName().. ':OnShow()\n' .. out:gsub("Interface%\\", "|cFF00FFFF\\|r"))
          </OnShow>
          <OnHide>
            local out = debugstack(3,3,1)
            out = out:gsub("Interface%\\AddOns\\", "|cFFFF00FF\\|r")
            print('POI', self:GetName().. ':OnHide()\n' .. out:gsub("Interface%\\", "|cFF00FFFF\\|r"))
          </OnHide>
        </Scripts>
        -->
        <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>

  <ScrollingMessageFrame name="WorldPlanDebug" parent="UIParent" mixin="WorldPlanDebugMixin" hidden="true" frameStrata="TOOLTIP">
    <Size x="700" />
    <Anchors>
      <Anchor point="CENTER" />
      <Anchor point="TOP" />
      <Anchor point="BOTTOM" x="0" y="200" />
    </Anchors>
    <Scripts>
      <OnLoad method="OnLoad" />
      <OnShow method="OnShow" />
      <OnUpdate method="OnUpdate" />
      <OnMouseWheel method="OnMouseWheel" />
    </Scripts>
    <Layers>
      <Layer level="BACKGROUND">
        <Texture setAllPoints="true">
          <Color a="1" r="0" g="0" b="0" />
        </Texture>
      </Layer>
    </Layers>
  </ScrollingMessageFrame>


</Ui>