diff ObjectiveTracker/ObjectiveTracker.xml @ 34:9856ebc63fa4

- half solution to Update being fired multiple times during load - change securefunc handlers to dispense a reason code; catch that reason code in the enclosure passed to hooksecurefunc, and decide whether to update or not from there.
author Nenue
date Sun, 17 Apr 2016 00:21:45 -0400
parents a3afe6c3771e
children 69d03f8e293e
line wrap: on
line diff
--- a/ObjectiveTracker/ObjectiveTracker.xml	Fri Apr 15 17:01:06 2016 -0400
+++ b/ObjectiveTracker/ObjectiveTracker.xml	Sun Apr 17 00:21:45 2016 -0400
@@ -306,6 +306,20 @@
           </Gradient>
         </Texture>
       </Layer>
+      <Layer level="BORDER">
+
+        <Texture parentKey="SelectionOverlay" alphaMode="ADD" hidden="true">
+          <Anchors>
+            <Anchor point="TOPLEFT" />
+            <Anchor point="BOTTOMRIGHT" />
+          </Anchors>
+          <Color r="1" g="1" b="1" a="1" />
+          <Gradient orientation="HORIZONTAL">
+            <MaxColor r="1" g="0" b="0" a="0.7" />
+            <MinColor r="1" g="0" b="0" a="0.7" />
+          </Gradient>
+        </Texture>
+      </Layer>
       <Layer level="ARTWORK">
           <Texture parentKey="StarBurst" hidden="false" alpha="0" alphaMode="ADD" atlas="OBJFX_StarBurst" useAtlasSize="true">
             <Anchors>
@@ -329,10 +343,6 @@
             </Anchors>
           </Texture>
 
-        <Texture alpha="0.75" parentArray="rewardTile" hidden="true" />
-        <Texture alpha="0.66" parentArray="rewardTile" hidden="true" />
-        <Texture alpha="0.57" parentArray="rewardTile" hidden="true" />
-
         <Texture parentKey="typeTag" file="Interface\QuestFrame\QuestTypeIcons" alphaMode="ADD" hidden="true">
           <Size x="18" y="18"/>
           <Anchors>
@@ -360,17 +370,10 @@
         </Texture>
 
 
-        <Texture parentKey="SelectionOverlay" alphaMode="ADD" hidden="true">
-          <Anchors>
-            <Anchor point="TOPLEFT" />
-            <Anchor point="BOTTOMRIGHT" />
-          </Anchors>
-          <Color r="1" g="1" b="1" a="1" />
-          <Gradient orientation="HORIZONTAL">
-            <MaxColor r="1" g="0" b="0" a="0.7" />
-            <MinColor r="1" g="0" b="0" a="0.7" />
-          </Gradient>
-        </Texture>
+
+        <Texture alpha="1" parentArray="rewardTile" hidden="true" />
+        <Texture alpha="1" parentArray="rewardTile" hidden="true" />
+        <Texture alpha="1" parentArray="rewardTile" hidden="true" />
       </Layer>
       <Layer level="OVERLAY">
         <FontString name="$parentTitle" parentKey="title" inherits="VeneerTitleFont" justifyH="LEFT" justifyV="TOP">
@@ -387,14 +390,14 @@
             <Anchor point="RIGHT" relativeKey="$parent" />
           </Anchors>
         </FontString>
+        <FontString parentArray="rewardLabel" inherits="VeneerNumberFontSmall" />
+        <FontString parentArray="rewardLabel" inherits="VeneerNumberFontSmall" />
+        <FontString parentArray="rewardLabel" inherits="VeneerNumberFontSmall" />
         <FontString name="$parentDebugText" parentKey="debugText" inherits="VeneerCriteriaFontNormal" justifyH="RIGHT" justifyV="TOP">
           <Anchors>
-            <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT" />
+            <Anchor point="BOTTOMRIGHT" />
           </Anchors>
         </FontString>
-        <FontString parentArray="rewardLabel" inherits="VeneerNumberFont" />
-        <FontString parentArray="rewardLabel" inherits="VeneerNumberFont" />
-        <FontString parentArray="rewardLabel" inherits="VeneerNumberFont" />
 
 
         <Texture alphaMode="BLEND" parentArray="config" hidden="true">
@@ -490,6 +493,8 @@
 
   <Frame name="VeneerTrackerObjective" virtual="true" hidden="true">
     <Anchors>
+      <Anchor point="TOP" />
+      <Anchor point="LEFT" />
       <Anchor point="RIGHT" />
     </Anchors>
     <Layers>
@@ -560,6 +565,7 @@
   <Include file="Widgets.xml" />
 
   <Script file="ObjectiveTracker.lua" />
+  <Script file="Schema.lua" />
   <Script file="Quests.lua" />
   <Script file="Achievements.lua" />
   <Script file="AutoQuestPopups.lua" />