diff Modules/BuffFrame.xml @ 86:48182978d1c6

- revert count info to non-hook method; something spam fires Hide making stacking debuffs unintelligible - implement config variables for position and anchoring of buff sub-regions
author Nenue
date Tue, 18 Oct 2016 19:53:24 -0400
parents 16b300d96724
children 6e2cb847c3c6
line wrap: on
line diff
--- a/Modules/BuffFrame.xml	Tue Oct 18 13:16:57 2016 -0400
+++ b/Modules/BuffFrame.xml	Tue Oct 18 19:53:24 2016 -0400
@@ -7,7 +7,7 @@
     <Scripts>
       <OnLoad>
         self.duration = self.progress.duration
-        self.count = self.progress.count
+        self.count = self.overlay.count
         self.border = self.underlay.bg
       </OnLoad>
     </Scripts>
@@ -38,10 +38,6 @@
         </EdgeTexture>
       </Cooldown>
       <Frame name="$parentProgress" parentKey="progress" frameStrata="MEDIUM">
-        <Anchors>
-          <Anchor point="BOTTOMLEFT" x="-1" y="-7" />
-          <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" x="1" y="-2" />
-        </Anchors>
         <Layers>
           <Layer level="BACKGROUND">
             <Texture parentKey="bg" setAllPoints="true">
@@ -56,12 +52,18 @@
           <Layer level="OVERLAY">
             <FontString name="$parentDuration" parentKey="duration" inherits="VeneerNumberFont">
               <Anchors>
-                <Anchor point="BOTTOM" x="0" y="2" />
+                <Anchor point="BOTTOMLEFT" x="5" y="9" />
               </Anchors>
             </FontString>
-            <FontString name="$parentCount" parentKey="count" inherits="VeneerNumberFont" justifyH="RIGHT">
+          </Layer>
+        </Layers>
+      </Frame>
+      <Frame name="$parentOverlay" parentKey="overlay" setAllPoints="true">
+        <Layers>
+          <Layer level="OVERLAY">
+            <FontString name="$parentCount" parentKey="count" inherits="VeneerNumberFontLarge">
               <Anchors>
-                <Anchor point="TOPRIGHT" x="-3" y="-3" />
+                <Anchor point="TOPRIGHT" x="-2" y="-2" />
               </Anchors>
             </FontString>
           </Layer>