Mercurial > wow > buffalo2
comparison ObjectiveTracker.xml @ 3:3397aae1f44d
- use the correct key value when searching for action buttons
- handle pre-built frames from XML
author | Nenue |
---|---|
date | Thu, 31 Mar 2016 07:32:05 -0400 |
parents | a2396b03ce63 |
children | 589de8ea05b9 |
comparison
equal
deleted
inserted
replaced
2:a2396b03ce63 | 3:3397aae1f44d |
---|---|
2 | 2 |
3 | 3 |
4 <Texture name="VnTestLine" virtual="true"> | 4 <Texture name="VnTestLine" virtual="true"> |
5 <Color r="1" g="1" b="0" a="1" /> | 5 <Color r="1" g="1" b="0" a="1" /> |
6 </Texture> | 6 </Texture> |
7 | |
8 <Font name="VeneerCriteriaFontNormal" virtual="true" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16"> | |
9 <Color r="1" g="1" b="1" a="1" /> | |
10 </Font> | |
11 <Font name="VeneerCriteriaFontComplete" virtual="true" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16"> | |
12 <Color r="0" g="1" b="0" a=".75" /> | |
13 </Font> | |
14 <Font name="VeneerCriteriaFontProgressed" virtual="true" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16"> | |
15 <Color r="1" g="1" b="0" a="1" /> | |
16 </Font> | |
17 | |
18 <Font name="VeneerCriteriaFontFailed" virtual="true" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16"> | |
19 <Color r="1" g=".4" b="0" a=".75" /> | |
20 </Font> | |
7 | 21 |
8 <Frame name="VeneerObjectiveWrapper" parent="UIParent" movable="true" enableMouse="true"> | 22 <Frame name="VeneerObjectiveWrapper" parent="UIParent" movable="true" enableMouse="true"> |
9 <Scripts> | 23 <Scripts> |
10 <OnLoad> | 24 <OnLoad> |
11 self.toggle = true | 25 self.toggle = true |
12 self:RegisterForDrag('LeftButton') | 26 self.drag = true |
27 Veneer.OnLoad(self) | |
13 </OnLoad> | 28 </OnLoad> |
14 <OnShow> | 29 <OnShow> |
15 </OnShow> | 30 </OnShow> |
16 <OnDragStart> | 31 <OnDragStart> |
17 self:StartMoving() | 32 Veneer.OnDragStart(self) |
18 </OnDragStart> | 33 </OnDragStart> |
19 <OnDragStop> | 34 <OnDragStop> |
20 self:StopMovingOrSizing() | 35 Veneer.OnDragStop(self) |
36 Veneer.ObjectiveTracker.UpdateActionButtons() | |
21 </OnDragStop> | 37 </OnDragStop> |
22 <!--@debug@--> | 38 <!--@debug@--> |
23 <!--@end-debug@--> | 39 <!--@end-debug@--> |
24 </Scripts> | 40 </Scripts> |
25 <Anchors> | 41 <Anchors> |
26 <Anchor point="TOPRIGHT" x="-60" y="-240" /> | 42 <Anchor point="TOPRIGHT" x="-60" y="-240" /> |
27 </Anchors> | 43 </Anchors> |
28 <Layers> | 44 <Layers> |
29 | 45 |
30 <Layer level="ARTWORK"> | 46 <Layer level="ARTWORK"> |
31 <Texture parentKey="HeaderBounds" /> | |
32 <Texture parentKey="BackgroundLeft" parentArray="header" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false"> | 47 <Texture parentKey="BackgroundLeft" parentArray="header" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false"> |
33 <Size x="100" y="84" /> | 48 <Size x="100" y="84" /> |
34 <TexCoords up="0" down="1" left="0" right="0.3" /> | 49 <TexCoords up="0" down="1" left="0" right="0.3" /> |
35 <Anchors> | 50 <Anchors> |
36 <Anchor point="TOPLEFT" x="-30" y="12"/> | 51 <Anchor point="TOPLEFT" x="-30" y="12"/> |
38 </Texture> | 53 </Texture> |
39 <Texture parentKey="BackgroundRight" parentArray="header" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false"> | 54 <Texture parentKey="BackgroundRight" parentArray="header" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false"> |
40 <Size x="70" y="84" /> | 55 <Size x="70" y="84" /> |
41 <TexCoords up="0" down="1" left="0.6" right="1" /> | 56 <TexCoords up="0" down="1" left="0.6" right="1" /> |
42 <Anchors> | 57 <Anchors> |
43 <Anchor point="TOPRIGHT" x="24" y="12" /> | 58 <Anchor point="TOPRIGHT" x="30" y="12" /> |
44 </Anchors> | 59 </Anchors> |
45 </Texture> | 60 </Texture> |
46 <Texture parentKey="BackgroundTile" parentArray="header" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false" tile="true"> | 61 <Texture parentKey="BackgroundTile" parentArray="header" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false" tile="true"> |
47 <Size x="100" y="84" /> | 62 <Size x="100" y="84" /> |
48 <TexCoords up="0" down="1" left=".3" right=".6" /> | 63 <TexCoords up="0" down="1" left=".3" right=".6" /> |
49 <Anchors> | 64 <Anchors> |
50 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.BackgroundLeft" /> | 65 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.BackgroundLeft" /> |
51 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.BackgroundRight" /> | 66 <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.BackgroundRight" /> |
52 </Anchors> | 67 </Anchors> |
53 </Texture> | 68 </Texture> |
69 <Texture parentKey="HeaderBounds" parentArray="config" alphaMode="ADD" hidden="true"> | |
70 <Color r="0" g="0" b="1" a="0.5" /> | |
71 <Anchors> | |
72 <Anchor point="TOPLEFT" relativeKey="$parent.BackgroundLeft" /> | |
73 <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BackgroundRight" /> | |
74 </Anchors> | |
75 </Texture> | |
76 <Texture parentKey="FrameBounds" parentArray="config" alphaMode="ADD" hidden="true"> | |
77 <Color r="1" g="0" b="1" a="0.25" /> | |
78 <Anchors> | |
79 <Anchor point="TOPLEFT" /> | |
80 <Anchor point="BOTTOMRIGHT" /> | |
81 </Anchors> | |
82 </Texture> | |
54 <!--<Texture desatuated="true" parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true"> | 83 <!--<Texture desatuated="true" parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true"> |
55 <Anchors> | 84 <Anchors> |
56 <Anchor point="LEFT" relativeKey="$parent.Background" x="-21" y="18"/> | 85 <Anchor point="LEFT" relativeKey="$parent.Background" x="-21" y="18"/> |
57 </Anchors> | 86 </Anchors> |
58 </Texture> | 87 </Texture> |
77 | 106 |
78 </Layer> | 107 </Layer> |
79 </Layers> | 108 </Layers> |
80 <Frames> | 109 <Frames> |
81 | 110 |
82 <Frame name="$parentXP" parentKey="xpBar" hidden="true"> | 111 <Frame name="$parentXP" parentKey="XPBar" hidden="true"> |
83 <Size x="250" y="24" /> | 112 <Size x="250" y="24" /> |
84 <Anchors> | 113 <Anchors> |
85 <Anchor point="TOPLEFT" /> | 114 <Anchor point="TOPLEFT" /> |
86 </Anchors> | 115 </Anchors> |
87 <Layers> | 116 <Layers> |
266 </Layer> | 295 </Layer> |
267 </Layers> | 296 </Layers> |
268 </Frame> | 297 </Frame> |
269 | 298 |
270 <Include file="ObjectiveSecure.xml" /> | 299 <Include file="ObjectiveSecure.xml" /> |
300 <Include file="ObjectiveWidgets.xml" /> | |
301 | |
271 <Script file="ObjectiveTracker.lua" /> | 302 <Script file="ObjectiveTracker.lua" /> |
272 <Script file="ObjectiveInfo.lua" /> | 303 <Script file="ObjectiveInfo.lua" /> |
273 <Script file="ObjectiveUI.lua" /> | 304 <Script file="ObjectiveUI.lua" /> |
274 <Script file="ObjectiveFrame.lua" /> | 305 <Script file="ObjectiveFrame.lua" /> |
275 <Script file="ObjectiveEvents.lua" /> | 306 <Script file="ObjectiveEvents.lua" /> |