comparison ClassPlan.xml @ 5:4e1883842abf

- use of SetShown() for combat visibility toggle
author Nenue
date Tue, 18 Oct 2016 01:50:06 -0400
parents 4c7e9efec4b5
children 48001b6a9496
comparison
equal deleted inserted replaced
4:4c7e9efec4b5 5:4e1883842abf
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>
30 </Layer> 30 </Layer>
31 <Layer level="OVERLAY">
32 <FontString parentKey="Label" inherits="ClassPlanFont">
33 <Anchors>
34 <Anchor point="BOTTOMLEFT" x="2" y="2" />
35 </Anchors>
36 </FontString>
37 </Layer>
31 <Layer level="HIGHLIGHT"> 38 <Layer level="HIGHLIGHT">
32 <Texture setAllPoints="true" alphaMode="ADD"> 39 <Texture setAllPoints="true" alphaMode="ADD">
33 <Color a="0.25" r="1" g="1" b="1" /> 40 <Color a="0.25" r="1" g="1" b="1" />
34 </Texture> 41 </Texture>
35 </Layer> 42 </Layer>
70 </Layers> 77 </Layers>
71 </Frame> 78 </Frame>
72 79
73 80
74 <Button name="ClassPlanBlock" mixin="ClassPlanBlockMixin" virtual="true" hidden="true"> 81 <Button name="ClassPlanBlock" mixin="ClassPlanBlockMixin" virtual="true" hidden="true">
75 <Size x="400" y="32" /> 82 <Size x="400" y="24" />
76 <Scripts> 83 <Scripts>
77 <OnUpdate method="OnUpdate" /> 84 <OnUpdate method="OnUpdate" />
78 <OnShow method="OnShow" /> 85 <OnShow method="OnShow" />
79 <OnEnter method="OnEnter" /> 86 <OnEnter method="OnEnter" />
80 <OnLeave method="OnLeave" /> 87 <OnLeave method="OnLeave" />
85 <Color a=".5" r="0" g="0" b="0" /> 92 <Color a=".5" r="0" g="0" b="0" />
86 </Texture> 93 </Texture>
87 </Layer> 94 </Layer>
88 <Layer level="ARTWORK"> 95 <Layer level="ARTWORK">
89 <Texture name="$parentIcon" parentKey="Icon"> 96 <Texture name="$parentIcon" parentKey="Icon">
90 <Size x="32" y="32" /> 97 <Size x="24" y="24" />
91 <Anchors> 98 <Anchors>
92 <Anchor point="TOPLEFT" /> 99 <Anchor point="TOPLEFT" />
93 </Anchors> 100 </Anchors>
94 <TexCoords left="0.15" right=".85" top="0.15" bottom="0.85" /> 101 <TexCoords left="0.15" right=".85" top="0.15" bottom="0.85" />
95 </Texture> 102 </Texture>
96 </Layer> 103 </Layer>
97 <Layer level="OVERLAY"> 104 <Layer level="OVERLAY">
98 <FontString name="$parentLabel" inherits="ClassPlanFont" parentKey="Label" text="base text"> 105 <FontString name="$parentName" inherits="ClassPlanFont" parentKey="Name" text="base text">
99 <Anchors> 106 <Anchors>
100 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.Icon" x="4" y="-2" /> 107 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="$parent.Icon" x="4" y="0" />
101 </Anchors> 108 </Anchors>
102 </FontString> 109 </FontString>
103 <FontString name="$parentTimeLeft" inherits="ClassPlanNumberFont" parentKey="TimeLeft" text="base text"> 110 <FontString name="$parentTimeLeft" inherits="ClassPlanNumberFont" parentKey="TimeLeft" text="base text">
104 <Anchors> 111 <Anchors>
105 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.Label" x="4" y="-2" /> 112 <Anchor point="RIGHT" x="-4" y="0" />
106 </Anchors> 113 </Anchors>
107 </FontString> 114 </FontString>
108 </Layer> 115 </Layer>
109 <Layer level="HIGHLIGHT"> 116 <Layer level="HIGHLIGHT">
110 <Texture setAllPoints="true" alphaMode="ADD"> 117 <Texture setAllPoints="true" alphaMode="ADD">
111 <Color a="1" r="0.1" g="0.1" b="0.1" /> 118 <Color a="1" r="0.1" g="0.1" b="0.1" />
112 </Texture> 119 </Texture>
113 <FontString name="$parentOwner" inherits="ClassPlanFont" parentKey="Owner" text="base text"> 120 <FontString name="$parentOwner" inherits="ClassPlanFont" parentKey="Owner" text="base text">
114 <Anchors> 121 <Anchors>
115 <Anchor point="TOPRIGHT" x="-2" y="-2" /> 122 <Anchor point="RIGHT" relativePoint="LEFT" x="-4" y="0" relativeKey="$parent.TimeLeft" />
116 </Anchors> 123 </Anchors>
117 </FontString> 124 </FontString>
118 </Layer> 125 </Layer>
119 </Layers> 126 </Layers>
120 </Button> 127 </Button>
141 <TexCoords left="0.15" right=".85" top="0.15" bottom="0.85" /> 148 <TexCoords left="0.15" right=".85" top="0.15" bottom="0.85" />
142 </Texture> 149 </Texture>
143 </Layer> 150 </Layer>
144 <Layer level="BORDER"> 151 <Layer level="BORDER">
145 <Texture parentKey="Done" atlas="GarrLanding-ShipmentCompleteGlow"> 152 <Texture parentKey="Done" atlas="GarrLanding-ShipmentCompleteGlow">
146 <Size x="32" y="32" /> 153 <Size x="24" y="24" />
147 <Anchors> 154 <Anchors>
148 <Anchor point="LEFT"/> 155 <Anchor point="BOTTOMLEFT"/>
149 </Anchors> 156 </Anchors>
150 </Texture> 157 </Texture>
151 </Layer> 158 </Layer>
152 <Layer level="ARTWORK"> 159 <Layer level="ARTWORK">
153 <FontString parentKey="Name" inherits="ClassPlanFont" justifyV="TOP" justifyH="CENTER"> 160 <FontString parentKey="Name" inherits="ClassPlanFont" justifyV="TOP" justifyH="CENTER">
163 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.Name" x="0" y="-2"/> 170 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.Name" x="0" y="-2"/>
164 </Anchors> 171 </Anchors>
165 </FontString> 172 </FontString>
166 <FontString parentKey="Count" inherits="WorldPlanFont" justifyH="CENTER"> 173 <FontString parentKey="Count" inherits="WorldPlanFont" justifyH="CENTER">
167 <Anchors> 174 <Anchors>
168 <Anchor point="BOTTOM" relativeKey="$parent.Icon" x="0" y="0"/> 175 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.Icon" x="0" y="0"/>
169 </Anchors> 176 </Anchors>
170 </FontString> 177 </FontString>
171 </Layer> 178 </Layer>
172 <Layer level="HIGHLIGHT"> 179 <Layer level="HIGHLIGHT">
173 180