comparison ClassPlan.xml @ 6:48001b6a9496

shipment/missions list refresh should commit all result sets
author Nenue
date Fri, 21 Oct 2016 18:10:53 -0400
parents 4e1883842abf
children 08b03bcdfeac
comparison
equal deleted inserted replaced
5:4e1883842abf 6:48001b6a9496
19 <Color a="1" r="0" g="0" b="0" /> 19 <Color a="1" r="0" g="0" b="0" />
20 </Texture> 20 </Texture>
21 </Layer> 21 </Layer>
22 <Layer level="ARTWORK"> 22 <Layer level="ARTWORK">
23 23
24 <Texture parentKey="Grip" alphaMode="BLEND" file="Interface\RaidFrame\Raid-Move-Down"> 24 <Texture parentKey="Grip" alphaMode="BLEND" file="Interface\RaidFrame\Raid-Move-Down" hidden="true">
25 <Anchors> 25 <Anchors>
26 <Anchor point="TOP" /> 26 <Anchor point="TOP" />
27 </Anchors> 27 </Anchors>
28 <Size x="32" y="16"/> 28 <Size x="32" y="16"/>
29 </Texture> 29 </Texture>
76 </Layer> 76 </Layer>
77 </Layers> 77 </Layers>
78 </Frame> 78 </Frame>
79 79
80 80
81 <Button name="ClassPlanBlock" mixin="ClassPlanBlockMixin" virtual="true" hidden="true"> 81 <Button name="ClassPlanListEntryTemplate" virtual="true" hidden="true">
82 <Size x="400" y="24" /> 82
83 <Scripts> 83 <Scripts>
84 <OnLoad>
85 self.Count = self.Overlay.Count
86 self.Name = self.Overlay.Name
87 self.TimeLeft = self.Overlay.TimeLeft
88 self.Owner = self.Overlay.Owner
89 </OnLoad>
90 <OnClick method="OnClick" />
84 <OnUpdate method="OnUpdate" /> 91 <OnUpdate method="OnUpdate" />
85 <OnShow method="OnShow" /> 92 <OnShow method="OnShow" />
86 <OnEnter method="OnEnter" /> 93 <OnEnter method="OnEnter" />
87 <OnLeave method="OnLeave" /> 94 <OnLeave method="OnLeave" />
88 </Scripts> 95 </Scripts>
89 <Layers> 96 <Layers>
90 <Layer level="BACKGROUND"> 97 <Layer level="BACKGROUND">
91 <Texture setAllPoints="true" parentKey="Background">
92 <Color a=".5" r="0" g="0" b="0" />
93 </Texture>
94 </Layer>
95 <Layer level="ARTWORK">
96 <Texture name="$parentIcon" parentKey="Icon">
97 <Size x="24" y="24" />
98 <Anchors>
99 <Anchor point="TOPLEFT" />
100 </Anchors>
101 <TexCoords left="0.15" right=".85" top="0.15" bottom="0.85" />
102 </Texture>
103 </Layer>
104 <Layer level="OVERLAY">
105 <FontString name="$parentName" inherits="ClassPlanFont" parentKey="Name" text="base text">
106 <Anchors>
107 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.Icon" x="4" y="0" />
108 </Anchors>
109 </FontString>
110 <FontString name="$parentTimeLeft" inherits="ClassPlanNumberFont" parentKey="TimeLeft" text="base text">
111 <Anchors>
112 <Anchor point="RIGHT" x="-4" y="0" />
113 </Anchors>
114 </FontString>
115 </Layer>
116 <Layer level="HIGHLIGHT">
117 <Texture setAllPoints="true" alphaMode="ADD">
118 <Color a="1" r="0.1" g="0.1" b="0.1" />
119 </Texture>
120 <FontString name="$parentOwner" inherits="ClassPlanFont" parentKey="Owner" text="base text">
121 <Anchors>
122 <Anchor point="RIGHT" relativePoint="LEFT" x="-4" y="0" relativeKey="$parent.TimeLeft" />
123 </Anchors>
124 </FontString>
125 </Layer>
126 </Layers>
127 </Button>
128
129 <Button name="ClassPlanShipment" mixin="ClassPlanShipmentMixin" virtual="true">
130 <Scripts>
131 <OnClick method="OnClick" />
132 <OnUpdate method="OnUpdate" />
133 <OnShow method="OnShow" />
134 <OnEnter method="OnEnter" />
135 <OnLeave method="OnLeave" />
136 </Scripts>
137 <Size x="200" y="32" />
138 <Layers>
139 <Layer level="BACKGROUND">
140 <Texture parentKey="Background" setAllPoints="true" /> 98 <Texture parentKey="Background" setAllPoints="true" />
141 </Layer> 99 </Layer>
142 <Layer level="BACKGROUND" textureSubLevel="1"> 100 <Layer level="BACKGROUND" textureSubLevel="1">
143 <Texture parentKey="Icon" alpha="1" desaturated="true"> 101 <Texture parentKey="Icon" alpha="1" desaturated="true">
144 <Size x="32" y="32"/> 102 <Size x="24" y="24"/>
145 <Anchors> 103 <Anchors>
146 <Anchor point="LEFT"/> 104 <Anchor point="LEFT"/>
147 </Anchors> 105 </Anchors>
148 <TexCoords left="0.15" right=".85" top="0.15" bottom="0.85" /> 106 <TexCoords left="0.15" right=".85" top="0.15" bottom="0.85" />
149 </Texture> 107 </Texture>
108
109 <Texture parentKey="ProgressBG" hidden="true">
110 <Size y="2" />
111 <Anchors>
112 <Anchor point="RIGHT" />
113 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" relativeKey="$parent.Icon" />
114 </Anchors>
115 <Color a="0.5" r="0" g="0" b="0" />
116 </Texture>
150 </Layer> 117 </Layer>
151 <Layer level="BORDER"> 118 <Layer level="BORDER">
119 <Texture parentKey="IconBorder" file="Interface\Common\WhiteIconFrame">
120 <Size x="24" y="24"/>
121 <Anchors>
122 <Anchor point="CENTER" relativeKey="$parent.Icon"/>
123 </Anchors>
124 </Texture>
125 <Texture parentKey="ProgressBar" hidden="true">
126 <Size y="1" />
127 <Anchors>
128 <Anchor point="BOTTOMLEFT" relativeKey="$parent.ProgressBG" />
129 </Anchors>
130 <Color a="0.5" r="1" g="1" b="1" />
131 </Texture>
132 </Layer>
133 <Layer level="ARTWORK">
152 <Texture parentKey="Done" atlas="GarrLanding-ShipmentCompleteGlow"> 134 <Texture parentKey="Done" atlas="GarrLanding-ShipmentCompleteGlow">
153 <Size x="24" y="24" /> 135 <Size x="24" y="24" />
154 <Anchors> 136 <Anchors>
155 <Anchor point="BOTTOMLEFT"/> 137 <Anchor point="BOTTOMLEFT"/>
156 </Anchors> 138 </Anchors>
157 </Texture> 139 </Texture>
158 </Layer>
159 <Layer level="ARTWORK">
160 <FontString parentKey="Name" inherits="ClassPlanFont" justifyV="TOP" justifyH="CENTER">
161 <Anchors>
162 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.Icon" x="2" y="-2"/>
163 </Anchors>
164 <Color r=".75" g=".75" b=".73"/>
165 </FontString>
166 </Layer>
167 <Layer level="OVERLAY">
168 <FontString parentKey="TimeLeft" inherits="ClassPlanFont" justifyH="CENTER">
169 <Anchors>
170 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.Name" x="0" y="-2"/>
171 </Anchors>
172 </FontString>
173 <FontString parentKey="Count" inherits="WorldPlanFont" justifyH="CENTER">
174 <Anchors>
175 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.Icon" x="0" y="0"/>
176 </Anchors>
177 </FontString>
178 </Layer>
179 <Layer level="HIGHLIGHT">
180
181 <FontString name="$parentOwner" inherits="WorldPlanFont" parentKey="Owner" text="base text">
182 <Anchors>
183 <Anchor point="TOPRIGHT" x="-2" y="-2" />
184 </Anchors>
185 </FontString>
186 </Layer> 140 </Layer>
187 </Layers> 141 </Layers>
188 <Frames> 142 <Frames>
189 <Cooldown parentKey="Swipe" inherits="CooldownFrameTemplate" reverse="true" hideCountdownNumbers="true"> 143 <Cooldown parentKey="Swipe" inherits="CooldownFrameTemplate" reverse="true" hideCountdownNumbers="true">
190 <Size x="32" y="32"/> 144 <Size x="24" y="24"/>
191 <Anchors> 145 <Anchors>
192 <Anchor point="TOPLEFT"/> 146 <Anchor point="TOPLEFT"/>
193 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" x="32" y="0" /> 147 <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT" x="24" y="0" />
194 </Anchors> 148 </Anchors>
195 <Scripts> 149 <Scripts>
196 <OnCooldownStart> 150 <OnCooldownStart>
197 self:Show() 151 self:Show()
198 </OnCooldownStart> 152 </OnCooldownStart>
200 -- update via event 154 -- update via event
201 C_Garrison.RequestLandingPageShipmentInfo(); 155 C_Garrison.RequestLandingPageShipmentInfo();
202 </OnCoolDownDone> 156 </OnCoolDownDone>
203 </Scripts> 157 </Scripts>
204 </Cooldown> 158 </Cooldown>
159 <Frame parentKey="Overlay" name="$parentOverlay" setAllPoints="true">
160 <Layers>
161 <Layer level="OVERLAY">
162
163 <FontString parentKey="Name" inherits="ClassPlanFont" justifyV="TOP" justifyH="CENTER">
164 <Anchors>
165 <Anchor point="LEFT" x="26" y="0"/>
166 </Anchors>
167 <Color r=".75" g=".75" b=".73"/>
168 </FontString>
169 <FontString parentKey="TimeLeft" inherits="ClassPlanFont" justifyH="CENTER">
170 <Anchors>
171 <Anchor point="RIGHT" x="-2" y="0"/>
172 </Anchors>
173 </FontString>
174 <FontString parentKey="Count" inherits="WorldPlanFont" justifyH="CENTER">
175 <Anchors>
176 <Anchor point="CENTER" relativePoint="LEFT" x="12" y="0"/>
177 </Anchors>
178 </FontString>
179 </Layer>
180 <Layer level="HIGHLIGHT">
181
182 <FontString parentKey="Owner" inherits="WorldPlanFont" text="base text">
183 <Anchors>
184 <Anchor point="TOPRIGHT" x="-2" y="-2" />
185 </Anchors>
186 </FontString>
187 </Layer>
188 </Layers>
189 </Frame>
205 </Frames> 190 </Frames>
206 </Button> 191 </Button>
192
193
194 <Button name="ClassPlanMissionEntry" inherits="ClassPlanListEntryTemplate" mixin="ClassPlanMissionMixin" virtual="true">
195 <Size x="300" y="24" />
196 </Button>
197
198 <Button name="ClassPlanShipmentEntry" inherits="ClassPlanListEntryTemplate" mixin="ClassPlanShipmentMixin" virtual="true">
199 <Size x="300" y="24" />
200 </Button>
207 </Ui> 201 </Ui>