diff Modules/ArtifactPower.xml @ 122:ea2c616a3b4f

Standardize anchor variables - anchorGroup sets general position, defers to anchorPoint - anchorPoint and anchorFrom are used in SetPoint, deferring to anchorGroup and its inverse Artifact Power: - scan and update triggers trimmed down BuffFrame: - extra values can be right clicked to hide for particular auras LFG: - Desolate Host link placed above Sisters when searching for best cheevos TalkingHead - Re-enable TalkingHeadFrame click behaviour
author Nenue
date Mon, 21 Aug 2017 22:15:46 -0400
parents 0f47780a83c4
children b3c0258b419d
line wrap: on
line diff
--- a/Modules/ArtifactPower.xml	Mon Jul 17 11:51:31 2017 -0400
+++ b/Modules/ArtifactPower.xml	Mon Aug 21 22:15:46 2017 -0400
@@ -25,6 +25,8 @@
 
   <Button name="VeneerArtifactButton" parentArray="Artifact" mixin="VeneerArtifactButtonMixin" virtual="true">
     <Scripts>
+      <OnLoad method="OnLoad" />
+      <OnEvent method="OnEvent" />
       <OnEnter method="OnEnter" />
       <OnLeave method="OnLeave" />
       <OnClick method="OnClick" />
@@ -103,7 +105,7 @@
     </Layers>
   </Button>
   <Frame name="VeneerArtifactPowerTimer" parent="UIParent" />
-  <Frame name="VeneerArtifactPower" hidden="true" mixin="VeneerArtifactPowerMixin" parent="UIParent" inherits="VeneerHandlerTemplate" enableMouse="true">
+  <Frame name="VeneerArtifactPower" hidden="true" mixin="VeneerArtifactPowerMixin" parent="UIParent" inherits="VeneerHandlerTemplate" enableMouse="false">
     <Size x="300" y="36" />
     <Scripts>
       <OnEnter method="OnEnter" />
@@ -114,24 +116,21 @@
       <Layer level="BACKGROUND">
 
         <Texture parentKey="Background">
-          <Color a="0.5" r="0" g="0" b="0" />
+          <Color a="0" r="0" g="0" b="0" />
         </Texture>
       </Layer>
       <Layer level="OVERLAY">
         <FontString name="$parentSummaryHeader" parentKey="SummaryHeader" inherits="VeneerNumberFont" text="" justifyH="LEFT">
-          <Anchors>
-            <Anchor point="BOTTOMLEFT" x="4" y="4"  />
-          </Anchors>
           <Color r="0" g="1" b="1" />
         </FontString>
       </Layer>
     </Layers>
     <Frames>
-      <Button name="$parentArtifactButton1" inherits="VeneerArtifactButton" />
-      <Button name="$parentArtifactButton2" inherits="VeneerArtifactButton" />
-      <Button name="$parentArtifactButton3" inherits="VeneerArtifactButton" />
-      <Button name="$parentArtifactButton4" inherits="VeneerArtifactButton" />
-      <Button name="$parentArtifactButton5" inherits="VeneerArtifactButton" />
+      <Button name="$parentArtifactButton1" inherits="VeneerArtifactButton" id="1" />
+      <Button name="$parentArtifactButton2" inherits="VeneerArtifactButton" id="2" />
+      <Button name="$parentArtifactButton3" inherits="VeneerArtifactButton" id="3" />
+      <Button name="$parentArtifactButton4" inherits="VeneerArtifactButton" id="4" />
+      <Button name="$parentArtifactButton5" inherits="VeneerArtifactButton" id="5" />
 
       <Button name="$parentRefresh" text="Refresh" parentKey="Refresh">
         <Size x="72" y="32" />