Mercurial > wow > worldplan
view WorldPlan.xml @ 93:98b5e08b75ed v1.4.9
- Fixed quest completion checking and handling
- Changed animation method to hopefully stop weird flickering.
- Pins are now visible before full reward data is loaded
- Filter bar redesigned:
- aligned horizontally along the top of the map display
- filter buttons display a '+' when there are matches in both current and other zones, and '*' when there only matches in other zones
- button tooltips separate local and global quests
- button categories are highlighted and labeled when the cursor is over them
- Fixed invalid POI targets appearing when the spell targeting cursor is active
author | Nenue |
---|---|
date | Sat, 15 Apr 2017 11:04:54 -0400 |
parents | 78d78dc77822 |
children | b29b35cb8539 |
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" setAllPoints="true" alpha="0"> <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="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>