view ObjectiveTracker/Widgets.xml @ 38:1f8f9cc3d956

- module integration brought up to speed with current frame management structure
author Nenue
date Thu, 21 Apr 2016 11:36:41 -0400
parents e84d645c8ab8
children 03ed70f846de
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>
      <OnHide>
        Veneer.ObjectiveTracker.ReleaseWidget(self)
      </OnHide>
      <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>
      <OnHide>
        Veneer.ObjectiveTracker.ReleaseWidget(self)
      </OnHide>
    </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>
      <OnHide>
        Veneer.ObjectiveTracker.ReleaseWidget(self)
      </OnHide>
    </Scripts>
    <Layers>
      <Layer level="OVERLAY">
        <FontString name="$parentStatusText" parentKey="status" inherits="VeneerCriteriaFont">

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