view Veneer.xml @ 53:5cedcb683eda

more consolidate buffs fixing
author Nenue
date Fri, 29 Apr 2016 17:06:48 -0400
parents 9837069e366a
children 07ef62fe201f
line wrap: on
line source
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
  <Font name="VeneerFont" />

  <Font name="VeneerFont_Small" font="Fonts\FRIZQT__.TTF" outline="NORMAL" height="16" />
  <Font name="VeneerFont_Large" font="Fonts\FRIZQT__.TTF"  outline="NORMAL" height="24" />

  <Font name="VeneerFontNormal" inherits="VeneerFont_Small">
    <Color r="1" g="1" b="1" a="1" />
  </Font>

  <Font name="VeneerFontHighlight" inherits="VeneerFont_Small" outline="NORMAL">
    <Color r="0" g=".7" b="1" a="1" />
  </Font>
  <Font name="VeneerFontHighlightLarge" inherits="VeneerFont_Large">
    <Color r="0" g=".7" b="1" a="1" />
  </Font>


  <Texture name="VnTestLine" virtual="true">
    <Color r="1" g="1" b="0" a="1" />
  </Texture>

  <Font name="VeneerActionNumberFont" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\XOIREQE.TTF" outline="NORMAL" height="15">
      <Color r="1" g="1" b="1" a="1" />
  </Font>

  <Font name="VeneerNumberFont" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Bold.ttf" outline="NORMAL" height="13" >
    <Color r="1" g="1" b="1" a="1" />
  </Font>
  <Font name="VeneerNumberFontSmall" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Bold.ttf" outline="NORMAL" height="12" >
    <Color r="1" g="1" b="1" a="1" />
  </Font>
  <Font name="VeneerTitleFont" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Bold.ttf" outline="NORMAL" height="15" >
    <Color r="1" g="1" b="1" a="1" />
  </Font>

  <Font name="VeneerCriteriaFontNormal" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Regular.ttf" outline="NORMAL" height="16">
    <Color r="1" g="1" b="1" a="1" />
  </Font>
  <Font name="VeneerCriteriaFontComplete" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Regular.ttf" outline="NORMAL" height="16">
    <Color r="0" g="1" b="0" a=".75" />
  </Font>
  <Font name="VeneerCriteriaFontProgressed" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Regular.ttf" outline="NORMAL" height="16">
    <Color r="1" g="1" b="0" a="1" />
  </Font>

  <Font name="VeneerCriteriaFontFailed" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Regular.ttf" outline="NORMAL" height="16">
    <Color r="1" g=".4" b="0" a=".75" />
  </Font>

  <Font name="VeneerStatusFont" virtual="true" font="Interface\Addons\SharedMedia_MyMedia\font\ArchivoNarrow-Regular.ttf" outline="NORMAL" height="14">
    <Color r="1" g="1" b="0" a="1" />
  </Font>

  <Frame name="VeneerHandlerTemplate" parent="UIParent" virtual="true" />

  <Frame name="Veneer" hidden="true" enableMouse="true" movable="true" parent="UIParent" frameStrata="DIALOG">
    <Size x="400" y="400" />
    <Anchors>
      <Anchor point="CENTER" relativePoint="CENTER" x="0" y="0" />
    </Anchors>
    <Scripts>
      <OnLoad>
        self:RegisterForDrag('LeftButton')
      </OnLoad>
      <OnDragStart>
        self:StartMoving()
      </OnDragStart>
      <OnDragStop>
        self:StopMovingOrSizing()
      </OnDragStop>
    </Scripts>
    <Layers>
      <Layer level="BACKGROUND">
        <Texture setAllPoints="true">
          <Color r="0" g="0" b="0" a="0.7" />
        </Texture>
      </Layer>
      <Layer level="ARTWORK">
        <FontString name="$parentHeader" parentKey="header" inherits="VeneerFontHighlightLarge" text="Veneer">
          <Anchors>
            <Anchor point="TOPLEFT" x="3" y="-4" />
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <Frames>
      <Button name="$parentCloseButton" parentKey="close" text="X">
        <ButtonText inherits="SystemFont_Small" />
        <Scripts>
          <OnClick>
            self:GetParent():Close()
          </OnClick>
        </Scripts>
        <Size x="24" y="24" />
        <Anchors>
          <Anchor point="TOPRIGHT" x="-5" y="-5" />
        </Anchors>
        <NormalTexture parentKey="normal" setAllPoints="true">
          <Color a="1" r="0" g="0" b="0" />
        </NormalTexture>
        <PushedTexture setAllPoints="true">
          <Color a="1" r="1" g="0" b="0" />
        </PushedTexture>
        <HighlightTexture setAllPoints="true" alphaMode="ADD">
          <Color a=".5" r="1" g=".7" b="0.5" />
        </HighlightTexture>
      </Button>
      <Button name="$parentGuidesButton" parentKey="guides" text="Guides">
        <ButtonText inherits="SystemFont_Small" />
        <Scripts>
          <OnClick>
            self:GetParent():ToggleGuides(self)
          </OnClick>
        </Scripts>
        <Size x="36" y="24" />
        <Anchors>
          <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentCloseButton" x="-5" y="0" />
        </Anchors>
        <NormalTexture parentKey="normal" setAllPoints="true">
          <Color a="1" r="0" g="0" b="0" />
        </NormalTexture>
        <PushedTexture setAllPoints="true">
          <Color a="1" r="1" g="0" b="0" />
        </PushedTexture>
        <HighlightTexture setAllPoints="true" alphaMode="ADD">
          <Color a=".5" r="1" g=".7" b="0.5" />
        </HighlightTexture>
      </Button>
    </Frames>
  </Frame>


  <Script file="Veneer.lua" />

</Ui>