Mercurial > wow > worldplan
view FilterBar.xml @ 95:b29b35cb8539
- 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
- ClassOrderPlan can be closed with the game menu button
author | Nenue |
---|---|
date | Mon, 08 May 2017 22:38:52 -0400 |
parents | 98b5e08b75ed |
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="FilterBar.lua" /> <Frame name="$parentSummary" parent="WorldPlan" mixin="WorldPlanSummaryMixin" hidden="true"> <Size x="24" y="24" /> <Anchors> <Anchor point="BOTTOMLEFT" /> </Anchors> <Scripts> <OnLoad method="OnLoad" /> <OnEvent method="OnEvent" /> <OnShow method="OnShow" /> <OnUpdate method="OnUpdate" /> </Scripts> <Layers> <Layer level="BACKGROUND"> <Texture parentKey="Backdrop" hidden="true"> <Size y="40" /> <Anchors> <Anchor point="LEFT" /> <Anchor point="RIGHT" /> <Anchor point="TOP" /> </Anchors> <Gradient orientation="VERTICAL"> <MinColor r="0" g="0" b="0" a="0" /> <MaxColor r="0" g="0" b="0" a=".7" /> </Gradient> <Color a="1" r="1" g="1" b="1" /> </Texture> </Layer> </Layers> <Frames> <CheckButton name="$parentToggle" parentKey="Toggle" > <Size x="20" y="20" /> <Anchors> <Anchor point="TOPLEFT" x="3" y="-3" /> </Anchors> <Layers> <Layer level="BACKGROUND"> <Texture setAllPoints="false"> <Anchors> <Anchor point="TOPRIGHT" x="-1" y="-1" /> <Anchor point="BOTTOMLEFT" x="1" y="1" /> </Anchors> <Color a="1" r="0" g="0" b="0" /> </Texture> </Layer> </Layers> <NormalTexture setAllPoints="true"> <Color a=".25" r="0" g="0" b="0" /> </NormalTexture> <CheckedTexture setAllPoints="false" file="Interface\BUTTONS\UI-CheckBox-Check"> <Anchors> <Anchor point="TOPRIGHT" x="-1" y="-1" /> <Anchor point="BOTTOMLEFT" x="1" y="1" /> </Anchors> </CheckedTexture> </CheckButton> </Frames> </Frame> <Frame name="WorldPlanFilterHeader" parentArray="Headers" virtual="true" enableMouse="true"> <Size x="24" y="30" /> <Layers> <Layer level="BACKGROUND"> <Texture parentKey="Backdrop" hidden="true"> <Anchors> <Anchor point="LEFT" /> <Anchor point="RIGHT" /> <Anchor point="TOP" /> </Anchors> <Gradient orientation="VERTICAL"> <MinColor r="0" g="0" b="0" a=".5" /> <MaxColor r="0" g="0" b="0" a="1" /> </Gradient> <Color a="1" r="1" g="1" b="1" /> </Texture> <Texture parentKey="Edge1"> <Size x="1" y="24" /> <Anchors> <Anchor point="TOPLEFT" /> </Anchors> <Gradient orientation="VERTICAL"> <MinColor r="1" g="1" b="1" a="0" /> <MaxColor r="1" g="1" b="1" a=".5" /> </Gradient> <Color a="1" r="1" g="1" b="1" /> </Texture> <Texture parentKey="Edge2"> <Size x="1" y="24" /> <Anchors> <Anchor point="TOPRIGHT" /> </Anchors> <Gradient orientation="VERTICAL"> <MinColor r="1" g="1" b="1" a="0" /> <MaxColor r="1" g="1" b="1" a=".5" /> </Gradient> <Color a="1" r="1" g="1" b="1" /> </Texture> <FontString inherits="GameFontNormal" parentKey="Label" hidden="true"> <Anchors> <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" x="2" y="-2" /> </Anchors> </FontString> </Layer> </Layers> </Frame> <Button name="WorldPlanFilterButton" parentArray="Buttons" virtual="true" mixin="WorldPlanFilterButtonMixin"> <Scripts> <OnClick method="OnClick" /> <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> <Layers> <Layer level="BACKGROUND"> <Texture parentKey="RewardBorder" setAllPoints="true" alphaMode="ADD" /> </Layer> <Layer level="ARTWORK"> <Texture parentKey="icon"> <Anchors> <Anchor point="BOTTOMLEFT" x="1" y="1" /> <Anchor point="TOPRIGHT" x="-1" y="-1" /> </Anchors> </Texture> </Layer> <Layer level="OVERLAY"> <FontString parentKey="count" inherits="WorldPlanNumberFontThin"> <Anchors> <Anchor point="RIGHT" x="-3" /> </Anchors> </FontString> </Layer> </Layers> </Button> </Ui>