Mercurial > wow > buffalo2
comparison ObjectiveTracker.xml @ 0:3dbcad2b387d
initial push
| author | Nenue |
|---|---|
| date | Wed, 30 Mar 2016 02:24:56 -0400 |
| parents | |
| children | b0447b382f36 |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:3dbcad2b387d |
|---|---|
| 1 <Ui> | |
| 2 | |
| 3 | |
| 4 <Texture name="VnTestLine" virtual="true"> | |
| 5 <Color r="1" g="1" b="0" a="1" /> | |
| 6 </Texture> | |
| 7 | |
| 8 <Frame name="VeneerObjectiveWrapper" parent="UIParent" movable="true" enableMouse="true"> | |
| 9 <Scripts> | |
| 10 <OnLoad> | |
| 11 self.toggle = true | |
| 12 self:RegisterForDrag('LeftButton') | |
| 13 </OnLoad> | |
| 14 <OnShow> | |
| 15 </OnShow> | |
| 16 <OnDragStart> | |
| 17 self:StartMoving() | |
| 18 </OnDragStart> | |
| 19 <OnDragStop> | |
| 20 self:StopMovingOrSizing() | |
| 21 </OnDragStop> | |
| 22 <!--@debug@--> | |
| 23 <!--@end-debug@--> | |
| 24 </Scripts> | |
| 25 <Anchors> | |
| 26 <Anchor point="TOPRIGHT" x="-60" y="-240" /> | |
| 27 </Anchors> | |
| 28 <Layers> | |
| 29 | |
| 30 <Layer level="ARTWORK"> | |
| 31 <Texture parentKey="headerbg" /> | |
| 32 <Texture parentKey="Background" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false"> | |
| 33 <Size y="84" x="210" /> | |
| 34 <TexCoords up="0" down="1" left="0" right="0.7" /> | |
| 35 <Anchors> | |
| 36 <Anchor point="TOPLEFT" x="-30" y="12"/> | |
| 37 </Anchors> | |
| 38 </Texture> | |
| 39 <Texture parentKey="BackgroundR" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false"> | |
| 40 <Size y="84" x="210" /> | |
| 41 <TexCoords up="0" down="1" left="0.3" right="1" /> | |
| 42 <Anchors> | |
| 43 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.Background" /> | |
| 44 <Anchor point="RIGHT" relativePoint="RIGHT" x="24" /> | |
| 45 </Anchors> | |
| 46 </Texture> | |
| 47 <!--<Texture desatuated="true" parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true"> | |
| 48 <Anchors> | |
| 49 <Anchor point="LEFT" relativeKey="$parent.Background" x="-21" y="18"/> | |
| 50 </Anchors> | |
| 51 </Texture> | |
| 52 <Texture parentKey="SoftGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_Glow" useAtlasSize="true"> | |
| 53 <Anchors> | |
| 54 <Anchor point="CENTER" relativeKey="$parent.Background" relativePoint="LEFT" x="49" y="20"/> | |
| 55 </Anchors> | |
| 56 </Texture> | |
| 57 <Texture parentKey="StarBurst" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_StarBurst" useAtlasSize="true"> | |
| 58 <Anchors> | |
| 59 <Anchor point="CENTER" relativeKey="$parent.SoftGlow" x="29"/> | |
| 60 </Anchors> | |
| 61 </Texture> | |
| 62 <Texture parentKey="LineSheen" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst"> | |
| 63 <Size x="60" y="15"/> | |
| 64 <Anchors> | |
| 65 <Anchor point="CENTER" relativeKey="$parent.SoftGlow" x="29" y="-13"/> | |
| 66 </Anchors> | |
| 67 </Texture>--> | |
| 68 </Layer> | |
| 69 <Layer level="OVERLAY"> | |
| 70 | |
| 71 </Layer> | |
| 72 </Layers> | |
| 73 <Frames> | |
| 74 | |
| 75 <Button name="$parentClose" parentKey="close" inherits="UIPanelCloseButtonNoScripts"> | |
| 76 <Size x="25" y="20" /> | |
| 77 <Anchors> | |
| 78 <Anchor point="TOPRIGHT" x="-4" y="-2" /> | |
| 79 </Anchors> | |
| 80 </Button> | |
| 81 | |
| 82 <ScrollFrame name="$parentScrollFrame" enableMouseWheel="true" parentKey="scrollArea"> | |
| 83 <Layers> | |
| 84 <Layer level="BACKGROUND"> | |
| 85 <Texture setAllPoints="true"> | |
| 86 <Color r="0.15" g=".3" b=".3" a="0" /> | |
| 87 </Texture> | |
| 88 </Layer> | |
| 89 </Layers> | |
| 90 <Frames> | |
| 91 | |
| 92 | |
| 93 <!-- Can't get it to work as 'Slider'; implement as click frame | |
| 94 <Slider name="$parentBar" parentKey="scrollBar" minValue="1" maxValue="100" valueStep="1" stepsPerPage="1" defaultValue="1" orientation="VERTICAL"> | |
| 95 <HitRectInsets top="-1" bottom="1" right="1" left="0" /> | |
| 96 <ThumbTexture name="$parentThumb"> | |
| 97 <Color r="1" g="1" b="1" a="0.85" /> | |
| 98 </ThumbTexture> | |
| 99 <Layers> | |
| 100 <Layer level="BACKGROUND"> | |
| 101 <Texture setAllPoints="true"> | |
| 102 <Color r="1" g="0" b="0" a=".5" /> | |
| 103 </Texture> | |
| 104 </Layer> | |
| 105 </Layers> | |
| 106 </Slider> | |
| 107 --> | |
| 108 </Frames> | |
| 109 </ScrollFrame> | |
| 110 </Frames> | |
| 111 </Frame> | |
| 112 | |
| 113 <Frame name="VeneerObjectiveScroll" parent="VeneerObjectiveWrapperScrollFrame"> | |
| 114 <Anchors> | |
| 115 <Anchor point="TOPLEFT" /> | |
| 116 </Anchors> | |
| 117 <Layers> | |
| 118 <Layer level="BACKGROUND"> | |
| 119 <Texture setAllPoints="true"> | |
| 120 <Color r="1" g="1" b="1" a="1" /> | |
| 121 <Gradient orientation="HORIZONTAL"> | |
| 122 <MinColor r="0" g="0.5" b="0.5" a="0" /> | |
| 123 <MaxColor r="0" g="0.5" b="0.5" a="0" /> | |
| 124 </Gradient> | |
| 125 </Texture> | |
| 126 </Layer> | |
| 127 </Layers> | |
| 128 </Frame> | |
| 129 | |
| 130 <Frame name="VeneerTrackerTemplate" parent="UIParent" virtual="true"> | |
| 131 <Layers> | |
| 132 <Layer level="BACKGROUND"> | |
| 133 <Texture name="$parentHeaderBG" parentKey="headerbg"> | |
| 134 <Anchors> | |
| 135 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" /> | |
| 136 </Anchors> | |
| 137 <Color r="1" g="1" b="1" a="1" /> | |
| 138 <Gradient orientation="HORIZONTAL"> | |
| 139 <MinColor r="0" g="0" b="0" a="0.1" /> | |
| 140 <MaxColor r="0" g="0" b="0" a="0" /> | |
| 141 </Gradient> | |
| 142 </Texture> | |
| 143 </Layer> | |
| 144 <Layer level="OVERLAY"> | |
| 145 <FontString name="$parentHeader" inherits="VeneerFontHighlight" text="OBJ" parentKey="header"> | |
| 146 <Anchors> | |
| 147 <Anchor point="TOPLEFT" /> | |
| 148 </Anchors> | |
| 149 </FontString> | |
| 150 | |
| 151 | |
| 152 </Layer> | |
| 153 </Layers> | |
| 154 </Frame> | |
| 155 | |
| 156 | |
| 157 <Frame name="VeneerTrackerBlock" parent="VeneerObjectiveScroll" virtual="true" enableMouse="true"> | |
| 158 <Layers> | |
| 159 <Layer level="BACKGROUND"> | |
| 160 </Layer> | |
| 161 <Layer level="ARTWORK"> | |
| 162 <Texture name="$parentTitleBackground" parentKey="titlebg"> | |
| 163 <Color r="1" g="1" b="1" a="1" /> | |
| 164 <Anchors> | |
| 165 <Anchor point="TOPLEFT" /> | |
| 166 </Anchors> | |
| 167 </Texture> | |
| 168 <Texture name="$parentBackground" parentKey="bg"> | |
| 169 <Anchors> | |
| 170 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" /> | |
| 171 </Anchors> | |
| 172 <Color r="1" g="1" b="1" a="1" /> | |
| 173 <Gradient orientation="HORIZONTAL"> | |
| 174 <MinColor r="0" g="0" b="0" a=".15" /> | |
| 175 <MaxColor r="0" g="0" b="0" a=".35" /> | |
| 176 </Gradient> | |
| 177 </Texture> | |
| 178 <Texture name="$parentItemTile" parentKey="icon" hidden="true"> | |
| 179 <Size x="24" y="24" /> | |
| 180 <Anchors> | |
| 181 <Anchor point="TOPRIGHT" x="-1" y="-1" /> | |
| 182 </Anchors> | |
| 183 </Texture> | |
| 184 <Texture name="$parentMoneyTile" parentKey="money" hidden="true" /> | |
| 185 </Layer> | |
| 186 <Layer level="HIGHLIGHT"> | |
| 187 <Texture name="$parentHighLight" parentKey="highlight"> | |
| 188 <Anchors> | |
| 189 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeKey="$parent.titlebg" /> | |
| 190 <Anchor point="BOTTOM" relativePoint="TOP" relativeKey="$parent.titlebg" x="0" y="-4"/> | |
| 191 <Anchor point="RIGHT" relativePoint="RIGHT" /> | |
| 192 </Anchors> | |
| 193 <Color r="1" g="1" b="1" a="1" /> | |
| 194 <Gradient orientation="VERTICAL"> | |
| 195 <MaxColor r="1" g="1" b="1" a=".15" /> | |
| 196 <MinColor r="1" g="1" b="1" a="0" /> | |
| 197 </Gradient> | |
| 198 </Texture> | |
| 199 <Texture name="$parentLowLight" parentKey="highlight2"> | |
| 200 <Anchors> | |
| 201 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.bg" x="0" y="14" /> | |
| 202 <Anchor point="BOTTOM" relativePoint="BOTTOM" relativeKey="$parent.bg" x="0" y="0"/> | |
| 203 <Anchor point="RIGHT" relativePoint="RIGHT" relativeKey="$parent" /> | |
| 204 </Anchors> | |
| 205 <Color r="1" g="1" b="1" a="1" /> | |
| 206 <Gradient orientation="VERTICAL"> | |
| 207 <MaxColor r="1" g="1" b="1" a="0" /> | |
| 208 <MinColor r="1" g="1" b="1" a="0.15" /> | |
| 209 </Gradient> | |
| 210 </Texture> | |
| 211 </Layer> | |
| 212 <Layer level="OVERLAY"> | |
| 213 <FontString name="$parentTitle" parentKey="title" inherits="VeneerFontHighlight" justifyH="LEFT" justifyV="MIDDLE"> | |
| 214 <Anchors> | |
| 215 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeKey="$parent.titlebg" /> | |
| 216 </Anchors> | |
| 217 </FontString> | |
| 218 <FontString name="$parentLeaderBoard" parentKey="objectives" inherits="VeneerFontNormal" justifyH="LEFT" justifyV="MIDDLE" wordwrap="true"> | |
| 219 <Anchors> | |
| 220 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeKey="$parent.bg" x="5" y="0" /> | |
| 221 <Anchor point="RIGHT" relativeKey="$parent" /> | |
| 222 </Anchors> | |
| 223 </FontString> | |
| 224 </Layer> | |
| 225 </Layers> | |
| 226 </Frame> | |
| 227 | |
| 228 <Button name="VeneerItemButton" inherits="SecureActionButtonTemplate"> | |
| 229 | |
| 230 </Button> | |
| 231 | |
| 232 <Script file="ObjectiveTracker.lua" /> | |
| 233 <Script file="ObjectiveInfo.lua" /> | |
| 234 <Script file="ObjectiveUI.lua" /> | |
| 235 <Script file="ObjectiveFrame.lua" /> | |
| 236 <Script file="ObjectiveEvents.lua" /> | |
| 237 </Ui> |
