annotate ClassPlan.xml @ 2:b8a19781f79b

shipment logging
author Nenue
date Thu, 13 Oct 2016 09:08:38 -0400
parents 232617b8bcd5
children c006ce87a147
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@2 6 <Font name="ClassPlanFont" font="Interface\AddOns\Veneer\Font\ArchivoNarrow-Regular.ttf" height="14" outline="NORMAL" virtual="true" />
Nenue@2 7 <Font name="ClassPlanNumberFont" font="Interface\AddOns\Veneer\Font\ArchivoNarrow-Bold.ttf" height="14" outline="NORMAL" virtual="true" />
Nenue@2 8
Nenue@1 9 <Frame name="ClassOrderPlan" mixin="ClassOrderPlanCore" parent="UIParent" hidden="true">
Nenue@2 10 <Size x="600" y="40" />
Nenue@1 11 <Anchors>
Nenue@1 12 <Anchor point="TOP" />
Nenue@1 13 </Anchors>
Nenue@1 14 <Scripts>
Nenue@1 15 <OnLoad method="OnLoad" />
Nenue@1 16 <OnEvent method="OnEvent" />
Nenue@1 17 <OnShow method="OnShow" />
Nenue@1 18 </Scripts>
Nenue@1 19 <Layers>
Nenue@1 20 <Layer level="ARTWORK">
Nenue@1 21 <Texture parentKey="portrait">
Nenue@1 22 <Size x="40" y="40" />
Nenue@1 23 <Anchors>
Nenue@1 24 <Anchor point="TOPLEFT" />
Nenue@1 25
Nenue@1 26 </Anchors>
Nenue@1 27 </Texture>
Nenue@1 28 </Layer>
Nenue@1 29 </Layers>
Nenue@1 30 </Frame>
Nenue@1 31
Nenue@1 32 <Frame name="ClassPlanBlock" mixin="ClassPlanBlockMixin" virtual="true" hidden="true">
Nenue@1 33 <Size x="400" y="32" />
Nenue@1 34 <Scripts>
Nenue@1 35 <OnUpdate method="OnUpdate" />
Nenue@1 36 <OnShow method="OnShow" />
Nenue@2 37 <OnEnter method="OnEnter" />
Nenue@2 38 <OnLeave method="OnLeave" />
Nenue@1 39 </Scripts>
Nenue@1 40 <Layers>
Nenue@1 41 <Layer level="BACKGROUND">
Nenue@1 42 <Texture setAllPoints="true" parentKey="Background">
Nenue@1 43 <Color a=".5" r="0" g="0" b="0" />
Nenue@1 44 </Texture>
Nenue@1 45 </Layer>
Nenue@1 46 <Layer level="ARTWORK">
Nenue@1 47 <Texture name="$parentIcon" parentKey="Icon">
Nenue@1 48 <Size x="32" y="32" />
Nenue@1 49 <Anchors>
Nenue@1 50 <Anchor point="TOPLEFT" />
Nenue@1 51 </Anchors>
Nenue@1 52 </Texture>
Nenue@1 53 </Layer>
Nenue@1 54 <Layer level="OVERLAY">
Nenue@2 55 <FontString name="$parentLabel" inherits="ClassPlanFont" parentKey="Label" text="base text">
Nenue@1 56 <Anchors>
Nenue@1 57 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.Icon" x="4" y="0" />
Nenue@1 58 </Anchors>
Nenue@1 59 </FontString>
Nenue@2 60 <FontString name="$parentTimeLeft" inherits="ClassPlanNumberFont" parentKey="TimeLeft" text="base text">
Nenue@1 61 <Anchors>
Nenue@1 62 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.Label" x="4" y="-2" />
Nenue@1 63 </Anchors>
Nenue@1 64 </FontString>
Nenue@2 65 <FontString name="$parentOwner" inherits="ClassPlanFont" parentKey="Owner" text="base text">
Nenue@2 66 <Anchors>
Nenue@2 67 <Anchor point="TOPRIGHT" />
Nenue@2 68 </Anchors>
Nenue@2 69 </FontString>
Nenue@2 70 </Layer>
Nenue@2 71 <Layer level="HIGHLIGHT">
Nenue@2 72 <Texture setAllPoints="true" alphaMode="ADD">
Nenue@2 73 <Color a="1" r="0.1" g="0.1" b="0.1" />
Nenue@2 74 </Texture>
Nenue@2 75 </Layer>
Nenue@2 76 </Layers>
Nenue@2 77 </Frame>
Nenue@2 78
Nenue@2 79 <Frame name="ClassPlanShipment" mixin="ClassPlanShipmentMixin" virtual="true">
Nenue@2 80 <Scripts>
Nenue@2 81 <OnUpdate method="OnUpdate" />
Nenue@2 82 <OnShow method="OnShow" />
Nenue@2 83 <OnEnter method="OnEnter" />
Nenue@2 84 <OnLeave method="OnLeave" />
Nenue@2 85 </Scripts>
Nenue@2 86 <Size x="200" y="32" />
Nenue@2 87 <Layers>
Nenue@2 88 <Layer level="BACKGROUND">
Nenue@2 89 <Texture parentKey="Background" setAllPoints="true" />
Nenue@2 90 </Layer>
Nenue@2 91 <Layer level="BACKGROUND" textureSubLevel="1">
Nenue@2 92 <Texture parentKey="Icon" alpha="0.5" desaturated="true">
Nenue@2 93 <Size x="30" y="30"/>
Nenue@2 94 <Anchors>
Nenue@2 95 <Anchor point="LEFT"/>
Nenue@2 96 </Anchors>
Nenue@2 97 </Texture>
Nenue@2 98 </Layer>
Nenue@2 99 <Layer level="BORDER">
Nenue@2 100 <Texture parentKey="Done" atlas="GarrLanding-ShipmentCompleteGlow">
Nenue@2 101 <Size x="32" y="32" />
Nenue@2 102 <Anchors>
Nenue@2 103 <Anchor point="LEFT"/>
Nenue@2 104 </Anchors>
Nenue@2 105 </Texture>
Nenue@2 106 </Layer>
Nenue@2 107 <Layer level="ARTWORK">
Nenue@2 108 <FontString parentKey="Name" inherits="ClassPlanFont" justifyV="TOP" justifyH="CENTER">
Nenue@2 109 <Anchors>
Nenue@2 110 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.Icon" x="2" y="-2"/>
Nenue@2 111 </Anchors>
Nenue@2 112 <Color r=".75" g=".75" b=".73"/>
Nenue@2 113 </FontString>
Nenue@2 114 </Layer>
Nenue@2 115 <Layer level="OVERLAY">
Nenue@2 116 <FontString parentKey="TimeLeft" inherits="ClassPlanFont" justifyH="CENTER">
Nenue@2 117 <Anchors>
Nenue@2 118 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.Name" x="0" y="-2"/>
Nenue@2 119 </Anchors>
Nenue@2 120 </FontString>
Nenue@2 121 <FontString parentKey="Count" inherits="WorldPlanFont" justifyH="CENTER">
Nenue@2 122 <Anchors>
Nenue@2 123 <Anchor point="BOTTOM" relativeKey="$parent.Icon" x="0" y="0"/>
Nenue@2 124 </Anchors>
Nenue@2 125 </FontString>
Nenue@2 126 <FontString name="$parentOwner" inherits="WorldPlanFont" parentKey="Owner" text="base text">
Nenue@1 127 <Anchors>
Nenue@1 128 <Anchor point="TOPRIGHT" />
Nenue@1 129 </Anchors>
Nenue@1 130 </FontString>
Nenue@1 131 </Layer>
Nenue@1 132 </Layers>
Nenue@2 133 <Frames>
Nenue@2 134 <Cooldown parentKey="Swipe" reverse="true" hideCountdownNumbers="true">
Nenue@2 135 <Size x="32" y="32"/>
Nenue@2 136 <Anchors>
Nenue@2 137 <Anchor point="LEFT"/>
Nenue@2 138 </Anchors>
Nenue@2 139 <SwipeTexture file="Interface\Garrison\GarrLanding-TradeskillTimerFill"/>
Nenue@2 140 <Scripts>
Nenue@2 141 <OnCooldownStart>
Nenue@2 142 self:Show()
Nenue@2 143 </OnCooldownStart>
Nenue@2 144 <OnCoolDownDone>
Nenue@2 145 -- update via event
Nenue@2 146 C_Garrison.RequestLandingPageShipmentInfo();
Nenue@2 147 </OnCoolDownDone>
Nenue@2 148 </Scripts>
Nenue@2 149 </Cooldown>
Nenue@2 150 </Frames>
Nenue@1 151 </Frame>
Nenue@1 152 </Ui>