Mercurial > wow > buffalo2
comparison Modules/WorldState.xml @ 87:27db212af783
- polished position management code; goes something like:
- core:Reanchor() to soft fix all anchors
- module:Reanchor() or core:InternalReanchor(module) to position a specific set of neighboring frames
author | Nenue |
---|---|
date | Wed, 19 Oct 2016 16:51:17 -0400 |
parents | 1196b8175674 |
children | b107b4df7eb6 |
comparison
equal
deleted
inserted
replaced
86:48182978d1c6 | 87:27db212af783 |
---|---|
55 <Alpha fromAlpha="0" toAlpha="1" duration="0.15" order="1" childKey="ProgressAdded" /> | 55 <Alpha fromAlpha="0" toAlpha="1" duration="0.15" order="1" childKey="ProgressAdded" /> |
56 <Alpha fromAlpha="1" toAlpha="0" duration="0.45" order="2" childKey="ProgressAdded" /> | 56 <Alpha fromAlpha="1" toAlpha="0" duration="0.45" order="2" childKey="ProgressAdded" /> |
57 | 57 |
58 <Alpha childKey="Spark" fromAlpha="0" toAlpha="1" duration="0.15" order="1" /> | 58 <Alpha childKey="Spark" fromAlpha="0" toAlpha="1" duration="0.15" order="1" /> |
59 <Alpha childKey="Spark" fromAlpha="1" toAlpha="0" duration="0.15" order="2" /> | 59 <Alpha childKey="Spark" fromAlpha="1" toAlpha="0" duration="0.15" order="2" /> |
60 <Translation childKey="Spark" offsetX="600" offsetY="0" duration="0.30" order="1" /> | 60 <Translation parentKey="translation" childKey="Spark" offsetX="600" offsetY="0" duration="0.30" order="1" /> |
61 <Scripts> | |
62 <OnPlay> | |
63 self:GetParent().ProgressAdded:Show() | |
64 self:GetParent().Spark:Show() | |
65 </OnPlay> | |
66 <OnStop> | |
67 self:GetParent().ProgressAdded:Hide() | |
68 self:GetParent().Spark:Hide() | |
69 </OnStop> | |
70 <OnFinished> | |
71 self:GetParent().ProgressAdded:Hide() | |
72 self:GetParent().Spark:Hide() | |
73 </OnFinished> | |
74 </Scripts> | |
61 </AnimationGroup> | 75 </AnimationGroup> |
62 </Animations> | 76 </Animations> |
63 <Layers> | 77 <Layers> |
64 <Layer level="BORDER"> | 78 <Layer level="BORDER"> |
65 <Texture parentKey="ProgressBG"> | 79 <Texture parentKey="ProgressBG"> |
81 <Anchors> | 95 <Anchors> |
82 <Anchor point="BOTTOMLEFT" /> | 96 <Anchor point="BOTTOMLEFT" /> |
83 </Anchors> | 97 </Anchors> |
84 <Color a=".6" r="1" g="0" b=".5" /> | 98 <Color a=".6" r="1" g="0" b=".5" /> |
85 </Texture> | 99 </Texture> |
100 </Layer> | |
101 <Layer level="OVERLAY"> | |
86 <Texture parentKey="ProgressAdded" hidden="true"> | 102 <Texture parentKey="ProgressAdded" hidden="true"> |
87 | |
88 <Color a="1" r="1" g="1" b="1" /> | 103 <Color a="1" r="1" g="1" b="1" /> |
89 </Texture> | 104 </Texture> |
90 </Layer> | 105 |
91 <Layer level="OVERLAY"> | 106 <Texture parentKey="Spark" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst"> |
107 <Size x="60" y="15"/> | |
108 <Anchors> | |
109 <Anchor point="CENTER" relativePoint="LEFT" relativeKey="$parent.ProgressAdded" /> | |
110 </Anchors> | |
111 </Texture> | |
92 <FontString parentKey="Label" inherits="VeneerNumberFont"> | 112 <FontString parentKey="Label" inherits="VeneerNumberFont"> |
93 <Anchors> | 113 <Anchors> |
94 <Anchor point="CENTER" /> | 114 <Anchor point="CENTER" /> |
95 </Anchors> | 115 </Anchors> |
96 </FontString> | 116 </FontString> |
97 | |
98 <Texture parentKey="Spark" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst"> | |
99 <Size x="60" y="15"/> | |
100 <Anchors> | |
101 <Anchor point="LEFT" /> | |
102 </Anchors> | |
103 </Texture> | |
104 </Layer> | 117 </Layer> |
105 </Layers> | 118 </Layers> |
106 </Frame> | 119 </Frame> |
107 | 120 |
108 <Frame name="$parentZoneCurrency" parentKey="ZoneCurrency" mixin="VeneerWorldStateCurrencyMixin" hidden="true" inherits="VeneerMixinScripts"> | 121 <Frame name="$parentZoneCurrency" parentKey="ZoneCurrency" mixin="VeneerWorldStateCurrencyMixin" hidden="true" inherits="VeneerMixinScripts"> |
129 </Layers> | 142 </Layers> |
130 </Frame> | 143 </Frame> |
131 </Frames> | 144 </Frames> |
132 </Frame> | 145 </Frame> |
133 | 146 |
147 <Frame name="VeneerOrderHallHandler" parent="UIParent" mixin="VeneerOrderHallMixin" inherits="VeneerMixinScripts" /> | |
134 </Ui> | 148 </Ui> |