view ObjectiveTracker.xml @ 1:b0447b382f36

sorting client events from maintenance logic implemented all that action buttons entail for quest items
author Nenue
date Wed, 30 Mar 2016 16:30:49 -0400
parents 3dbcad2b387d
children a2396b03ce63
line wrap: on
line source
<Ui>


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

  <Frame name="VeneerObjectiveWrapper" parent="UIParent" movable="true" enableMouse="true">
    <Scripts>
      <OnLoad>
        self.toggle = true
        self:RegisterForDrag('LeftButton')
      </OnLoad>
      <OnShow>
      </OnShow>
      <OnDragStart>
        self:StartMoving()
      </OnDragStart>
      <OnDragStop>
        self:StopMovingOrSizing()
      </OnDragStop>
      <!--@debug@-->
      <!--@end-debug@-->
    </Scripts>
    <Anchors>
      <Anchor point="TOPRIGHT" x="-60" y="-240" />
    </Anchors>
    <Layers>

      <Layer level="ARTWORK">
        <Texture parentKey="headerbg" />
        <Texture parentKey="Background" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false">
          <Size y="84" x="210" />
          <TexCoords up="0" down="1" left="0" right="0.7" />
          <Anchors>
            <Anchor point="TOPLEFT" x="-30" y="12"/>
          </Anchors>
        </Texture>
        <Texture parentKey="BackgroundR" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false">
          <Size y="84" x="210" />
          <TexCoords up="0" down="1" left="0.3" right="1" />
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.Background" />
            <Anchor point="RIGHT" relativePoint="RIGHT" x="24" />
          </Anchors>
        </Texture>
        <!--<Texture desatuated="true" parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true">
          <Anchors>
            <Anchor point="LEFT" relativeKey="$parent.Background" x="-21" y="18"/>
          </Anchors>
        </Texture>
        <Texture parentKey="SoftGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_Glow" useAtlasSize="true">
          <Anchors>
            <Anchor point="CENTER" relativeKey="$parent.Background" relativePoint="LEFT" x="49" y="20"/>
          </Anchors>
        </Texture>
        <Texture parentKey="StarBurst" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_StarBurst" useAtlasSize="true">
          <Anchors>
            <Anchor point="CENTER" relativeKey="$parent.SoftGlow" x="29"/>
          </Anchors>
        </Texture>
        <Texture parentKey="LineSheen" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineBurst">
          <Size x="60" y="15"/>
          <Anchors>
            <Anchor point="CENTER" relativeKey="$parent.SoftGlow" x="29" y="-13"/>
          </Anchors>
        </Texture>-->
      </Layer>
      <Layer level="OVERLAY">

      </Layer>
    </Layers>
    <Frames>

      <Button name="$parentClose" parentKey="close" inherits="UIPanelCloseButtonNoScripts">
        <Size x="25" y="20" />
        <Anchors>
          <Anchor point="TOPRIGHT" x="-4" y="-2" />
        </Anchors>
      </Button>

      <ScrollFrame name="$parentScrollFrame" enableMouseWheel="true" parentKey="scrollArea">
        <Layers>
          <Layer level="BACKGROUND">
            <Texture setAllPoints="true">
              <Color r="0.15" g=".3" b=".3" a="0" />
            </Texture>
          </Layer>
        </Layers>
        <Frames>


          <!-- Can't get it to work as 'Slider'; implement as click frame
          <Slider name="$parentBar" parentKey="scrollBar" minValue="1" maxValue="100" valueStep="1" stepsPerPage="1" defaultValue="1" orientation="VERTICAL">
            <HitRectInsets top="-1" bottom="1" right="1" left="0" />
            <ThumbTexture name="$parentThumb">
              <Color r="1" g="1" b="1" a="0.85" />
            </ThumbTexture>
            <Layers>
              <Layer level="BACKGROUND">
                <Texture setAllPoints="true">
                  <Color r="1" g="0" b="0" a=".5" />
                </Texture>
              </Layer>
            </Layers>
          </Slider>
          -->
        </Frames>
      </ScrollFrame>
    </Frames>
  </Frame>

  <Frame name="VeneerObjectiveScroll" parent="VeneerObjectiveWrapperScrollFrame">
    <Anchors>
      <Anchor point="TOPLEFT" />
    </Anchors>
    <Layers>
      <Layer level="BACKGROUND">
        <Texture setAllPoints="true">
          <Color r="1" g="1" b="1" a="1" />
          <Gradient orientation="HORIZONTAL">
            <MinColor r="0" g="0.5" b="0.5" a="0" />
            <MaxColor r="0" g="0.5" b="0.5" a="0" />
          </Gradient>
        </Texture>
      </Layer>
    </Layers>
  </Frame>

  <Frame name="VeneerTrackerTemplate" parent="UIParent" virtual="true">
    <Layers>
      <Layer level="BACKGROUND">
        <Texture name="$parentHeaderBG" parentKey="headerbg">
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="TOPLEFT" />
          </Anchors>
          <Color r="1" g="1" b="1" a="1" />
          <Gradient orientation="HORIZONTAL">
            <MinColor r="0" g="0" b="0" a="0.1" />
            <MaxColor r="0" g="0" b="0" a="0" />
          </Gradient>
        </Texture>
      </Layer>
      <Layer level="OVERLAY">
        <FontString name="$parentHeader" inherits="VeneerFontHighlight" text="OBJ" parentKey="header">
          <Anchors>
            <Anchor point="TOPLEFT" />
          </Anchors>
        </FontString>


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


  <Frame name="VeneerTrackerBlock" parent="VeneerObjectiveScroll" virtual="true" enableMouse="true">
    <Layers>
      <Layer level="BACKGROUND">
      </Layer>
      <Layer level="ARTWORK">
        <Texture name="$parentTitleBackground" parentKey="titlebg">
          <Color r="1" g="1" b="1" a="1" />
          <Anchors>
            <Anchor point="TOPLEFT" />
          </Anchors>
        </Texture>
        <Texture name="$parentBackground" parentKey="bg">
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.titlebg" />
          </Anchors>
          <Color r="1" g="1" b="1" a="1" />
          <Gradient orientation="HORIZONTAL">
            <MinColor r="0" g="0" b="0" a=".15" />
            <MaxColor r="0" g="0" b="0" a=".35" />
          </Gradient>
        </Texture>
        <Texture name="$parentItemTile" parentKey="icon" hidden="true">
          <Size x="24" y="24" />
          <Anchors>
            <Anchor point="TOPRIGHT" x="-1" y="-1" />
          </Anchors>
        </Texture>
        <Texture name="$parentMoneyTile" parentKey="money" hidden="true" />
      </Layer>
      <Layer level="HIGHLIGHT">
        <Texture name="$parentHighLight" parentKey="highlight">
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeKey="$parent.titlebg" />
            <Anchor point="BOTTOM" relativePoint="TOP" relativeKey="$parent.titlebg" x="0" y="-4"/>
            <Anchor point="RIGHT" relativePoint="RIGHT" />
          </Anchors>
          <Color r="1" g="1" b="1" a="1" />
          <Gradient orientation="VERTICAL">
            <MaxColor r="1" g="1" b="1" a=".15" />
            <MinColor r="1" g="1" b="1" a="0" />
          </Gradient>
        </Texture>
        <Texture name="$parentLowLight" parentKey="highlight2">
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeKey="$parent.bg" x="0" y="14" />
            <Anchor point="BOTTOM" relativePoint="BOTTOM" relativeKey="$parent.bg" x="0" y="0"/>
            <Anchor point="RIGHT" relativePoint="RIGHT" relativeKey="$parent" />
          </Anchors>
          <Color r="1" g="1" b="1" a="1" />
          <Gradient orientation="VERTICAL">
            <MaxColor r="1" g="1" b="1" a="0" />
            <MinColor r="1" g="1" b="1" a="0.15" />
          </Gradient>
        </Texture>
      </Layer>
      <Layer level="OVERLAY">
        <FontString name="$parentTitle" parentKey="title" inherits="VeneerFontHighlight" justifyH="LEFT" justifyV="MIDDLE">
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeKey="$parent.titlebg" />
          </Anchors>
        </FontString>
        <FontString name="$parentLeaderBoard" parentKey="objectives" inherits="VeneerFontNormal" justifyH="LEFT" justifyV="MIDDLE" wordwrap="true">
          <Anchors>
            <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeKey="$parent.bg" x="5" y="0" />
            <Anchor point="RIGHT" relativeKey="$parent" />
          </Anchors>
        </FontString>
      </Layer>
    </Layers>
  </Frame>

  <Include file="ObjectiveSecure.xml" />
  <Script file="ObjectiveTracker.lua" />
  <Script file="ObjectiveInfo.lua" />
  <Script file="ObjectiveUI.lua" />
  <Script file="ObjectiveFrame.lua" />
  <Script file="ObjectiveEvents.lua" />
</Ui>