annotate Core.xml @ 7:5301c68f28d8

TrackerBlock - use IsModifiedClick function to determine appropriate OnClick actions - handle 'CHATLINK' modifier - handle 'TOGGLEQUESTWATCH' modifier TrackerBlockObjectives - use a generic framework to manage frame creation for various criteria tracker types: - ProgressBar when Blizzard flag data indicates so - skip when Blizzard flag data indicates so - DynamicText otherwise - events related to the criteria are registered in the criteria frame, and unregistered when the frame is hidden, either by destruction of its parent or completion
author Nenue
date Fri, 01 Apr 2016 12:27:05 -0400
parents 3397aae1f44d
children ed642234f017
rev   line source
Nenue@0 1 <Ui>
Nenue@0 2 <Font name="VeneerFont" />
Nenue@0 3
Nenue@0 4 <Font name="VeneerFont_Small" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16" />
Nenue@0 5 <Font name="VeneerFont_Large" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="24" />
Nenue@0 6
Nenue@0 7 <Font name="VeneerFontNormal" inherits="VeneerFont_Small">
Nenue@0 8 <Color r="1" g="1" b="1" a="1" />
Nenue@0 9 </Font>
Nenue@0 10
Nenue@0 11 <Font name="VeneerFontHighlight" inherits="VeneerFont_Small" outline="NORMAL">
Nenue@0 12 <Color r="0" g=".7" b="1" a="1" />
Nenue@0 13 </Font>
Nenue@0 14 <Font name="VeneerFontHighlightLarge" inherits="VeneerFont_Large">
Nenue@0 15 <Color r="0" g=".7" b="1" a="1" />
Nenue@0 16 </Font>
Nenue@0 17
Nenue@0 18 <!-- Defining here so interfaces are easy to spot -->
Nenue@0 19 <Frame name="VeneerHandlerTemplate" virtual="true">
Nenue@0 20 <KeyValues>
Nenue@0 21 </KeyValues>
Nenue@0 22 </Frame>
Nenue@0 23
Nenue@0 24 <!-- Buff-button underlay -->
Nenue@0 25 <Frame name="VeneerDecorTemplate" virtual="true" enableMouse="true" movable="true" frameStrata="BACKGROUND" hidden="true">
Nenue@0 26 <Size x="30" y="30" />
Nenue@0 27 <Layers>
Nenue@0 28 <Layer level="BACKGROUND">
Nenue@0 29 <Texture name="$parentButtonArea" setAllPoints="true" parentKey="background" alphaMode="BLEND">
Nenue@0 30 <Color r="1" g="1" b="1" a="1" />
Nenue@0 31 </Texture>
Nenue@0 32 <Texture name="$parentButtonBackdrop" parentKey="backgroundFill" alphaMode="BLEND">
Nenue@0 33 <Anchors>
Nenue@0 34 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="1" y="1" relativeKey="$parent.background" />
Nenue@0 35 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" x="-1" y="-1" relativeKey="$parent.background" />
Nenue@0 36 </Anchors>
Nenue@0 37 <Color r="0" g="0" b="0" a="1" />
Nenue@0 38 </Texture>
Nenue@0 39 </Layer>
Nenue@0 40 </Layers>
Nenue@0 41 </Frame>
Nenue@0 42
Nenue@0 43 <!-- Buff button overlay, and positioning anchor -->
Nenue@0 44 <Frame name="VeneerGuideTemplate" virtual="true" movable="true" frameStrata="LOW">
Nenue@0 45 <Scripts>
Nenue@0 46 <OnShow>
Nenue@0 47 self.mouseover = self:IsMouseOver()
Nenue@0 48 </OnShow>
Nenue@0 49 <OnUpdate>
Nenue@0 50 if self:IsMouseOver() and not self.contains then
Nenue@0 51 self.caster:Show()
Nenue@0 52 else
Nenue@0 53 self.caster:Hide()
Nenue@0 54 end
Nenue@0 55 </OnUpdate>
Nenue@0 56 </Scripts>
Nenue@0 57 <Layers>
Nenue@0 58 <Layer level="ARTWORK">
Nenue@0 59 <Texture name="$parentLegend" parentKey="legend" parentArray="config" setAllPoints="true" hidden="true">
Nenue@0 60 <Color a="0.5" r="0" g="1" b="0" />
Nenue@0 61 </Texture>
Nenue@0 62 <Texture name="$parentCountLegend" parentKey="count" parentArray="config" hidden="true">
Nenue@0 63 <Color a="0.75" r="1" g=".5" b="0" />
Nenue@0 64 </Texture>
Nenue@0 65
Nenue@0 66
Nenue@0 67 <Texture name="$parentIconArea" parentKey="icon" alphaMode="ADD">
Nenue@0 68 <Color r="0" g="0" b="0" a="0" />
Nenue@0 69 </Texture>
Nenue@0 70 <Texture name="$parentTextLegend" parentKey="duration" parentArray="config" hidden="true" alphaMode="BLEND">
Nenue@0 71 <Color a="0.25" r="1" g="1" b="1" />
Nenue@0 72 </Texture>
Nenue@0 73 </Layer>
Nenue@0 74 <Layer level="OVERLAY">
Nenue@0 75 <FontString inherits="VeneerFontNormal" parentArray="config" name="$parentID" parentKey="idText" hidden="true" outline="NORMAL">
Nenue@0 76 <Anchors>
Nenue@0 77 <Anchor point="CENTER" />
Nenue@0 78 </Anchors>
Nenue@0 79 </FontString>
Nenue@0 80 <FontString inherits="VeneerFontNormal" parentKey="caster" outline="NORMAL">
Nenue@0 81 <Anchors>
Nenue@0 82 <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeKey="$parent.icon" />
Nenue@0 83 </Anchors>
Nenue@0 84 </FontString>
Nenue@0 85 </Layer>
Nenue@0 86 <Layer level="HIGHLIGHT">
Nenue@0 87
Nenue@0 88 </Layer>
Nenue@0 89 </Layers>
Nenue@0 90 </Frame>
Nenue@0 91
Nenue@0 92 <!-- Anchor frame orientation-setting widget; click handler copies frame anchors over to buff buttons -->
Nenue@0 93 <Button name="VeneerAnchorButton" virtual="true" parentArray="anchorButton" hidden="true">
Nenue@0 94 <Scripts>
Nenue@0 95 <OnClick>
Nenue@0 96 self:GetParent():SetChildAnchors(self)
Nenue@0 97 </OnClick>
Nenue@0 98 </Scripts>
Nenue@0 99 <Size x="15" y="15" />
Nenue@0 100 <Layers>
Nenue@0 101 <Layer level="BACKGROUND">
Nenue@0 102 <Texture setAllPoints="true">
Nenue@0 103 <Color r="0" g="0" b="0" a="1" />
Nenue@0 104 </Texture>
Nenue@0 105 </Layer>
Nenue@0 106 <Layer level="OVERLAY">
Nenue@0 107 <Texture>
Nenue@0 108 <Color r="0" g="1" b="0.5" a="1" />
Nenue@0 109 <Anchors>
Nenue@0 110 <Anchor point="BOTTOMLEFT" x="1" y="1" />
Nenue@0 111 <Anchor point="TOPRIGHT" x="-1" y="-1" />
Nenue@0 112 </Anchors>
Nenue@0 113 </Texture>
Nenue@0 114 </Layer>
Nenue@0 115 </Layers>
Nenue@0 116 </Button>
Nenue@0 117
Nenue@0 118 <Frame name="VeneerAnchorTemplate" virtual="true" enableMouse="false" movable="true" sizable="true" clampedToScreen="true">
Nenue@0 119 <Layers>
Nenue@0 120 <Layer level="BACKGROUND">
Nenue@0 121 <Texture name="$parentBackground" setAllPoints="true" parentArray="config" hidden="true">
Nenue@0 122 <Color r="0" g="0.2" b="1" a="0.2" />
Nenue@0 123 </Texture>
Nenue@0 124 <FontString name="$parentHeading" inherits="VeneerFontHighlight" parentArray="config" parentKey="heading" hidden="true">
Nenue@0 125 <Anchors>
Nenue@0 126 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" />
Nenue@0 127 </Anchors>
Nenue@0 128 </FontString>
Nenue@0 129 <FontString name="$parentDebug" inherits="VeneerFontNormal" parentArray="debug" parentKey="debug">
Nenue@0 130 <Anchors>
Nenue@0 131 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" />
Nenue@0 132 </Anchors>
Nenue@0 133 </FontString>
Nenue@0 134 </Layer>
Nenue@0 135 <Layer level="OVERLAY">
Nenue@0 136
Nenue@0 137 <Texture name="$parentCutJoint" parentKey="alignedJoint" hidden="true">
Nenue@0 138 <Size x="4" y="4" />
Nenue@0 139 <Color r="1" g="0" b="0" a="1" />
Nenue@0 140 </Texture>
Nenue@0 141 <Texture name="$parentCutY" parentKey="cuttingJointX" hidden="true">
Nenue@0 142 <Size x="4" y="48" />
Nenue@0 143 <Color r="1" g="1" b="0" a="1" />
Nenue@0 144 </Texture>
Nenue@0 145 <Texture name="$parentCutX" parentKey="cuttingJointY" hidden="true">
Nenue@0 146 <Size x="48" y="4" />
Nenue@0 147 <Color r="1" g="1" b="0" a="1" />
Nenue@0 148 </Texture>
Nenue@0 149 <Texture name="$parentPoppedY" parentKey="poppingJointX" hidden="true">
Nenue@0 150 <Size x="4" y="48" />
Nenue@0 151 <Color r="0" g="1" b="1" a="1" />
Nenue@0 152 </Texture>
Nenue@0 153 <Texture name="$parentPoppedX" parentKey="poppingJointY" hidden="true">
Nenue@0 154 <Size x="48" y="4" />
Nenue@0 155 <Color r="0" g="1" b="1" a="1" />
Nenue@0 156 </Texture>
Nenue@0 157 <Texture name="$parentChildSpace" parentKey="childSpace" hidden="true">
Nenue@0 158 <Color r="0" g=".5" b="1" a="0.5" />
Nenue@0 159 </Texture>
Nenue@0 160 </Layer>
Nenue@0 161 <Layer level="HIGHLIGHT">
Nenue@0 162 <Texture name="$parentHighlight" setAllPoints="true" parentArray="config" hidden="true">
Nenue@0 163 <Color r="1" g="1" b="0" a="0.2" />
Nenue@0 164 </Texture>
Nenue@0 165 </Layer>
Nenue@0 166 </Layers>
Nenue@0 167 <Frames>
Nenue@0 168 <Button name="$parentAnchorUL" inherits="VeneerAnchorButton">
Nenue@0 169 <Anchors>
Nenue@0 170 <Anchor point="TOPLEFT" />
Nenue@0 171 </Anchors>
Nenue@0 172 </Button>
Nenue@0 173 <Button name="$parentAnchorUR" inherits="VeneerAnchorButton">
Nenue@0 174 <Anchors>
Nenue@0 175 <Anchor point="TOPRIGHT" />
Nenue@0 176 </Anchors>
Nenue@0 177 </Button>
Nenue@0 178 <Button name="$parentAnchorUR" inherits="VeneerAnchorButton">
Nenue@0 179 <Anchors>
Nenue@0 180 <Anchor point="BOTTOMRIGHT" />
Nenue@0 181 </Anchors>
Nenue@0 182 </Button>
Nenue@0 183 <Button name="$parentAnchorUR" inherits="VeneerAnchorButton">
Nenue@0 184 <Anchors>
Nenue@0 185 <Anchor point="BOTTOMLEFT" />
Nenue@0 186 </Anchors>
Nenue@0 187 </Button>
Nenue@0 188 </Frames>
Nenue@0 189 </Frame>
Nenue@0 190
Nenue@0 191 <Frame name="VeneerConsolidatedBuffsAnchor" inherits="VeneerAnchorTemplate" virtual="true">
Nenue@0 192 <Layers>
Nenue@0 193 <Layer level="OVERLAY">
Nenue@0 194 <!-- need to make our own number label since the original is buried under secure layer -->
Nenue@0 195 <FontString inherits="VeneerFontNormal" name="$parentLabel" parentKey="label">
Nenue@0 196 <Anchors>
Nenue@0 197 <Anchor point="TOP" relativePoint="BOTTOM" x="0" y="-2" />
Nenue@0 198 </Anchors>
Nenue@0 199 </FontString>
Nenue@0 200 <!--
Nenue@0 201 <Texture name="$parentBackdrop" parentKey="background" setAllPoints="true" alphaMode="BLEND">
Nenue@0 202 <Color r="0" g="0" b="0" a="1" />
Nenue@0 203 <Anchors>
Nenue@0 204 <Anchor point="BOTTOMLEFT" x="1" y="1" />
Nenue@0 205 <Anchor point="TOPRIGHT" x="-1" y="-1" />
Nenue@0 206 </Anchors>
Nenue@0 207 </Texture>
Nenue@0 208 <Texture name="$parentIcon" parentKey="border" setAllPoints="true" alphaMode="BLEND">
Nenue@0 209 <Color r="1" g="1" b="1" a="1" />
Nenue@0 210 </Texture>
Nenue@0 211 -->
Nenue@0 212 </Layer>
Nenue@0 213 </Layers>
Nenue@0 214 </Frame>
Nenue@0 215
Nenue@0 216 <Frame name="VeneerRaidBuffTemplate" virtual="true" enableMouse="false">
Nenue@0 217 <Layers>
Nenue@0 218 <Layer level="ARTWORK">
Nenue@0 219 <Texture name="$parentLegend" parentKey="legend" parentArray="config" setAllPoints="true" hidden="true">
Nenue@0 220 <Color a="0.5" r="0" g="1" b="0" />
Nenue@0 221 </Texture>
Nenue@0 222 <Texture name="$parentCountLegend" parentKey="count" parentArray="config" hidden="true">
Nenue@0 223 <Color a="0.75" r="1" g=".5" b="0" />
Nenue@0 224 </Texture>
Nenue@0 225
Nenue@0 226
Nenue@0 227 <Texture name="$parentIconArea" parentKey="icon" alphaMode="ADD">
Nenue@0 228 <Color r="0" g="0" b="0" a="0" />
Nenue@0 229 </Texture>
Nenue@0 230 <Texture name="$parentTextLegend" parentKey="duration" parentArray="config" hidden="true" alphaMode="BLEND">
Nenue@0 231 <Color a="0.25" r="1" g="1" b="1" />
Nenue@0 232 </Texture>
Nenue@0 233 </Layer>
Nenue@0 234 <Layer level="OVERLAY">
Nenue@0 235 <FontString inherits="VeneerFontNormal" parentArray="config" name="$parentSymbol" parentKey="symbol">
Nenue@0 236 <Anchors>
Nenue@0 237 <Anchor point="TOP" />
Nenue@0 238 </Anchors>
Nenue@0 239 </FontString>
Nenue@0 240 <FontString inherits="VeneerFontNormal" parentArray="config" name="$parentID" parentKey="idText" hidden="true">
Nenue@0 241 <Anchors>
Nenue@0 242 <Anchor point="BOTTOM" />
Nenue@0 243 </Anchors>
Nenue@0 244 </FontString>
Nenue@0 245 </Layer>
Nenue@0 246 </Layers>
Nenue@0 247 </Frame>
Nenue@0 248
Nenue@0 249 <Button name="VeneerMissingBuffTemplate" virtual="true">
Nenue@0 250 <Scripts>
Nenue@0 251 <OnClick>
Nenue@0 252 if self.spell and not InCombatLockdown() then
Nenue@0 253 CastSpellByID(self.spell)
Nenue@0 254 end
Nenue@0 255 </OnClick>
Nenue@0 256 </Scripts>
Nenue@0 257 <Layers>
Nenue@0 258 <Layer level="BORDER">
Nenue@0 259 <Texture setAllPoints="true">
Nenue@0 260 <Color r="1" g="1" b="1" a="0.25" />
Nenue@0 261 </Texture>
Nenue@0 262 </Layer>
Nenue@0 263 <Layer level="ARTWORK">
Nenue@0 264 <Texture name="$parentIcon" parentKey="icon">
Nenue@0 265 <Size x="20" y="20" />
Nenue@0 266 <Anchors>
Nenue@0 267 <Anchor point="LEFT" />
Nenue@0 268 </Anchors>
Nenue@0 269 </Texture>
Nenue@0 270 </Layer>
Nenue@0 271 <Layer level="OVERLAY">
Nenue@0 272 <FontString name="$parentLabel" parentKey="label" inherits="VeneerFontNormal" justifyH="LEFT">
Nenue@0 273 <Anchors>
Nenue@0 274 <Anchor point="LEFT" relativePoint="RIGHT" relativeKey="icon" />
Nenue@0 275 </Anchors>
Nenue@0 276 </FontString>
Nenue@0 277 </Layer>
Nenue@0 278 </Layers>
Nenue@0 279 </Button>
Nenue@0 280
Nenue@0 281 <FontString virtual="true" name="VeneerFieldName" parentKey="fieldname" inherits="VeneerFontHighlight" justifyV="TOP" justifyH="LEFT" />
Nenue@0 282 <FontString virtual="true" name="VeneerFieldValue" parentKey="fieldvalue" inherits="VeneerFontNormal" justifyV="TOP" justifyH="LEFT" />
Nenue@0 283 <Slider virtual="true" orientation="HORIZONTAL" name="VeneerConfigSlider">
Nenue@0 284 <Size x="250" y="18" />
Nenue@0 285 <Thumbtexture name="$parentThumb" alphaMode="BLEND" parentKey="thumb">
Nenue@0 286 <Size x="12" y="18" />
Nenue@0 287 <Color r="0.25" g="0.25" b="0.25" a="1" />
Nenue@0 288 </Thumbtexture>
Nenue@0 289 <Layers>
Nenue@0 290 <Layer level="BACKGROUND">
Nenue@0 291 <Texture>
Nenue@0 292 <Anchors>
Nenue@0 293 <Anchor point="LEFT" />
Nenue@0 294 <Anchor point="RIGHT" />
Nenue@0 295 </Anchors>
Nenue@0 296 <Size y="7" />
Nenue@0 297 <Color r="0" g="0" b="0" a="1" />
Nenue@0 298 </Texture>
Nenue@0 299
Nenue@0 300 </Layer>
Nenue@0 301 <Layer level="OVERLAY">
Nenue@0 302
Nenue@0 303
Nenue@0 304 <FontString name="$parentOptText" inherits="VeneerFieldName">
Nenue@0 305 <Anchors>
Nenue@0 306 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" />
Nenue@0 307 </Anchors>
Nenue@0 308 </FontString>
Nenue@0 309
Nenue@0 310 <FontString name="$parentOptText" inherits="VeneerFieldValue">
Nenue@0 311 <Anchors>
Nenue@0 312 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="0" y="0" />
Nenue@0 313 </Anchors>
Nenue@0 314 </FontString>
Nenue@0 315 </Layer>
Nenue@0 316 </Layers>
Nenue@0 317 <Scripts>
Nenue@0 318 <OnValueChanged>
Nenue@0 319 self:OnChange()
Nenue@0 320 </OnValueChanged>
Nenue@0 321 </Scripts>
Nenue@0 322 </Slider>
Nenue@0 323
Nenue@0 324 <CheckButton virtual="true" orientation="HORIZONTAL" name="VeneerConfigCheckButton">
Nenue@0 325 <Size x="24" y="24" />
Nenue@0 326 <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
Nenue@0 327 <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
Nenue@0 328 <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
Nenue@0 329 <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
Nenue@0 330 <Layers>
Nenue@0 331 <Layer level="BACKGROUND">
Nenue@0 332 <Texture setAllPoints="true">
Nenue@0 333 <Size y="24" />
Nenue@0 334 <Color r="0" g="0.7" b="1" a="1" />
Nenue@0 335 </Texture>
Nenue@0 336
Nenue@0 337 <FontString name="$parentOptText" inherits="VeneerFieldName" >
Nenue@0 338 <Anchors>
Nenue@0 339 <Anchor point="LEFT" relativePoint="LEFT" x="24" y="0" />
Nenue@0 340 </Anchors>
Nenue@0 341 </FontString>
Nenue@0 342
Nenue@0 343 </Layer>
Nenue@0 344 </Layers>
Nenue@0 345 <Scripts>
Nenue@0 346 <OnValueChanged>
Nenue@0 347 self:OnChange()
Nenue@0 348 </OnValueChanged>
Nenue@0 349 </Scripts>
Nenue@0 350 </CheckButton>
Nenue@0 351
Nenue@0 352
Nenue@0 353 <Button virtual="true" name="VeneerConfigColor">
Nenue@0 354 <Size x="400" y="20" />
Nenue@0 355 <Layers>
Nenue@0 356 <Layer level="BACKGROUND">
Nenue@0 357 <Texture setAllPoints="true">
Nenue@0 358 <Color r="0.15" g="0.15" b="0.15" a="0.5" />
Nenue@0 359 </Texture>
Nenue@0 360 <Texture>
Nenue@0 361 <Anchors>
Nenue@0 362 <Anchor point="BOTTOMLEFT" x="0" y="0" />
Nenue@0 363 </Anchors>
Nenue@0 364 <Size x="18" y="18" />
Nenue@0 365 <Color r="0" g="0" b="0" a="1" />
Nenue@0 366 </Texture>
Nenue@0 367 </Layer>
Nenue@0 368 <Layer level="ARTWORK">
Nenue@0 369 <Texture name="$parentCurrentColor" parentKey="current">
Nenue@0 370 <Anchors>
Nenue@0 371 <Anchor point="BOTTOMLEFT" x="1" y="1" />
Nenue@0 372 </Anchors>
Nenue@0 373 <Size x="16" y="16" />
Nenue@0 374 <Color r="1" g="1" b="1" a="1" />
Nenue@0 375 </Texture>
Nenue@0 376 </Layer>
Nenue@0 377 <Layer level="OVERLAY">
Nenue@0 378
Nenue@0 379 <FontString name="$parentOptText" inherits="VeneerFieldName">
Nenue@0 380 <Anchors>
Nenue@0 381 <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="0" />
Nenue@0 382 </Anchors>
Nenue@0 383 </FontString>
Nenue@0 384
Nenue@0 385 <FontString parentKey="fieldvalue" name="$parentOptText" inherits="VeneerFontNormal" text="">
Nenue@0 386 <Anchors>
Nenue@0 387 <Anchor point="CENTER" relativePoint="CENTER" relativeKey="$thumb" x="0" y="0" />
Nenue@0 388 </Anchors>
Nenue@0 389 </FontString>
Nenue@0 390
Nenue@0 391 </Layer>
Nenue@0 392 </Layers>
Nenue@0 393 </Button>
Nenue@0 394
Nenue@0 395
Nenue@3 396 <Frame name="Veneer" hidden="true" enableMouse="true" movable="true" parent="UIParent" frameStrata="DIALOG">
Nenue@0 397 <Size x="400" y="400" />
Nenue@0 398 <Anchors>
Nenue@0 399 <Anchor point="CENTER" relativePoint="CENTER" x="0" y="0" />
Nenue@0 400 </Anchors>
Nenue@0 401 <Scripts>
Nenue@0 402 <OnLoad>
Nenue@0 403 self:RegisterForDrag('LeftButton')
Nenue@0 404 </OnLoad>
Nenue@0 405 <OnDragStart>
Nenue@0 406 self:StartMoving()
Nenue@0 407 </OnDragStart>
Nenue@0 408 <OnDragStop>
Nenue@0 409 self:StopMovingOrSizing()
Nenue@0 410 </OnDragStop>
Nenue@0 411 </Scripts>
Nenue@0 412 <Layers>
Nenue@0 413 <Layer level="BACKGROUND">
Nenue@0 414 <Texture setAllPoints="true">
Nenue@0 415 <Color r="0" g="0" b="0" a="0.7" />
Nenue@0 416 </Texture>
Nenue@0 417 </Layer>
Nenue@0 418 <Layer level="ARTWORK">
Nenue@0 419 <FontString name="$parentHeader" parentKey="header" inherits="VeneerFontHighlightLarge" text="Veneer">
Nenue@0 420 <Anchors>
Nenue@0 421 <Anchor point="TOPLEFT" x="3" y="-4" />
Nenue@0 422 </Anchors>
Nenue@0 423 </FontString>
Nenue@0 424 </Layer>
Nenue@0 425 </Layers>
Nenue@0 426 <Frames>
Nenue@0 427 <Button name="$parentCloseButton" parentKey="close" text="X">
Nenue@0 428 <ButtonText inherits="SystemFont_Small" />
Nenue@0 429 <Scripts>
Nenue@0 430 <OnClick>
Nenue@0 431 self:GetParent():Close()
Nenue@0 432 </OnClick>
Nenue@0 433 </Scripts>
Nenue@0 434 <Size x="24" y="24" />
Nenue@0 435 <Anchors>
Nenue@0 436 <Anchor point="TOPRIGHT" x="-5" y="-5" />
Nenue@0 437 </Anchors>
Nenue@0 438 <NormalTexture parentKey="normal" setAllPoints="true">
Nenue@0 439 <Color a="1" r="0" g="0" b="0" />
Nenue@0 440 </NormalTexture>
Nenue@0 441 <PushedTexture setAllPoints="true">
Nenue@0 442 <Color a="1" r="1" g="0" b="0" />
Nenue@0 443 </PushedTexture>
Nenue@0 444 <HighlightTexture setAllPoints="true" alphaMode="ADD">
Nenue@0 445 <Color a=".5" r="1" g=".7" b="0.5" />
Nenue@0 446 </HighlightTexture>
Nenue@0 447 </Button>
Nenue@0 448 <Button name="$parentGuidesButton" parentKey="guides" text="Guides">
Nenue@0 449 <ButtonText inherits="SystemFont_Small" />
Nenue@0 450 <Scripts>
Nenue@0 451 <OnClick>
Nenue@0 452 self:GetParent():ToggleGuides(self)
Nenue@0 453 </OnClick>
Nenue@0 454 </Scripts>
Nenue@0 455 <Size x="36" y="24" />
Nenue@0 456 <Anchors>
Nenue@0 457 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentCloseButton" x="-5" y="0" />
Nenue@0 458 </Anchors>
Nenue@0 459 <NormalTexture parentKey="normal" setAllPoints="true">
Nenue@0 460 <Color a="1" r="0" g="0" b="0" />
Nenue@0 461 </NormalTexture>
Nenue@0 462 <PushedTexture setAllPoints="true">
Nenue@0 463 <Color a="1" r="1" g="0" b="0" />
Nenue@0 464 </PushedTexture>
Nenue@0 465 <HighlightTexture setAllPoints="true" alphaMode="ADD">
Nenue@0 466 <Color a=".5" r="1" g=".7" b="0.5" />
Nenue@0 467 </HighlightTexture>
Nenue@0 468 </Button>
Nenue@0 469 </Frames>
Nenue@0 470 </Frame>
Nenue@0 471
Nenue@0 472
Nenue@0 473 <Script file="Init.lua" />
Nenue@0 474 <Script file="Constants.lua" />
Nenue@0 475 <Script file="Config.lua" />
Nenue@0 476
Nenue@0 477 </Ui>