diff ObjectiveTracker/ObjectiveTracker.xml @ 35:69d03f8e293e

- separated layout and data logic between Frame.lua and Update.lua - solved disappearing tracker mystery
author Nenue
date Sun, 17 Apr 2016 11:07:48 -0400
parents 9856ebc63fa4
children a487841050be
line wrap: on
line diff
--- a/ObjectiveTracker/ObjectiveTracker.xml	Sun Apr 17 00:21:45 2016 -0400
+++ b/ObjectiveTracker/ObjectiveTracker.xml	Sun Apr 17 11:07:48 2016 -0400
@@ -251,7 +251,7 @@
   </Frame>
 
 
-  <Frame name="VeneerTrackerBlock" parent="VeneerObjectiveScroll" virtual="true">
+  <Frame name="VeneerTrackerBlock" virtual="true">
     <Animations>
       <AnimationGroup name="$parentSlideIn" parentKey="SlideIn" ignoreFramerateThrottle="true">
         <Translation parentKey="translation" offsetX="0" offsetY="0" smoothing="OUT" order="1" duration=".25" />
@@ -491,7 +491,7 @@
     </Frames>
   </Frame>
 
-  <Frame name="VeneerTrackerObjective" virtual="true" hidden="true">
+  <Frame name="VeneerTrackerObjective" virtual="true" hidden="true" enableMouse="true">
     <Anchors>
       <Anchor point="TOP" />
       <Anchor point="LEFT" />
@@ -558,6 +558,11 @@
           </Anchors>
         </Texture>
       </Layer>
+      <Layer level="HIGHLIGHT">
+        <Texture setAllPoints="true">
+          <Color r="1" g="1" b="1" a="0.2" />
+        </Texture>
+      </Layer>
     </Layers>
   </Frame>
 
@@ -573,6 +578,7 @@
   <Script file="ScenarioObjectives.lua" />
   <Script file="ExerienceBar.lua" />
   <Script file="Frame.lua" />
+  <Script file="Update.lua" />
   <Script file="Events.lua" />
   <Script file="Widgets.lua" />
   <!-- <Script file="ObjectiveStyle.lua" /> -->