diff ObjectiveTracker.xml @ 2:a2396b03ce63

- identify action buttons by the associated QuestID instead of QuestLogIndex - deferred button placement in general to a self-destructing OnUpdate -- and defer self-destruct to a end of combat event if InCombatLockdown - tracker wrapper has an experience/reputation bar; the two elements "feel" related and it's a very simple info display
author Nenue
date Thu, 31 Mar 2016 01:38:47 -0400
parents b0447b382f36
children 3397aae1f44d
line wrap: on
line diff
--- a/ObjectiveTracker.xml	Wed Mar 30 16:30:49 2016 -0400
+++ b/ObjectiveTracker.xml	Thu Mar 31 01:38:47 2016 -0400
@@ -28,20 +28,27 @@
     <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" />
+        <Texture parentKey="HeaderBounds" />
+        <Texture parentKey="BackgroundLeft" parentArray="header" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false">
+          <Size x="100" y="84" />
+          <TexCoords up="0" down="1" left="0" right="0.3" />
           <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" />
+        <Texture parentKey="BackgroundRight" parentArray="header"  hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false">
+          <Size x="70" y="84" />
+          <TexCoords up="0" down="1" left="0.6" right="1" />
           <Anchors>
-            <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.Background" />
-            <Anchor point="RIGHT" relativePoint="RIGHT" x="24" />
+            <Anchor point="TOPRIGHT"  x="24" y="12" />
+          </Anchors>
+        </Texture>
+        <Texture parentKey="BackgroundTile" parentArray="header" hidden="false" alpha="1" atlas="Objective-Header" useAtlasSize="false" tile="true">
+          <Size x="100" y="84" />
+          <TexCoords up="0" down="1" left=".3" right=".6" />
+          <Anchors>
+            <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeKey="$parent.BackgroundLeft" />
+            <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeKey="$parent.BackgroundRight" />
           </Anchors>
         </Texture>
         <!--<Texture desatuated="true" parentKey="LineGlow" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_LineGlow" useAtlasSize="true">
@@ -72,6 +79,40 @@
     </Layers>
     <Frames>
 
+      <Frame name="$parentXP" parentKey="xpBar" hidden="true">
+        <Size x="250" y="24" />
+        <Anchors>
+          <Anchor point="TOPLEFT" />
+        </Anchors>
+        <Layers>
+          <Layer level="BACKGROUND">
+            <Texture name="$parentBackground" parentKey="bg" setAllPoints="true"/>
+          </Layer>
+          <Layer level="ARTWORK">
+
+            <Texture name="$parentForeground" parentKey="fg">
+              <Anchors>
+                <Anchor point="TOPLEFT" />
+                <Anchor point="BOTTOMLEFT" />
+              </Anchors>
+            </Texture>
+            <Texture name="$parentRested" parentKey="rested" >
+              <Anchors>
+                <Anchor point="TOPLEFT" />
+                <Anchor point="BOTTOMLEFT" />
+              </Anchors>
+            </Texture>
+          </Layer>
+          <Layer level="OVERLAY">
+            <FontString inherits="VeneerFontNormal" parentKey="xpText">
+              <Anchors>
+                <Anchor point="CENTER" />
+              </Anchors>
+            </FontString>
+          </Layer>
+        </Layers>
+      </Frame>
+
       <Button name="$parentClose" parentKey="close" inherits="UIPanelCloseButtonNoScripts">
         <Size x="25" y="20" />
         <Anchors>
@@ -133,6 +174,7 @@
         <Texture name="$parentHeaderBG" parentKey="headerbg">
           <Anchors>
             <Anchor point="TOPLEFT" relativePoint="TOPLEFT" />
+            <Anchor point="RIGHT" relativePoint="RIGHT" />
           </Anchors>
           <Color r="1" g="1" b="1" a="1" />
           <Gradient orientation="HORIZONTAL">