ActionButtonTemplate.xml

ActionButtonTemplate.xml (8.3.7.35284; unchanged since 8.2.5.31960)
  1. <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
  2. ..\FrameXML\UI.xsd">
  3.  
  4.   <Texture name="ActionBarFlyoutButton-ArrowUp" file="Interface\Buttons\ActionBarFlyoutButton" virtual="true" >
  5.     <Size x="23" y="11"/>
  6.     <TexCoords left="0.62500000" right="0.98437500" top="0.74218750" bottom="0.82812500"/> 
  7.   </Texture>
  8.   <Texture name="ActionBarFlyoutButton-IconFrame" file="Interface\Buttons\ActionBarFlyoutButton" virtual="true" >
  9.     <Size x="42" y="42"/>
  10.     <TexCoords left="0.01562500" right="0.67187500" top="0.39843750" bottom="0.72656250"/> 
  11.   </Texture>
  12.   <Texture name="ActionBarFlyoutButton-IconShadow" file="Interface\Buttons\ActionBarFlyoutButton" virtual="true" >
  13.     <Size x="48" y="48"/>
  14.     <TexCoords left="0.01562500" right="0.76562500" top="0.00781250" bottom="0.38281250"/> 
  15.   </Texture>
  16.  
  17.   <CheckButton name="ActionButtonTemplate" virtual="true">
  18.     <Size>
  19.       <AbsDimension x="36" y="36"/>
  20.     </Size>
  21.     <Layers>
  22.       <Layer level="BACKGROUND">
  23.         <Texture name="$parentIcon" parentKey="icon"/>
  24.       </Layer>
  25.       <Layer level="ARTWORK" textureSubLevel="1">
  26.         <Texture name="$parentFlash" parentKey="Flash" file="Interface\Buttons\UI-QuickslotRed" hidden="true"/>
  27.         <Texture name="$parentFlyoutBorder" inherits="ActionBarFlyoutButton-IconFrame" parentKey="FlyoutBorder" hidden="true">
  28.           <Anchors>
  29.             <Anchor point="CENTER"/>
  30.           </Anchors>
  31.         </Texture>
  32.         <Texture name="$parentFlyoutBorderShadow" inherits="ActionBarFlyoutButton-IconShadow" parentKey="FlyoutBorderShadow" hidden="true">
  33.           <Anchors>
  34.             <Anchor point="CENTER"/>
  35.           </Anchors>
  36.         </Texture>
  37.       </Layer>
  38.       <Layer level="ARTWORK" textureSubLevel="2">
  39.         <Texture name="$parentFlyoutArrow" inherits="ActionBarFlyoutButton-ArrowUp" parentKey="FlyoutArrow" hidden="true"/>
  40.         <FontString name="$parentHotKey" inherits="NumberFontNormalSmallGray" parentKey="HotKey" justifyH="RIGHT">
  41.           <Size x="36" y="10"/>
  42.           <Anchors>
  43.             <Anchor point="TOPLEFT" x="1" y="-3"/>
  44.           </Anchors>
  45.         </FontString>
  46.         <FontString name="$parentCount" inherits="NumberFontNormal" parentKey="Count" justifyH="RIGHT">
  47.           <Anchors>
  48.             <Anchor point="BOTTOMRIGHT" x="-2" y="2"/>
  49.           </Anchors>
  50.         </FontString>
  51.       </Layer>
  52.       <Layer level="OVERLAY">
  53.         <FontString name="$parentName" parentKey="Name" inherits="GameFontHighlightSmallOutline">
  54.           <Size x="36" y="10"/>
  55.           <Anchors>
  56.             <Anchor point="BOTTOM" x="0" y="2"/>
  57.           </Anchors>
  58.         </FontString>
  59.         <Texture name="$parentBorder" file="Interface\Buttons\UI-ActionButton-Border" parentKey="Border" hidden="true" alphaMode="ADD">
  60.           <Size x="62" y="62"/>
  61.           <Anchors>
  62.             <Anchor point="CENTER"/>
  63.           </Anchors>
  64.         </Texture>
  65.       </Layer>
  66.       <Layer level="OVERLAY" textureSubLevel="1">
  67.         <Texture parentKey="NewActionTexture" atlas="bags-newitem" useAtlasSize="false" alphaMode="ADD" hidden="true">
  68.           <Size x="44" y="44"/>
  69.           <Anchors>
  70.             <Anchor point="CENTER"/>
  71.           </Anchors>
  72.         </Texture>
  73.         <Texture parentKey="SpellHighlightTexture" atlas="bags-newitem" useAtlasSize="false" alphaMode="ADD" hidden="true">
  74.           <Size x="44" y="44"/>
  75.           <Anchors>
  76.             <Anchor point="CENTER"/>
  77.           </Anchors>
  78.         </Texture>
  79.         <Texture parentKey="AutoCastable" file="Interface\Buttons\UI-AutoCastableOverlay" hidden="true">
  80.           <Size x="58" y="58"/>
  81.           <Anchors>
  82.             <Anchor point="CENTER" x="0" y="0"/>
  83.           </Anchors>
  84.         </Texture>
  85.         <Texture parentKey="LevelLinkLockIcon" atlas="QuestSharing-Padlock" useAtlasSize="true" hidden="true">
  86.           <Anchors>
  87.             <Anchor point="CENTER"/>
  88.           </Anchors>
  89.         </Texture>
  90.       </Layer>
  91.     </Layers>
  92.     <Animations>
  93.       <AnimationGroup parentKey="SpellHighlightAnim" looping="REPEAT">
  94.         <Alpha childKey="SpellHighlightTexture" smoothing="OUT" duration=".35" order="1" fromAlpha="0" toAlpha="1"/>
  95.         <Alpha childKey="SpellHighlightTexture" smoothing="IN" duration=".35" order="2" fromAlpha="1" toAlpha="0"/>
  96.       </AnimationGroup>
  97.     </Animations>
  98.     <Frames>
  99.       <Frame name="$parentShine" parentKey="AutoCastShine" inherits="AutoCastShineTemplate">
  100.         <Anchors>
  101.           <Anchor point="CENTER" x="0" y="0"/>
  102.         </Anchors>
  103.         <Size x="28" y="28"/>
  104.       </Frame>
  105.       <Cooldown name="$parentCooldown" inherits="CooldownFrameTemplate" parentKey="cooldown">
  106.         <Size x="36" y="36"/>
  107.         <Anchors>
  108.           <Anchor point="CENTER" x="0" y="-1"/>
  109.         </Anchors>
  110.         <SwipeTexture>
  111.           <Color r="1" g="1" b="1" a="0.8"/>
  112.         </SwipeTexture>
  113.       </Cooldown>
  114.     </Frames>
  115.     <NormalTexture name="$parentNormalTexture" parentKey="NormalTexture" file="Interface\Buttons\UI-Quickslot2">
  116.       <Anchors>
  117.         <Anchor point="TOPLEFT" x="-15" y="15"/>
  118.         <Anchor point="BOTTOMRIGHT" x="15" y="-15"/>
  119.       </Anchors>
  120.     </NormalTexture>
  121.     <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/>
  122.     <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
  123.     <CheckedTexture alphaMode="ADD" file="Interface\Buttons\CheckButtonHilight"/>
  124.   </CheckButton>
  125. </Ui>