annotate ClassPlan.xml @ 38:a93cae445d3f v1.0-rc9

WorldPlan: - Quest pins are now placed on the flight map. Their visibility rules will mirror the filter options from the world map. - Filter controls polish: - First click negates other reward type filters. Subsequent clicks will then toggle individual reward types until the filters are reset via Right-click. - Adheres to the Blizzard CVars added in patch 7.1 - Numerous optimizations to how data and visual updates are handled; should see an even better load time, and snappier world map interaction. ClassPlan: - The 'Available Missions' list is now recorded. It can be reviewed by clicking on the mission list heading. - Information filtering by character and realm.
author Nenue
date Fri, 04 Nov 2016 02:53:57 -0400
parents 26dfa661daa7
children 589c444d4837
rev   line source
Nenue@1 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/
Nenue@1 2 ..\FrameXML\UI.xsd">
Nenue@1 3
Nenue@1 4 <Script file="ClassPlan.lua" />
Nenue@1 5
Nenue@21 6 <Font name="ClassPlanFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Regular.ttf" height="14" outline="NORMAL" virtual="true" />
Nenue@21 7 <Font name="ClassPlanNumberFont" font="Interface\AddOns\WorldPlan\Font\ArchivoNarrow-Bold.ttf" height="14" outline="NORMAL" virtual="true" />
Nenue@2 8
Nenue@3 9
Nenue@4 10 <Frame name="ClassOrderPlan" mixin="ClassOrderPlanCore" parent="UIParent" hidden="true">
Nenue@4 11 <Size x="600" y="40" />
Nenue@4 12 <Anchors>
Nenue@4 13 <Anchor point="TOP" />
Nenue@4 14 </Anchors>
Nenue@4 15 <Scripts>
Nenue@4 16 <OnLoad method="OnLoad" />
Nenue@4 17 <OnEvent method="OnEvent" />
Nenue@4 18 <OnShow method="OnShow" />
Nenue@4 19 <OnHide method="OnHide" />
Nenue@18 20 <OnUpdate method="OnUpdate" />
Nenue@4 21 </Scripts>
Nenue@4 22 <Layers>
Nenue@4 23 <Layer level="BACKGROUND">
Nenue@4 24 <Texture parentKey="Background" setAllPoints="true">
Nenue@4 25 <Color a="0.5" r="0" b="0" g="0" />
Nenue@4 26 </Texture>
Nenue@4 27 </Layer>
Nenue@4 28 <Layer level="ARTWORK">
Nenue@4 29 <Texture parentKey="portrait">
Nenue@4 30 <Size x="40" y="40" />
Nenue@4 31 <Anchors>
Nenue@4 32 <Anchor point="TOPLEFT" />
Nenue@4 33
Nenue@4 34 </Anchors>
Nenue@4 35 </Texture>
Nenue@4 36 </Layer>
Nenue@4 37 </Layers>
Nenue@35 38 </Frame>
Nenue@35 39
Nenue@35 40
Nenue@35 41
Nenue@35 42 <Frame name="ClassPlanPanelTemplate" parent="ClassOrderPlan" enableMouse="true" parentArray="Handlers" virtual="true">
Nenue@35 43
Nenue@35 44 <Scripts>
Nenue@35 45 <OnLoad method="OnLoad" />
Nenue@35 46 <OnUpdate method="OnUpdate" />
Nenue@35 47 <OnEvent method="OnEvent" />
Nenue@35 48 <OnShow method="OnShow" />
Nenue@35 49 <OnMouseWheel method="OnMouseWheel" />
Nenue@35 50 </Scripts>
Nenue@32 51 <Frames>
Nenue@35 52 <Frame parentKey="MoreItemsUp" frameStrata="HIGH" hidden="true">
Nenue@35 53 <Size y="24" />
Nenue@35 54 <Anchors>
Nenue@35 55 <Anchor point="TOPLEFT" />
Nenue@35 56 <Anchor point="TOPRIGHT" />
Nenue@35 57 </Anchors>
Nenue@35 58 <Layers>
Nenue@35 59 <Layer level="OVERLAY">
Nenue@35 60 <Texture parentKey="Overlay">
Nenue@35 61 <Color a="1" r="1" g="1" b="1" />
Nenue@35 62 <Gradient orientation="VERTICAL">
Nenue@35 63 <MinColor r="0" g="0" b="0" a="0" />
Nenue@35 64 <MaxColor r="0" g="0" b="0" a="0.5" />
Nenue@35 65 </Gradient>
Nenue@35 66 </Texture>
Nenue@35 67 </Layer>
Nenue@35 68 </Layers>
Nenue@35 69 </Frame>
Nenue@32 70
Nenue@35 71 <Frame parentKey="MoreItemsDown" frameStrata="HIGH" hidden="true">
Nenue@35 72 <Size y="24" />
Nenue@35 73 <Anchors>
Nenue@35 74 <Anchor point="BOTTOMLEFT" />
Nenue@35 75 <Anchor point="BOTTOMRIGHT" />
Nenue@35 76 </Anchors>
Nenue@35 77 <Layers>
Nenue@35 78 <Layer level="OVERLAY">
Nenue@35 79 <Texture parentKey="Overlay">
Nenue@35 80 <Color a="1" r="1" g="1" b="1" />
Nenue@35 81 <Gradient orientation="VERTICAL">
Nenue@35 82 <MinColor r="0" g="0" b="0" a="0.5" />
Nenue@35 83 <MaxColor r="0" g="0" b="0" a="0" />
Nenue@35 84 </Gradient>
Nenue@35 85 </Texture>
Nenue@35 86 </Layer>
Nenue@35 87 </Layers>
Nenue@32 88 </Frame>
Nenue@32 89 </Frames>
Nenue@4 90 </Frame>
Nenue@4 91
Nenue@32 92
Nenue@35 93 <Frame name="$parentShipments" parentKey="Shipments" mixin="ClassPlanShipmentHandler" inherits="ClassPlanPanelTemplate" />
Nenue@6 94 <Button name="ClassPlanListEntryTemplate" virtual="true" hidden="true">
Nenue@1 95 <Scripts>
Nenue@32 96 <OnLoad method="OnLoad" />
Nenue@6 97 <OnClick method="OnClick" />
Nenue@1 98 <OnUpdate method="OnUpdate" />
Nenue@1 99 <OnShow method="OnShow" />
Nenue@2 100 <OnEnter method="OnEnter" />
Nenue@2 101 <OnLeave method="OnLeave" />
Nenue@1 102 </Scripts>
Nenue@1 103 <Layers>
Nenue@1 104 <Layer level="BACKGROUND">
Nenue@2 105 <Texture parentKey="Background" setAllPoints="true" />
Nenue@2 106 </Layer>
Nenue@2 107 <Layer level="BACKGROUND" textureSubLevel="1">
Nenue@4 108 <Texture parentKey="Icon" alpha="1" desaturated="true">
Nenue@6 109 <Size x="24" y="24"/>
Nenue@2 110 <Anchors>
Nenue@2 111 <Anchor point="LEFT"/>
Nenue@2 112 </Anchors>
Nenue@4 113 <TexCoords left="0.15" right=".85" top="0.15" bottom="0.85" />
Nenue@2 114 </Texture>
Nenue@6 115
Nenue@6 116 <Texture parentKey="ProgressBG" hidden="true">
Nenue@6 117 <Size y="2" />
Nenue@6 118 <Anchors>
Nenue@6 119 <Anchor point="RIGHT" />
Nenue@6 120 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" relativeKey="$parent.Icon" />
Nenue@6 121 </Anchors>
Nenue@6 122 <Color a="0.5" r="0" g="0" b="0" />
Nenue@6 123 </Texture>
Nenue@2 124 </Layer>
Nenue@2 125 <Layer level="BORDER">
Nenue@6 126 <Texture parentKey="IconBorder" file="Interface\Common\WhiteIconFrame">
Nenue@6 127 <Size x="24" y="24"/>
Nenue@6 128 <Anchors>
Nenue@6 129 <Anchor point="CENTER" relativeKey="$parent.Icon"/>
Nenue@6 130 </Anchors>
Nenue@6 131 </Texture>
Nenue@6 132 <Texture parentKey="ProgressBar" hidden="true">
Nenue@18 133 <Size y="2" />
Nenue@6 134 <Anchors>
Nenue@6 135 <Anchor point="BOTTOMLEFT" relativeKey="$parent.ProgressBG" />
Nenue@6 136 </Anchors>
Nenue@6 137 <Color a="0.5" r="1" g="1" b="1" />
Nenue@6 138 </Texture>
Nenue@6 139 </Layer>
Nenue@6 140 <Layer level="ARTWORK">
Nenue@2 141 <Texture parentKey="Done" atlas="GarrLanding-ShipmentCompleteGlow">
Nenue@5 142 <Size x="24" y="24" />
Nenue@2 143 <Anchors>
Nenue@5 144 <Anchor point="BOTTOMLEFT"/>
Nenue@2 145 </Anchors>
Nenue@2 146 </Texture>
Nenue@2 147 </Layer>
Nenue@1 148 </Layers>
Nenue@2 149 <Frames>
Nenue@4 150 <Cooldown parentKey="Swipe" inherits="CooldownFrameTemplate" reverse="true" hideCountdownNumbers="true">
Nenue@6 151 <Size x="24" y="24"/>
Nenue@2 152 <Anchors>
Nenue@4 153 <Anchor point="TOPLEFT"/>
Nenue@6 154 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" x="24" y="0" />
Nenue@2 155 </Anchors>
Nenue@2 156 <Scripts>
Nenue@2 157 <OnCooldownStart>
Nenue@2 158 self:Show()
Nenue@2 159 </OnCooldownStart>
Nenue@2 160 <OnCoolDownDone>
Nenue@2 161 -- update via event
Nenue@2 162 C_Garrison.RequestLandingPageShipmentInfo();
Nenue@2 163 </OnCoolDownDone>
Nenue@2 164 </Scripts>
Nenue@2 165 </Cooldown>
Nenue@6 166 <Frame parentKey="Overlay" name="$parentOverlay" setAllPoints="true">
Nenue@6 167 <Layers>
Nenue@6 168 <Layer level="OVERLAY">
Nenue@6 169
Nenue@6 170 <FontString parentKey="Name" inherits="ClassPlanFont" justifyV="TOP" justifyH="CENTER">
Nenue@6 171 <Anchors>
Nenue@6 172 <Anchor point="LEFT" x="26" y="0"/>
Nenue@6 173 </Anchors>
Nenue@6 174 <Color r=".75" g=".75" b=".73"/>
Nenue@6 175 </FontString>
Nenue@6 176 <FontString parentKey="TimeLeft" inherits="ClassPlanFont" justifyH="CENTER">
Nenue@6 177 <Anchors>
Nenue@6 178 <Anchor point="RIGHT" x="-2" y="0"/>
Nenue@6 179 </Anchors>
Nenue@6 180 </FontString>
Nenue@6 181 <FontString parentKey="Count" inherits="WorldPlanFont" justifyH="CENTER">
Nenue@6 182 <Anchors>
Nenue@6 183 <Anchor point="CENTER" relativePoint="LEFT" x="12" y="0"/>
Nenue@6 184 </Anchors>
Nenue@6 185 </FontString>
Nenue@6 186 </Layer>
Nenue@6 187 <Layer level="HIGHLIGHT">
Nenue@6 188
Nenue@6 189 <FontString parentKey="Owner" inherits="WorldPlanFont" text="base text">
Nenue@6 190 <Anchors>
Nenue@6 191 <Anchor point="TOPRIGHT" x="-2" y="-2" />
Nenue@6 192 </Anchors>
Nenue@6 193 </FontString>
Nenue@6 194 </Layer>
Nenue@6 195 </Layers>
Nenue@6 196 </Frame>
Nenue@2 197 </Frames>
Nenue@3 198 </Button>
Nenue@6 199
Nenue@6 200
Nenue@35 201 <Button name="ClassOrderPlanCharacterButton" virtual="true" parent="ClassOrderPlan" mixin="ClassPlanCharacterButtonMixin" >
Nenue@35 202 <Size x="48" y="48" />
Nenue@35 203 <Scripts>
Nenue@35 204 <OnLoad method="OnLoad" />
Nenue@35 205 <OnEvent method="OnEvent" />
Nenue@35 206 <OnClick method="OnClick" />
Nenue@35 207 <OnEnter method="OnEnter" />
Nenue@35 208 <OnLeave method="OnLeave" />
Nenue@35 209 </Scripts>
Nenue@35 210 <Layers>
Nenue@35 211 <Layer level="ARTWORK">
Nenue@35 212 <Texture parentKey="Icon" file="Interface\Glues\CHARACTERCREATE\UI-CHARACTERCREATE-CLASSES" setAllPoints="true" />
Nenue@35 213 </Layer>
Nenue@35 214 <Layer level="OVERLAY">
Nenue@35 215 <Texture parentKey="SelectGlow" file="Interface\Glues\CHARACTERCREATE\UI-CharacterCreate-Highlights" alphaMode="ADD">
Nenue@35 216 <TexCoords left="0.5" right="1" top="0" bottom="0.5" />
Nenue@35 217 </Texture>
Nenue@35 218 </Layer>
Nenue@35 219 </Layers>
Nenue@6 220 </Button>
Nenue@6 221
Nenue@32 222 <Button name="ClassPlanShipmentEntry" inherits="ClassPlanListEntryTemplate" mixin="ClassPlanShipmentEntryMixin" virtual="true">
Nenue@32 223 <Size y="24" />
Nenue@32 224
Nenue@32 225 <Anchors>
Nenue@32 226 <Anchor point="RIGHT" />
Nenue@32 227 </Anchors>
Nenue@6 228 </Button>
Nenue@1 229 </Ui>