diff Modules/ArtifactPower.xml @ 123:b3c0258b419d v7.3.0-1

ArtifactPower: - XP progress bar fixes Currency: - More argus stuff - Block dimensions are calculated more consistently TalkingHead - Aesthetic changes - Default right-click behaviour restored (hides the text box)
author Nenue
date Tue, 05 Sep 2017 02:56:33 -0400
parents ea2c616a3b4f
children 3f4794dca91b
line wrap: on
line diff
--- a/Modules/ArtifactPower.xml	Mon Aug 21 22:15:46 2017 -0400
+++ b/Modules/ArtifactPower.xml	Tue Sep 05 02:56:33 2017 -0400
@@ -37,7 +37,18 @@
     <HighlightTexture file="Interface\Buttons\ButtonHilight-Square" setAllPoints="true" alphaMode="ADD" />
     <Layers>
       <Layer level="BACKGROUND">
-        <Texture name="$parentIcon" parentKey="Icon" setAllPoints="true" />
+        <Texture name="$parentIcon" parentKey="Icon" setAllPoints="true">
+                <TexCoords left="0.15" right=".85" top=".15" bottom=".85" />
+        </Texture>
+      </Layer>
+      <Layer level="ARTWORK">
+        <Texture parentKey="XPBackground">
+          <Anchors>
+            <Anchor point="TOPRIGHT" x="6" y="-2" relativePoint="TOPLEFT" />
+            <Anchor point="BOTTOMLEFT" x="2" y="2" />
+          </Anchors>
+          <Color a="1" r="0" g="0" b="0" />
+        </Texture>
       </Layer>
 
       <Layer level="OVERLAY">
@@ -68,39 +79,22 @@
           <Color r="0" g="1" b="0" />
         </FontString>
 
-        <Texture parentKey="CurrentProgress" alphaMode="BLEND">
+        <Texture parentKey="CurrentProgress" alphaMode="ADD">
           <Anchors>
             <Anchor point="BOTTOM" x="0" y="0" />
-            <Anchor point="LEFT" x="4" y="0" />
-            <Anchor point="RIGHT" relativePoint="LEFT" x="8" />
+            <Anchor point="LEFT" x="2" y="0" />
+            <Anchor point="RIGHT" relativePoint="LEFT" x="6" />
           </Anchors>
             <Color a="1" r="1" g=".25" b="0" />
         </Texture>
-        <Texture parentKey="AdjustedProgress" alphaMode="BLEND">
+        <Texture parentKey="AdjustedProgress" alphaMode="ADD">
           <Anchors>
-            <Anchor point="LEFT" x="4" />
-            <Anchor point="RIGHT" relativePoint="LEFT" x="8" />
+            <Anchor point="BOTTOM" x="0" y="0" />
+            <Anchor point="LEFT" x="2" y="0" />
+            <Anchor point="RIGHT" relativePoint="LEFT" x="6" />
           </Anchors>
           <Color a="1" r="1" g="1" b="1" />
         </Texture>
-        <Texture parentKey="AdjustedLine">
-          <Size y="1" />
-          <Anchors>
-            <Anchor point="TOP" relativeKey="$parent.AdjustedProgress" />
-            <Anchor point="RIGHT" relativeKey="$parent.AdjustedProgress" />
-            <Anchor point="LEFT" relativeKey="$parent.AdjustedProgress" />
-          </Anchors>
-          <Color a="0.25" r="1" g="1" b="1" />
-        </Texture>
-        <Texture parentKey="ProgressLine">
-          <Size y="1" />
-          <Anchors>
-            <Anchor point="TOP" relativeKey="$parent.CurrentProgress" />
-            <Anchor point="RIGHT" relativeKey="$parent.CurrentProgress" />
-            <Anchor point="LEFT" relativeKey="$parent.CurrentProgress" />
-          </Anchors>
-          <Color a="0.25" r="0" g="1" b="0" />
-        </Texture>
       </Layer>
     </Layers>
   </Button>