view QuestPOI.xml @ 121:1fcc4fe645dc tip

- Removed legionfall war supplies from the list of reward currencies to display
author Nenue
date Fri, 16 Feb 2018 14:27:59 -0500
parents caa482329919
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="QuestPOI.lua" />



    <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>
</Ui>