diff ObjectiveWidgets.xml @ 14:ed642234f017

ObjectiveFrame - implement proper tracker name text - expanded tracker prototypes to cover "objective lines" formatting and accommodation of widget variables - implement the progress bars for bonus objectives ObjectiveStyle - moved `UpdateWrapperStyle` over and renamed it to fit semantics - change the formula for block.`height` to measure non-widget content only - allows widgets to position relative to text - size FontString `status` to match block.`height` - full block height is acquired by adding block.`height` and block.`attachmentHeight` which is calculated during objective parsing ObjectiveWidgets - use string keys for generated widgets to deal with multiple objectives under the same questID, and maybe dungeon objectives - wrapper buttons use a common code path - specialized handlers for wheel scrolling moved over to fit semantics
author Nenue
date Mon, 04 Apr 2016 03:16:22 -0400
parents 9455693fc290
children
line wrap: on
line diff
--- a/ObjectiveWidgets.xml	Sat Apr 02 17:46:52 2016 -0400
+++ b/ObjectiveWidgets.xml	Mon Apr 04 03:16:22 2016 -0400
@@ -19,7 +19,7 @@
       </OnEvent>
     </Scripts>
     <Layers>
-      <Layer level="BACKGROUND">
+      <Layer level="BORDER">
         <Texture name="$parentBackground" parentKey="bg">
           <Color r="0" g="0" b="0" a="0.70" />
           <Anchors>
@@ -31,11 +31,17 @@
       <Layer level="ARTWORK">
 
         <Texture name="$parentForeground" parentKey="fg">
-          <Color r="1" g="1" b="1" a="1" />
+          <Color r="1" g="1" b="1" a="0.7" />
+        </Texture>
+        <Texture name="$parentIcon" parentKey="icon" alphaMode="MOD">
+          <Anchors>
+            <Anchor point="TOPLEFT" relativeKey="$parent.fg" />
+            <Anchor point="BOTTOMRIGHT" relativeKey="$parent.fg" />
+          </Anchors>
         </Texture>
       </Layer>
       <Layer level="OVERLAY">
-        <FontString name="$parentQuantityString" parentKey="quantityString" inherits="VeneerCriteriaFont">
+        <FontString name="$parentStatus" parentKey="status" inherits="VeneerCriteriaFont">
           <Anchors>
             <Anchor point="CENTER" />
           </Anchors>