diff ObjectiveTracker/ObjectiveTracker.xml @ 25:4b3da1b221de v1.0-beta

- distinction between all possible types of values for the 'isComplete' field - style polish applied to title headers - clickable regions altered to somewhat match those of the blizzard objectives tracker, for more world frame space and quicker user familiarity
author Nenue
date Wed, 13 Apr 2016 11:20:09 -0400
parents 66b927b46776
children c3aa94bc6be2
line wrap: on
line diff
--- a/ObjectiveTracker/ObjectiveTracker.xml	Mon Apr 11 09:07:40 2016 -0400
+++ b/ObjectiveTracker/ObjectiveTracker.xml	Wed Apr 13 11:20:09 2016 -0400
@@ -190,7 +190,7 @@
 
   <!-- Background panels -->
 
-  <Frame name="VeneerTrackerTemplate" parent="UIParent" virtual="true">
+  <Frame name="VeneerTrackerTemplate" parent="UIParent" virtual="true" hidden="true">
     <Layers>
       <Layer level="BACKGROUND">
         <Texture name="$parentTitleBackground" parentKey="titlebg">
@@ -224,16 +224,15 @@
         </FontString>
       </Layer>
     </Layers>
+    <Animations>
+      <AnimationGroup parentKey="headerFade" setToFinalAlpha="true">
+        <Alpha childKey="titlebg" duration="0.7" fromAlpha="1" toAlpha="0" order="1" />
+      </AnimationGroup>
+    </Animations>
   </Frame>
 
 
-  <Frame name="VeneerTrackerBlock" parent="VeneerObjectiveScroll" virtual="true" enableMouse="true">
-    <TitleRegion>
-      <Anchors>
-        <Anchor point="TOPLEFT" />
-        <Anchor point="BOTTOMRIGHT" relativeKey="TOPRIGHT" x="0" y="-22" />
-      </Anchors>
-    </TitleRegion>
+  <Frame name="VeneerTrackerBlock" parent="VeneerObjectiveScroll" virtual="true">
     <Layers>
       <Layer level="BACKGROUND">
         <Texture name="$parentTitleBackground" parentKey="titlebg">
@@ -397,6 +396,23 @@
         </Texture>
       </Layer>
     </Layers>
+    <Frames>
+      <Frame name="$parentHeaderBox" parentKey="clickZone"  enableMouse="true">
+        <Anchors>
+          <Anchor point="TOP" relativeKey="$parent.title"  />
+          <Anchor point="RIGHT" relativeKey="$parent.title"  />
+          <Anchor point="LEFT" relativeKey="$parent.title"  />
+          <Anchor point="BOTTOM" relativeKey="$parent.title" />
+        </Anchors>
+        <Layers>
+          <Layer level="HIGHLIGHT">
+            <Texture setAllPoints="true">
+              <Color r="1" g="1" b="0.5" a="0.5" />
+            </Texture>
+          </Layer>
+        </Layers>
+      </Frame>
+    </Frames>
   </Frame>
 
   <Frame name="VeneerTrackerObjective" virtual="true" hidden="true">