comparison FilterBar.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 db570c6a0ffb
children b29b35cb8539
comparison
equal deleted inserted replaced
92:df725cba1a6a 93:98b5e08b75ed
1 <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/ 1 <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/
2 ..\FrameXML\UI.xsd"> 2 ..\FrameXML\UI.xsd">
3 <Script file="FilterBar.lua" /> 3 <Script file="FilterBar.lua" />
4 <Frame name="$parentSummary" parent="WorldPlan" mixin="WorldPlanSummaryMixin"> 4 <Frame name="$parentSummary" parent="WorldPlan" mixin="WorldPlanSummaryMixin" hidden="true">
5 <Size x="24" y="24" />
6 <Anchors>
7 <Anchor point="BOTTOMLEFT" />
8 </Anchors>
5 <Scripts> 9 <Scripts>
6 <OnLoad method="OnLoad" /> 10 <OnLoad method="OnLoad" />
7 <OnEvent method="OnEvent" /> 11 <OnEvent method="OnEvent" />
8 <OnShow method="OnShow" /> 12 <OnShow method="OnShow" />
13 <OnUpdate method="OnUpdate" />
9 </Scripts> 14 </Scripts>
10 15
11 <Size x="24" y="24" /> 16 <Layers>
17 <Layer level="BACKGROUND">
12 18
19 <Texture parentKey="Backdrop" hidden="true">
20 <Size y="40" />
21 <Anchors>
22 <Anchor point="LEFT" />
23 <Anchor point="RIGHT" />
24 <Anchor point="TOP" />
25 </Anchors>
26 <Gradient orientation="VERTICAL">
27 <MinColor r="0" g="0" b="0" a="0" />
28 <MaxColor r="0" g="0" b="0" a=".7" />
29 </Gradient>
30 <Color a="1" r="1" g="1" b="1" />
31 </Texture>
32 </Layer>
33 </Layers>
34
35 <Frames>
36 <CheckButton name="$parentToggle" parentKey="Toggle" >
37 <Size x="20" y="20" />
38 <Anchors>
39 <Anchor point="TOPLEFT" x="3" y="-3" />
40 </Anchors>
41 <Layers>
42 <Layer level="BACKGROUND">
43 <Texture setAllPoints="false">
44 <Anchors>
45 <Anchor point="TOPRIGHT" x="-1" y="-1" />
46 <Anchor point="BOTTOMLEFT" x="1" y="1" />
47 </Anchors>
48 <Color a="1" r="0" g="0" b="0" />
49 </Texture>
50 </Layer>
51 </Layers>
52 <NormalTexture setAllPoints="true">
53 <Color a=".25" r="0" g="0" b="0" />
54 </NormalTexture>
55 <CheckedTexture setAllPoints="false" file="Interface\BUTTONS\UI-CheckBox-Check">
56 <Anchors>
57 <Anchor point="TOPRIGHT" x="-1" y="-1" />
58 <Anchor point="BOTTOMLEFT" x="1" y="1" />
59 </Anchors>
60 </CheckedTexture>
61 </CheckButton>
62 </Frames>
13 </Frame> 63 </Frame>
14 <Button name="WorldPlanFilterPin" virtual="true" flattenRenderLayers="true" mixin="WorldPlanFilterPinMixin"> 64 <Frame name="WorldPlanFilterHeader" parentArray="Headers" virtual="true" enableMouse="true">
65 <Size x="24" y="30" />
66 <Layers>
67 <Layer level="BACKGROUND">
68 <Texture parentKey="Backdrop" hidden="true">
69 <Anchors>
70 <Anchor point="LEFT" />
71 <Anchor point="RIGHT" />
72 <Anchor point="TOP" />
73 </Anchors>
74 <Gradient orientation="VERTICAL">
75 <MinColor r="0" g="0" b="0" a=".5" />
76 <MaxColor r="0" g="0" b="0" a="1" />
77 </Gradient>
78 <Color a="1" r="1" g="1" b="1" />
79 </Texture>
80 <Texture parentKey="Edge1">
81 <Size x="1" y="24" />
82 <Anchors>
83 <Anchor point="TOPLEFT" />
84 </Anchors>
85 <Gradient orientation="VERTICAL">
86 <MinColor r="1" g="1" b="1" a="0" />
87 <MaxColor r="1" g="1" b="1" a=".5" />
88 </Gradient>
89 <Color a="1" r="1" g="1" b="1" />
90 </Texture>
91 <Texture parentKey="Edge2">
92 <Size x="1" y="24" />
93 <Anchors>
94 <Anchor point="TOPRIGHT" />
95 </Anchors>
96 <Gradient orientation="VERTICAL">
97 <MinColor r="1" g="1" b="1" a="0" />
98 <MaxColor r="1" g="1" b="1" a=".5" />
99 </Gradient>
100 <Color a="1" r="1" g="1" b="1" />
101 </Texture>
102 <FontString inherits="GameFontNormal" parentKey="Label" hidden="true">
103 <Anchors>
104 <Anchor point="BOTTOMLEFT" x="2" y="2" />
105 </Anchors>
106 </FontString>
107 </Layer>
108 </Layers>
109 </Frame>
110 <Button name="WorldPlanFilterButton" parentArray="Buttons" virtual="true" mixin="WorldPlanFilterButtonMixin">
15 <Scripts> 111 <Scripts>
16 <OnClick method="OnClick" /> 112 <OnClick method="OnClick" />
17 <OnLoad method="OnLoad" /> 113 <OnLoad method="OnLoad" />
18 <OnEvent method="OnEvent" /> 114 <OnEvent method="OnEvent" />
19 <OnUpdate method="OnUpdate" /> 115 <OnUpdate method="OnUpdate" />
23 <OnEnter method="OnEnter" /> 119 <OnEnter method="OnEnter" />
24 <OnLeave method="OnLeave" /> 120 <OnLeave method="OnLeave" />
25 </Scripts> 121 </Scripts>
26 <Layers> 122 <Layers>
27 <Layer level="BACKGROUND"> 123 <Layer level="BACKGROUND">
28 <Texture parentKey="RewardBorder" setAllPoints="true" /> 124 <Texture parentKey="RewardBorder" setAllPoints="true" alphaMode="ADD" />
29 </Layer> 125 </Layer>
30 <Layer level="ARTWORK"> 126 <Layer level="ARTWORK">
31 <Texture parentKey="icon"> 127 <Texture parentKey="icon">
32 <Anchors> 128 <Anchors>
33 <Anchor point="BOTTOMLEFT" x="1" y="1" /> 129 <Anchor point="BOTTOMLEFT" x="1" y="1" />