view Config/Config.xml @ 49:16465f3fd919

- remove UpdateAnchorAnchors and use hardlink for the one frame that this applied to
author Nenue
date Fri, 29 Apr 2016 10:50:27 -0400
parents 1a322b92dbfa
children
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">

  <FontString virtual="true" name="VeneerFieldName" parentKey="fieldname" inherits="VeneerFontHighlight" justifyV="TOP" justifyH="LEFT" />
  <FontString virtual="true" name="VeneerFieldValue" parentKey="fieldvalue" inherits="VeneerFontNormal" justifyV="TOP" justifyH="LEFT" />
  <Slider virtual="true" orientation="HORIZONTAL" name="VeneerConfigSlider">
    <Size x="250" y="18" />
    <Thumbtexture name="$parentThumb" alphaMode="BLEND" parentKey="thumb">
      <Size x="12" y="18" />
      <Color r="0.25" g="0.25" b="0.25" a="1" />
    </Thumbtexture>
    <Layers>
      <Layer level="BACKGROUND">
        <Texture>
          <Anchors>
            <Anchor point="LEFT" />
            <Anchor point="RIGHT" />
          </Anchors>
          <Size y="7" />
          <Color r="0" g="0" b="0" a="1" />
        </Texture>

      </Layer>
      <Layer level="OVERLAY">


        <FontString name="$parentOptText" inherits="VeneerFieldName">
          <Anchors>
            <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" />
          </Anchors>
        </FontString>

        <FontString name="$parentOptText" inherits="VeneerFieldValue">
          <Anchors>
            <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT" x="0" y="0" />
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <Scripts>
      <OnValueChanged>
        self:OnChange()
      </OnValueChanged>
    </Scripts>
  </Slider>

  <CheckButton virtual="true" orientation="HORIZONTAL" name="VeneerConfigCheckButton">
    <Size x="24" y="24" />
    <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/>
    <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/>
    <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
    <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/>
    <Layers>
      <Layer level="BACKGROUND">
        <Texture setAllPoints="true">
          <Size y="24" />
          <Color r="0" g="0.7" b="1" a="1" />
        </Texture>

        <FontString name="$parentOptText" inherits="VeneerFieldName" >
          <Anchors>
            <Anchor point="LEFT" relativePoint="LEFT" x="24" y="0" />
          </Anchors>
        </FontString>

      </Layer>
    </Layers>
    <Scripts>
      <OnValueChanged>
        self:OnChange()
      </OnValueChanged>
    </Scripts>
  </CheckButton>


  <Button virtual="true" name="VeneerConfigColor">
    <Size x="400" y="20" />
    <Layers>
      <Layer level="BACKGROUND">
        <Texture setAllPoints="true">
          <Color r="0.15" g="0.15" b="0.15" a="0.5" />
        </Texture>
        <Texture>
          <Anchors>
            <Anchor point="BOTTOMLEFT" x="0" y="0" />
          </Anchors>
          <Size x="18" y="18" />
          <Color r="0" g="0" b="0" a="1" />
        </Texture>
      </Layer>
      <Layer level="ARTWORK">
        <Texture name="$parentCurrentColor" parentKey="current">
          <Anchors>
            <Anchor point="BOTTOMLEFT" x="1" y="1" />
          </Anchors>
          <Size x="16" y="16" />
          <Color r="1" g="1" b="1" a="1" />
        </Texture>
      </Layer>
      <Layer level="OVERLAY">

        <FontString name="$parentOptText" inherits="VeneerFieldName">
          <Anchors>
            <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT" x="0" y="0" />
          </Anchors>
        </FontString>

        <FontString parentKey="fieldvalue" name="$parentOptText" inherits="VeneerFontNormal" text="">
          <Anchors>
            <Anchor point="CENTER" relativePoint="CENTER" relativeKey="$thumb" x="0" y="0" />
          </Anchors>
        </FontString>

      </Layer>
    </Layers>
  </Button>

  <Script file="Config.lua" />
</Ui>