comparison ClassPlan.xml @ 3:c006ce87a147

prototype structure
author Nenue
date Sat, 15 Oct 2016 09:54:56 -0400
parents b8a19781f79b
children 4c7e9efec4b5
comparison
equal deleted inserted replaced
2:b8a19781f79b 3:c006ce87a147
13 </Anchors> 13 </Anchors>
14 <Scripts> 14 <Scripts>
15 <OnLoad method="OnLoad" /> 15 <OnLoad method="OnLoad" />
16 <OnEvent method="OnEvent" /> 16 <OnEvent method="OnEvent" />
17 <OnShow method="OnShow" /> 17 <OnShow method="OnShow" />
18 <OnHide method="OnHide" />
18 </Scripts> 19 </Scripts>
19 <Layers> 20 <Layers>
20 <Layer level="ARTWORK"> 21 <Layer level="ARTWORK">
21 <Texture parentKey="portrait"> 22 <Texture parentKey="portrait">
22 <Size x="40" y="40" /> 23 <Size x="40" y="40" />
27 </Texture> 28 </Texture>
28 </Layer> 29 </Layer>
29 </Layers> 30 </Layers>
30 </Frame> 31 </Frame>
31 32
32 <Frame name="ClassPlanBlock" mixin="ClassPlanBlockMixin" virtual="true" hidden="true"> 33 <Button name="ClassPlanButton" parent="UIParent">
34 <Size x="400" y="16" />
35 <Anchors>
36 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="ClassOrderPlan" />
37 <Anchor point="LEFT" relativeTo="ClassOrderPlan" />
38 <Anchor point="RIGHT" relativeTo="ClassOrderPlan" />
39 </Anchors>
40 <Layers>
41 <Layer level="ARTWORK">
42 <Texture alphaMode="BLEND" file="Interface\RaidFrame\Raid-Move-Down">
43 <Anchors>
44 <Anchor point="TOP" />
45 </Anchors>
46 <Size x="32" y="16"/>
47 </Texture>
48 </Layer>
49 <Layer level="HIGHLIGHT">
50 <Texture setAllPoints="true" alphaMode="ADD">
51 <Color a="0.25" r="1" g="1" b="1" />
52 </Texture>
53 </Layer>
54 </Layers>
55 <Scripts>
56 <OnClick>
57 ClassOrderPlan:Toggle()
58 </OnClick>
59 </Scripts>
60 </Button>
61
62 <Button name="ClassPlanBlock" mixin="ClassPlanBlockMixin" virtual="true" hidden="true">
33 <Size x="400" y="32" /> 63 <Size x="400" y="32" />
34 <Scripts> 64 <Scripts>
35 <OnUpdate method="OnUpdate" /> 65 <OnUpdate method="OnUpdate" />
36 <OnShow method="OnShow" /> 66 <OnShow method="OnShow" />
37 <OnEnter method="OnEnter" /> 67 <OnEnter method="OnEnter" />
72 <Texture setAllPoints="true" alphaMode="ADD"> 102 <Texture setAllPoints="true" alphaMode="ADD">
73 <Color a="1" r="0.1" g="0.1" b="0.1" /> 103 <Color a="1" r="0.1" g="0.1" b="0.1" />
74 </Texture> 104 </Texture>
75 </Layer> 105 </Layer>
76 </Layers> 106 </Layers>
77 </Frame> 107 </Button>
78 108
79 <Frame name="ClassPlanShipment" mixin="ClassPlanShipmentMixin" virtual="true"> 109 <Button name="ClassPlanShipment" mixin="ClassPlanShipmentMixin" virtual="true">
80 <Scripts> 110 <Scripts>
111 <OnClick method="OnClick" />
81 <OnUpdate method="OnUpdate" /> 112 <OnUpdate method="OnUpdate" />
82 <OnShow method="OnShow" /> 113 <OnShow method="OnShow" />
83 <OnEnter method="OnEnter" /> 114 <OnEnter method="OnEnter" />
84 <OnLeave method="OnLeave" /> 115 <OnLeave method="OnLeave" />
85 </Scripts> 116 </Scripts>
146 C_Garrison.RequestLandingPageShipmentInfo(); 177 C_Garrison.RequestLandingPageShipmentInfo();
147 </OnCoolDownDone> 178 </OnCoolDownDone>
148 </Scripts> 179 </Scripts>
149 </Cooldown> 180 </Cooldown>
150 </Frames> 181 </Frames>
151 </Frame> 182 </Button>
152 </Ui> 183 </Ui>