view ObjectiveTracker/Widgets.xml @ 44:756e8aeb040b

- Default.lua - simplified the response to SuperTrackedQuestID changes - tag icons work again
author Nenue
date Mon, 25 Apr 2016 19:37:13 -0400
parents 03ed70f846de
children dd9b5f59632c
line wrap: on
line source
<Ui>
  <!-- houses objective widget templates -->

  <StatusBar name="VeneerObjectiveCriteriaStatusBar" drawLayer="BACKGROUND" virtual="true" hidden="true" minValue="0" maxValue="100" defaultValue="0">
    <Size x="250" y="30" />
    <Scripts>
      <OnLoad>
        self.widgetType = 'StatusBar'
        Veneer.ObjectiveTracker.RegisterWidget(self)
      </OnLoad>
      <OnShow>
        Veneer.ObjectiveTracker.InitializeWidget(self)
      </OnShow>
      <OnEvent>

      </OnEvent>
    </Scripts>
    <Layers>
      <Layer level="ARTWORK">

        <Texture parentKey="BorderLeft" file="Interface\PaperDollInfoFrame\UI-Character-Skills-BarBorder">
          <Size x="9" y="22"/>
          <TexCoords left="0.007843" right="0.043137" top="0.193548" bottom="0.774193"/>
          <Anchors>
            <Anchor point="LEFT" x="-3" y="0" relativeKey="$parent.bg" />
          </Anchors>
        </Texture>
        <Texture parentKey="BorderRight" file="Interface\PaperDollInfoFrame\UI-Character-Skills-BarBorder">
          <Size x="9" y="22"/>
          <TexCoords left="0.043137" right="0.007843" top="0.193548" bottom="0.774193"/>
          <Anchors>
            <Anchor point="RIGHT" x="3" y="0" relativeKey="$parent.bg"/>
          </Anchors>
        </Texture>
        <Texture parentKey="BorderMid" file="Interface\PaperDollInfoFrame\UI-Character-Skills-BarBorder">
          <TexCoords left="0.113726" right="0.1490196" top="0.193548" bottom="0.774193"/>
          <Anchors>
            <Anchor point="TOPLEFT" relativeKey="$parent.BorderLeft" relativePoint="TOPRIGHT"/>
            <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BorderRight" relativePoint="BOTTOMLEFT"/>
          </Anchors>
        </Texture>
      </Layer>
      <Layer level="OVERLAY">
        <FontString name="$parentStatus" parentKey="status" inherits="VeneerActionNumberFont">
          <Anchors>
            <Anchor point="CENTER" />
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
    <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/>
    <BarColor r="0.26" g="0.42" b="1"/>
  </StatusBar>

  <Frame name="VeneerObjectiveCriteriaEvent" virtual="true" hidden="true">
    <Size x="250" y="24" />
    <Scripts>
      <OnLoad>
        self.widgetType = 'Event'
        self.lines = 1
        Veneer.ObjectiveTracker.RegisterWidget(self)
      </OnLoad>
      <OnShow>
        Veneer.ObjectiveTracker.InitializeWidget(self)
      </OnShow>
    </Scripts>
    <Layers>
      <Layer level="OVERLAY">
        <FontString name="$parentStatusText" parentKey="status" inherits="VeneerCriteriaFont">

        </FontString>
      </Layer>
    </Layers>
  </Frame>

  <Frame name="VeneerObjectiveCriteriaHidden" virtual="true" hidden="true">
    <Size x="250" y="24" />
    <Scripts>
      <OnLoad>
        self.widgetType = 'Hidden'
        self.lines = 0
        Veneer.ObjectiveTracker.RegisterWidget(self)
      </OnLoad>
      <OnShow>
        Veneer.ObjectiveTracker.InitializeWidget(self)
      </OnShow>
    </Scripts>
    <Layers>
      <Layer level="OVERLAY">
        <FontString name="$parentStatusText" parentKey="status" inherits="VeneerCriteriaFont">

        </FontString>
      </Layer>
    </Layers>
  </Frame>
</Ui>