comparison ClassPlan.xml @ 35:26dfa661daa7

WorldPlan: - Quest pins will appear in the flight map. They follow the filter settings applied from the world map. - Reward filter toggle changed to clear out other reward filters. The assumption being that one is most often looking only for that particular type of quest when they go to use it. - Fixed filter bar info falling out of sync after player-triggered world map updates. - Code stuff: -- Quest pin shown-state management makes better use of OnShow OnHide handlers, SetShown is toggled and it all goes from there -- WorldQuests module re-factored outside of the top level frame script. ClassPlan: - Available missions are now recorded; the mission list can be toggled between in-progress and available by clicking the heading.
author Nenue
date Thu, 03 Nov 2016 17:29:15 -0400
parents e8679ecb48d8
children 589c444d4837
comparison
equal deleted inserted replaced
34:0100d923d8c3 35:26dfa661daa7
33 33
34 </Anchors> 34 </Anchors>
35 </Texture> 35 </Texture>
36 </Layer> 36 </Layer>
37 </Layers> 37 </Layers>
38 </Frame>
39
40
41
42 <Frame name="ClassPlanPanelTemplate" parent="ClassOrderPlan" enableMouse="true" parentArray="Handlers" virtual="true">
43
44 <Scripts>
45 <OnLoad method="OnLoad" />
46 <OnUpdate method="OnUpdate" />
47 <OnEvent method="OnEvent" />
48 <OnShow method="OnShow" />
49 <OnMouseWheel method="OnMouseWheel" />
50 </Scripts>
38 <Frames> 51 <Frames>
39 <Frame name="$parentMissionList" parentKey="MissionList" parentArray="Handlers" mixin="ClassPlanMissionHandler"> 52 <Frame parentKey="MoreItemsUp" frameStrata="HIGH" hidden="true">
40 <Scripts> 53 <Size y="24" />
41 <OnLoad method="OnLoad" /> 54 <Anchors>
42 <OnUpdate method="OnUpdate" /> 55 <Anchor point="TOPLEFT" />
43 <OnEvent method="OnEvent" /> 56 <Anchor point="TOPRIGHT" />
44 <OnShow method="OnShow" /> 57 </Anchors>
45 </Scripts> 58 <Layers>
46 <Frames> 59 <Layer level="OVERLAY">
47 <Button name="$parentTab" parentKey="ListTab" mixin="ClassPlanHeaderMixin"> 60 <Texture parentKey="Overlay">
48 <Scripts> 61 <Color a="1" r="1" g="1" b="1" />
49 <OnClick method="OnClick" /> 62 <Gradient orientation="VERTICAL">
50 </Scripts> 63 <MinColor r="0" g="0" b="0" a="0" />
51 <Size y="24" /> 64 <MaxColor r="0" g="0" b="0" a="0.5" />
52 <Layers> 65 </Gradient>
53 <Layer level="BACKGROUND"> 66 </Texture>
54 <Texture parentKey="Background"> 67 </Layer>
55 <Color a="1" r="0" g="0" b="0" /> 68 </Layers>
56 </Texture>
57 </Layer>
58 <Layer level="OVERLAY">
59 <FontString parentKey="Label" inherits="ClassPlanFont">
60 <Anchors>
61 <Anchor point="CENTER" />
62 </Anchors>
63 </FontString>
64 </Layer>
65 <Layer level="HIGHLIGHT">
66 <Texture parentKey="Highlight">
67 <Color a="0.5" r="1" g="1" b="1" />
68 </Texture>
69 </Layer>
70 </Layers>
71
72 </Button>
73 </Frames>
74 </Frame> 69 </Frame>
75 <Frame name="$parentShipments" parentKey="Shipments" parentArray="Handlers" mixin="ClassPlanShipmentHandler"> 70
76 <Scripts> 71 <Frame parentKey="MoreItemsDown" frameStrata="HIGH" hidden="true">
77 <OnLoad method="OnLoad" /> 72 <Size y="24" />
78 <OnUpdate method="OnUpdate" /> 73 <Anchors>
79 <OnEvent method="OnEvent" /> 74 <Anchor point="BOTTOMLEFT" />
80 <OnShow method="OnShow" /> 75 <Anchor point="BOTTOMRIGHT" />
81 </Scripts> 76 </Anchors>
77 <Layers>
78 <Layer level="OVERLAY">
79 <Texture parentKey="Overlay">
80 <Color a="1" r="1" g="1" b="1" />
81 <Gradient orientation="VERTICAL">
82 <MinColor r="0" g="0" b="0" a="0.5" />
83 <MaxColor r="0" g="0" b="0" a="0" />
84 </Gradient>
85 </Texture>
86 </Layer>
87 </Layers>
82 </Frame> 88 </Frame>
83 </Frames> 89 </Frames>
84 </Frame> 90 </Frame>
85 91
86 92
87 93 <Frame name="$parentShipments" parentKey="Shipments" mixin="ClassPlanShipmentHandler" inherits="ClassPlanPanelTemplate" />
88 <Button name="ClassPlanListEntryTemplate" virtual="true" hidden="true"> 94 <Button name="ClassPlanListEntryTemplate" virtual="true" hidden="true">
89 <Scripts> 95 <Scripts>
90 <OnLoad method="OnLoad" /> 96 <OnLoad method="OnLoad" />
91 <OnClick method="OnClick" /> 97 <OnClick method="OnClick" />
92 <OnUpdate method="OnUpdate" /> 98 <OnUpdate method="OnUpdate" />
190 </Frame> 196 </Frame>
191 </Frames> 197 </Frames>
192 </Button> 198 </Button>
193 199
194 200
195 <Button name="ClassPlanMissionEntry" inherits="ClassPlanListEntryTemplate" mixin="ClassPlanMissionEntryMixin" virtual="true"> 201 <Button name="ClassOrderPlanCharacterButton" virtual="true" parent="ClassOrderPlan" mixin="ClassPlanCharacterButtonMixin" >
196 <Size y="24" /> 202 <Size x="48" y="48" />
197 <Anchors> 203 <Scripts>
198 <Anchor point="RIGHT" /> 204 <OnLoad method="OnLoad" />
199 </Anchors> 205 <OnEvent method="OnEvent" />
206 <OnClick method="OnClick" />
207 <OnEnter method="OnEnter" />
208 <OnLeave method="OnLeave" />
209 </Scripts>
210 <Layers>
211 <Layer level="ARTWORK">
212 <Texture parentKey="Icon" file="Interface\Glues\CHARACTERCREATE\UI-CHARACTERCREATE-CLASSES" setAllPoints="true" />
213 </Layer>
214 <Layer level="OVERLAY">
215 <Texture parentKey="SelectGlow" file="Interface\Glues\CHARACTERCREATE\UI-CharacterCreate-Highlights" alphaMode="ADD">
216 <TexCoords left="0.5" right="1" top="0" bottom="0.5" />
217 </Texture>
218 </Layer>
219 </Layers>
200 </Button> 220 </Button>
201 221
202 <Button name="ClassPlanShipmentEntry" inherits="ClassPlanListEntryTemplate" mixin="ClassPlanShipmentEntryMixin" virtual="true"> 222 <Button name="ClassPlanShipmentEntry" inherits="ClassPlanListEntryTemplate" mixin="ClassPlanShipmentEntryMixin" virtual="true">
203 <Size y="24" /> 223 <Size y="24" />
204 224