diff Templates.xml @ 121:1f68c46bc4de

BuffFrame: - Added interface framework for selectively hiding certain buff's auxiliary values.
author Nenue
date Mon, 17 Jul 2017 11:51:31 -0400
parents 5476337198ec
children 3f4794dca91b
line wrap: on
line diff
--- a/Templates.xml	Sun Jun 04 18:20:40 2017 -0400
+++ b/Templates.xml	Mon Jul 17 11:51:31 2017 -0400
@@ -74,6 +74,15 @@
     </Frames>
   </Frame>
 
+  <Button name="VeneerAnchorButtonTemplate" virtual="true">
+    <NormalTexture>
+      <Color a="1" r=".25" g=".25" b=".25" />
+    </NormalTexture>
+    <HighlightTexture>
+      <Color r="1" g=".5" b="0" a="0.5" />
+    </HighlightTexture>
+  </Button>
+
   <!-- same as above, but with a progress bar -->
   <Frame name="VeneerStatusBarTemplate" virtual="true" hidden="true" inherits="VeneerMixinScripts">
     <Scripts>
@@ -140,6 +149,12 @@
   </Frame>
 
   <Frame name="VeneerHandlerTemplate" inherits="VeneerAnimations" hidden="true" parent="UIParent" virtual="true">
+    <Scripts>
+      <OnLoad method="OnLoad" />
+      <OnEvent method="OnEvent" />
+      <OnShow method="OnShow" />
+      <OnHide method="OnHide" />
+    </Scripts>
     <Layers>
       <Layer level="BACKGROUND">
         <Texture parentKey="Background" setAllPoints="true" parentArray="ConfigLayer">
@@ -147,12 +162,6 @@
         </Texture>
       </Layer>
     </Layers>
-    <Scripts>
-      <OnLoad method="OnLoad" />>
-      <OnEvent method="OnEvent" />
-      <OnShow method="OnShow" />
-      <OnHide method="OnHide" />
-    </Scripts>
     <Frames>
       <Frame name="$parentConfigHandler" setAllPoints="true" mixin="VeneerConfigLayerMixin" enableMouse="true" parentArray="ConfigLayer">
         <Scripts>