annotate ClassPlan.xml @ 32:e8679ecb48d8

ClassPlan: - Available missions are now recorded; the mission list can be toggled between in-progress and available by clicking the heading.
author Nenue
date Tue, 01 Nov 2016 10:48:50 -0400
parents dbc865d2be82
children 26dfa661daa7
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@32 38 <Frames>
Nenue@32 39 <Frame name="$parentMissionList" parentKey="MissionList" parentArray="Handlers" mixin="ClassPlanMissionHandler">
Nenue@32 40 <Scripts>
Nenue@32 41 <OnLoad method="OnLoad" />
Nenue@32 42 <OnUpdate method="OnUpdate" />
Nenue@32 43 <OnEvent method="OnEvent" />
Nenue@32 44 <OnShow method="OnShow" />
Nenue@32 45 </Scripts>
Nenue@32 46 <Frames>
Nenue@32 47 <Button name="$parentTab" parentKey="ListTab" mixin="ClassPlanHeaderMixin">
Nenue@32 48 <Scripts>
Nenue@32 49 <OnClick method="OnClick" />
Nenue@32 50 </Scripts>
Nenue@32 51 <Size y="24" />
Nenue@32 52 <Layers>
Nenue@32 53 <Layer level="BACKGROUND">
Nenue@32 54 <Texture parentKey="Background">
Nenue@32 55 <Color a="1" r="0" g="0" b="0" />
Nenue@32 56 </Texture>
Nenue@32 57 </Layer>
Nenue@32 58 <Layer level="OVERLAY">
Nenue@32 59 <FontString parentKey="Label" inherits="ClassPlanFont">
Nenue@32 60 <Anchors>
Nenue@32 61 <Anchor point="CENTER" />
Nenue@32 62 </Anchors>
Nenue@32 63 </FontString>
Nenue@32 64 </Layer>
Nenue@32 65 <Layer level="HIGHLIGHT">
Nenue@32 66 <Texture parentKey="Highlight">
Nenue@32 67 <Color a="0.5" r="1" g="1" b="1" />
Nenue@32 68 </Texture>
Nenue@32 69 </Layer>
Nenue@32 70 </Layers>
Nenue@32 71
Nenue@32 72 </Button>
Nenue@32 73 </Frames>
Nenue@32 74 </Frame>
Nenue@32 75 <Frame name="$parentShipments" parentKey="Shipments" parentArray="Handlers" mixin="ClassPlanShipmentHandler">
Nenue@32 76 <Scripts>
Nenue@32 77 <OnLoad method="OnLoad" />
Nenue@32 78 <OnUpdate method="OnUpdate" />
Nenue@32 79 <OnEvent method="OnEvent" />
Nenue@32 80 <OnShow method="OnShow" />
Nenue@32 81 </Scripts>
Nenue@32 82 </Frame>
Nenue@32 83 </Frames>
Nenue@4 84 </Frame>
Nenue@4 85
Nenue@32 86
Nenue@32 87
Nenue@6 88 <Button name="ClassPlanListEntryTemplate" virtual="true" hidden="true">
Nenue@1 89 <Scripts>
Nenue@32 90 <OnLoad method="OnLoad" />
Nenue@6 91 <OnClick method="OnClick" />
Nenue@1 92 <OnUpdate method="OnUpdate" />
Nenue@1 93 <OnShow method="OnShow" />
Nenue@2 94 <OnEnter method="OnEnter" />
Nenue@2 95 <OnLeave method="OnLeave" />
Nenue@1 96 </Scripts>
Nenue@1 97 <Layers>
Nenue@1 98 <Layer level="BACKGROUND">
Nenue@2 99 <Texture parentKey="Background" setAllPoints="true" />
Nenue@2 100 </Layer>
Nenue@2 101 <Layer level="BACKGROUND" textureSubLevel="1">
Nenue@4 102 <Texture parentKey="Icon" alpha="1" desaturated="true">
Nenue@6 103 <Size x="24" y="24"/>
Nenue@2 104 <Anchors>
Nenue@2 105 <Anchor point="LEFT"/>
Nenue@2 106 </Anchors>
Nenue@4 107 <TexCoords left="0.15" right=".85" top="0.15" bottom="0.85" />
Nenue@2 108 </Texture>
Nenue@6 109
Nenue@6 110 <Texture parentKey="ProgressBG" hidden="true">
Nenue@6 111 <Size y="2" />
Nenue@6 112 <Anchors>
Nenue@6 113 <Anchor point="RIGHT" />
Nenue@6 114 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" relativeKey="$parent.Icon" />
Nenue@6 115 </Anchors>
Nenue@6 116 <Color a="0.5" r="0" g="0" b="0" />
Nenue@6 117 </Texture>
Nenue@2 118 </Layer>
Nenue@2 119 <Layer level="BORDER">
Nenue@6 120 <Texture parentKey="IconBorder" file="Interface\Common\WhiteIconFrame">
Nenue@6 121 <Size x="24" y="24"/>
Nenue@6 122 <Anchors>
Nenue@6 123 <Anchor point="CENTER" relativeKey="$parent.Icon"/>
Nenue@6 124 </Anchors>
Nenue@6 125 </Texture>
Nenue@6 126 <Texture parentKey="ProgressBar" hidden="true">
Nenue@18 127 <Size y="2" />
Nenue@6 128 <Anchors>
Nenue@6 129 <Anchor point="BOTTOMLEFT" relativeKey="$parent.ProgressBG" />
Nenue@6 130 </Anchors>
Nenue@6 131 <Color a="0.5" r="1" g="1" b="1" />
Nenue@6 132 </Texture>
Nenue@6 133 </Layer>
Nenue@6 134 <Layer level="ARTWORK">
Nenue@2 135 <Texture parentKey="Done" atlas="GarrLanding-ShipmentCompleteGlow">
Nenue@5 136 <Size x="24" y="24" />
Nenue@2 137 <Anchors>
Nenue@5 138 <Anchor point="BOTTOMLEFT"/>
Nenue@2 139 </Anchors>
Nenue@2 140 </Texture>
Nenue@2 141 </Layer>
Nenue@1 142 </Layers>
Nenue@2 143 <Frames>
Nenue@4 144 <Cooldown parentKey="Swipe" inherits="CooldownFrameTemplate" reverse="true" hideCountdownNumbers="true">
Nenue@6 145 <Size x="24" y="24"/>
Nenue@2 146 <Anchors>
Nenue@4 147 <Anchor point="TOPLEFT"/>
Nenue@6 148 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" x="24" y="0" />
Nenue@2 149 </Anchors>
Nenue@2 150 <Scripts>
Nenue@2 151 <OnCooldownStart>
Nenue@2 152 self:Show()
Nenue@2 153 </OnCooldownStart>
Nenue@2 154 <OnCoolDownDone>
Nenue@2 155 -- update via event
Nenue@2 156 C_Garrison.RequestLandingPageShipmentInfo();
Nenue@2 157 </OnCoolDownDone>
Nenue@2 158 </Scripts>
Nenue@2 159 </Cooldown>
Nenue@6 160 <Frame parentKey="Overlay" name="$parentOverlay" setAllPoints="true">
Nenue@6 161 <Layers>
Nenue@6 162 <Layer level="OVERLAY">
Nenue@6 163
Nenue@6 164 <FontString parentKey="Name" inherits="ClassPlanFont" justifyV="TOP" justifyH="CENTER">
Nenue@6 165 <Anchors>
Nenue@6 166 <Anchor point="LEFT" x="26" y="0"/>
Nenue@6 167 </Anchors>
Nenue@6 168 <Color r=".75" g=".75" b=".73"/>
Nenue@6 169 </FontString>
Nenue@6 170 <FontString parentKey="TimeLeft" inherits="ClassPlanFont" justifyH="CENTER">
Nenue@6 171 <Anchors>
Nenue@6 172 <Anchor point="RIGHT" x="-2" y="0"/>
Nenue@6 173 </Anchors>
Nenue@6 174 </FontString>
Nenue@6 175 <FontString parentKey="Count" inherits="WorldPlanFont" justifyH="CENTER">
Nenue@6 176 <Anchors>
Nenue@6 177 <Anchor point="CENTER" relativePoint="LEFT" x="12" y="0"/>
Nenue@6 178 </Anchors>
Nenue@6 179 </FontString>
Nenue@6 180 </Layer>
Nenue@6 181 <Layer level="HIGHLIGHT">
Nenue@6 182
Nenue@6 183 <FontString parentKey="Owner" inherits="WorldPlanFont" text="base text">
Nenue@6 184 <Anchors>
Nenue@6 185 <Anchor point="TOPRIGHT" x="-2" y="-2" />
Nenue@6 186 </Anchors>
Nenue@6 187 </FontString>
Nenue@6 188 </Layer>
Nenue@6 189 </Layers>
Nenue@6 190 </Frame>
Nenue@2 191 </Frames>
Nenue@3 192 </Button>
Nenue@6 193
Nenue@6 194
Nenue@32 195 <Button name="ClassPlanMissionEntry" inherits="ClassPlanListEntryTemplate" mixin="ClassPlanMissionEntryMixin" virtual="true">
Nenue@32 196 <Size y="24" />
Nenue@32 197 <Anchors>
Nenue@32 198 <Anchor point="RIGHT" />
Nenue@32 199 </Anchors>
Nenue@6 200 </Button>
Nenue@6 201
Nenue@32 202 <Button name="ClassPlanShipmentEntry" inherits="ClassPlanListEntryTemplate" mixin="ClassPlanShipmentEntryMixin" virtual="true">
Nenue@32 203 <Size y="24" />
Nenue@32 204
Nenue@32 205 <Anchors>
Nenue@32 206 <Anchor point="RIGHT" />
Nenue@32 207 </Anchors>
Nenue@6 208 </Button>
Nenue@1 209 </Ui>