SecureUIPanelTemplates.xml

SecureUIPanelTemplates.xml (9.0.2.37474; unchanged since 8.3.0.33062)
  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.   <Script file="SecureUIPanelTemplates.lua"/>
  4.  
  5.   <EditBox name="InputBoxScriptTemplate" enableMouse="true" virtual="true">
  6.     <Scripts>
  7.       <OnTabPressed function="EditBox_OnTabPressed"/>
  8.       <OnEscapePressed function="EditBox_ClearFocus"/>
  9.       <OnEditFocusLost function="EditBox_ClearHighlight"/>
  10.       <OnEditFocusGained function="EditBox_HighlightText"/>
  11.     </Scripts>
  12.   </EditBox>
  13.  
  14.   <EditBox name="LargeInputBoxTemplate" inherits="InputBoxScriptTemplate" virtual="true">
  15.     <Size x="110" y="33"/>
  16.     <Layers>
  17.       <Layer level="BACKGROUND">
  18.         <Texture parentKey="Left" atlas="auctionhouse-ui-inputfield-left" useAtlasSize="true">
  19.           <Anchors>
  20.             <Anchor point="LEFT"/>
  21.           </Anchors>
  22.         </Texture>
  23.         <Texture parentKey="Right" atlas="auctionhouse-ui-inputfield-right" useAtlasSize="true">
  24.           <Anchors>
  25.             <Anchor point="RIGHT"/>
  26.           </Anchors>
  27.         </Texture>
  28.         <Texture parentKey="Middle" atlas="auctionhouse-ui-inputfield-middle">
  29.           <Anchors>
  30.             <Anchor point="TOPLEFT" relativeKey="$parent.Left" relativePoint="TOPRIGHT"/>
  31.             <Anchor point="BOTTOMRIGHT" relativeKey="$parent.Right" relativePoint="BOTTOMLEFT"/>
  32.           </Anchors>
  33.         </Texture>
  34.       </Layer>
  35.     </Layers>
  36.     <FontString inherits="NumberFont_Normal_Med">
  37.       <Anchors>
  38.         <Anchor point="LEFT" x="6" y="0"/>
  39.       </Anchors>
  40.     </FontString>
  41.     <TextInsets left="10" right="10" bottom="5" top="0"/>
  42.   </EditBox>
  43.  
  44.   <EditBox name="InputBoxTemplate" inherits="InputBoxScriptTemplate" virtual="true">
  45.     <Layers>
  46.       <Layer level="BACKGROUND">
  47.         <Texture parentKey="Left" atlas="common-search-border-left" useAtlasSize="false">
  48.           <Size x="8" y="20"/>
  49.           <Anchors>
  50.             <Anchor point="LEFT" x="-5" y="0"/>
  51.           </Anchors>
  52.         </Texture>
  53.         <Texture parentKey="Right" atlas="common-search-border-right">
  54.           <Size x="8" y="20"/>
  55.           <Anchors>
  56.             <Anchor point="RIGHT" x="0" y="0"/>
  57.           </Anchors>
  58.         </Texture>
  59.         <Texture parentKey="Middle" atlas="common-search-border-middle">
  60.           <Size x="10" y="20"/>
  61.           <Anchors>
  62.             <Anchor point="LEFT" relativeKey="$parent.Left" relativePoint="RIGHT"/>
  63.             <Anchor point="RIGHT" relativeKey="$parent.Right" relativePoint="LEFT"/>
  64.           </Anchors>
  65.         </Texture>
  66.       </Layer>
  67.     </Layers>
  68.     <FontString inherits="ChatFontNormal"/>
  69.   </EditBox>
  70.  
  71.   <Texture name="UIPanelScrollBarButton" virtual="true">
  72.     <TexCoords left="0.20" right="0.80" top="0.25" bottom="0.75"/>
  73.   </Texture>
  74.   <Button name="UIPanelScrollUpButtonTemplate" virtual="true">
  75.     <Size x="18" y="16"/>
  76.     <NormalTexture parentKey="Normal" inherits="UIPanelScrollBarButton" file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Up"/>
  77.     <PushedTexture parentKey="Pushed" inherits="UIPanelScrollBarButton" file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Down"/>
  78.     <DisabledTexture parentKey="Disabled" inherits="UIPanelScrollBarButton" file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Disabled"/>
  79.     <HighlightTexture parentKey="Highlight" inherits="UIPanelScrollBarButton" file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Highlight" alphaMode="ADD"/>
  80.   </Button>
  81.   <Button name="UIPanelScrollDownButtonTemplate" virtual="true">
  82.     <Size x="18" y="16"/>
  83.     <NormalTexture parentKey="Normal" inherits="UIPanelScrollBarButton" file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Up"/>
  84.     <PushedTexture parentKey="Pushed" inherits="UIPanelScrollBarButton" file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Down"/>
  85.     <DisabledTexture parentKey="Disabled" inherits="UIPanelScrollBarButton" file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled"/>
  86.     <HighlightTexture parentKey="Highlight" inherits="UIPanelScrollBarButton" file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Highlight" alphaMode="ADD"/>
  87.   </Button>
  88.   <Slider name="UIPanelScrollBarTemplate" virtual="true">
  89.     <Size x="16" y="0"/>
  90.     <Frames>
  91.       <Button name="$parentScrollUpButton" parentKey="ScrollUpButton" inherits="UIPanelScrollUpButtonTemplate">
  92.         <Anchors>
  93.           <Anchor point="BOTTOM" relativePoint="TOP"/>
  94.         </Anchors>
  95.         <Scripts>
  96.           <OnClick function="UIPanelScrollBarScrollUpButton_OnClick"/>
  97.         </Scripts>
  98.       </Button>
  99.       <Button name="$parentScrollDownButton" parentKey="ScrollDownButton" inherits="UIPanelScrollDownButtonTemplate">
  100.         <Anchors>
  101.           <Anchor point="TOP" relativePoint="BOTTOM"/>
  102.         </Anchors>
  103.         <Scripts>
  104.           <OnClick function="UIPanelScrollBarScrollDownButton_OnClick"/>
  105.         </Scripts>
  106.       </Button>
  107.     </Frames>
  108.     <Scripts>
  109.       <OnValueChanged function="UIPanelScrollBar_OnValueChanged"/>
  110.     </Scripts>
  111.     <ThumbTexture name="$parentThumbTexture" parentKey="ThumbTexture" inherits="UIPanelScrollBarButton" file="Interface\Buttons\UI-ScrollBar-Knob">
  112.       <Size x="18" y="24"/>
  113.       <TexCoords left="0.20" right="0.80" top="0.125" bottom="0.875"/>
  114.     </ThumbTexture>
  115.   </Slider>
  116.  
  117.   <ScrollFrame name="UIPanelScrollFrameCodeTemplate" virtual="true">
  118.     <Scripts>
  119.       <OnLoad function="ScrollFrame_OnLoad"/>
  120.       <OnScrollRangeChanged function="ScrollFrame_OnScrollRangeChanged"/>
  121.       <OnVerticalScroll function="ScrollFrame_OnVerticalScroll"/>
  122.       <OnMouseWheel function="ScrollFrameTemplate_OnMouseWheel"/>
  123.     </Scripts>
  124.   </ScrollFrame>
  125.   <ScrollFrame name="UIPanelScrollFrameTemplate" virtual="true" inherits="UIPanelScrollFrameCodeTemplate">
  126.     <Frames>
  127.       <Slider name="$parentScrollBar" inherits="UIPanelScrollBarTemplate" parentKey="ScrollBar">
  128.         <Anchors>
  129.           <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="6" y="-16"/>
  130.           <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="6" y="16"/>
  131.         </Anchors>
  132.       </Slider>
  133.     </Frames>
  134.   </ScrollFrame>
  135.   <ScrollFrame name="InputScrollFrameTemplate" inherits="UIPanelScrollFrameTemplate" virtual="true">
  136.     <KeyValues>
  137.       <!--
  138.       <KeyValue key="maxLetters" value="127" type="number"/>
  139.       <KeyValue key="instructions" value="INSTRUCTION_TEXT" type="global"/>
  140.       <KeyValue key="hideCharCount" value="false" type="boolean"/>
  141.       -->
  142.     </KeyValues>
  143.     <Layers>
  144.       <Layer level="BACKGROUND">
  145.         <Texture parentKey="TopLeftTex" file="Interface\Common\Common-Input-Border-TL">
  146.           <Size x="8" y="8"/>
  147.           <Anchors>
  148.             <Anchor point="TOPLEFT" x="-5" y="5"/>
  149.           </Anchors>
  150.         </Texture>
  151.         <Texture parentKey="TopRightTex" file="Interface\Common\Common-Input-Border-TR">
  152.           <Size x="8" y="8"/>
  153.           <Anchors>
  154.             <Anchor point="TOPRIGHT" x="5" y="5"/>
  155.           </Anchors>
  156.         </Texture>
  157.         <Texture parentKey="TopTex" file="Interface\Common\Common-Input-Border-T">
  158.           <Anchors>
  159.             <Anchor point="TOPLEFT" relativeKey="$parent.TopLeftTex" relativePoint="TOPRIGHT"/>
  160.             <Anchor point="BOTTOMRIGHT" relativeKey="$parent.TopRightTex" relativePoint="BOTTOMLEFT"/>
  161.           </Anchors>
  162.         </Texture>
  163.         <Texture parentKey="BottomLeftTex" file="Interface\Common\Common-Input-Border-BL">
  164.           <Size x="8" y="8"/>
  165.           <Anchors>
  166.             <Anchor point="BOTTOMLEFT" x="-5" y="-5"/>
  167.           </Anchors>
  168.         </Texture>
  169.         <Texture parentKey="BottomRightTex" file="Interface\Common\Common-Input-Border-BR">
  170.           <Size x="8" y="8"/>
  171.           <Anchors>
  172.             <Anchor point="BOTTOMRIGHT" x="5" y="-5"/>
  173.           </Anchors>
  174.         </Texture>
  175.         <Texture parentKey="BottomTex" file="Interface\Common\Common-Input-Border-B">
  176.           <Anchors>
  177.             <Anchor point="TOPLEFT" relativeKey="$parent.BottomLeftTex" relativePoint="TOPRIGHT"/>
  178.             <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomRightTex" relativePoint="BOTTOMLEFT"/>
  179.           </Anchors>
  180.         </Texture>
  181.         <Texture parentKey="LeftTex" file="Interface\Common\Common-Input-Border-L">
  182.           <Anchors>
  183.             <Anchor point="TOPLEFT" relativeKey="$parent.TopLeftTex" relativePoint="BOTTOMLEFT"/>
  184.             <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomLeftTex" relativePoint="TOPRIGHT"/>
  185.           </Anchors>
  186.         </Texture>
  187.         <Texture parentKey="RightTex" file="Interface\Common\Common-Input-Border-R">
  188.           <Anchors>
  189.             <Anchor point="TOPLEFT" relativeKey="$parent.TopRightTex" relativePoint="BOTTOMLEFT"/>
  190.             <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomRightTex" relativePoint="TOPRIGHT"/>
  191.           </Anchors>
  192.         </Texture>
  193.         <Texture parentKey="MiddleTex" file="Interface\Common\Common-Input-Border-M">
  194.           <Anchors>
  195.             <Anchor point="TOPLEFT" relativeKey="$parent.LeftTex" relativePoint="TOPRIGHT"/>
  196.             <Anchor point="BOTTOMRIGHT" relativeKey="$parent.RightTex" relativePoint="BOTTOMLEFT"/>
  197.           </Anchors>
  198.         </Texture>
  199.       </Layer>
  200.       <Layer level="OVERLAY">
  201.         <FontString inherits="GameFontDisableLarge" parentKey="CharCount">
  202.           <Anchors>
  203.             <Anchor point="BOTTOMRIGHT" x="-6" y="0"/>
  204.           </Anchors>
  205.         </FontString>
  206.       </Layer>
  207.     </Layers>
  208.     <Scripts>
  209.       <OnLoad function="InputScrollFrame_OnLoad"/>
  210.       <OnMouseDown function="InputScrollFrame_OnMouseDown"/>
  211.     </Scripts>
  212.     <ScrollChild>
  213.       <EditBox parentKey="EditBox" multiLine="true" countInvisibleLetters="true" autoFocus="false">
  214.         <Size x="1" y="1"/>
  215.         <Anchors>
  216.           <Anchor point="TOPLEFT"/>
  217.         </Anchors>
  218.         <Layers>
  219.           <Layer level="BORDER">
  220.             <FontString parentKey="Instructions" inherits="GameFontNormalSmall" justifyH="LEFT" justifyV="TOP">
  221.               <Anchors>
  222.                 <Anchor point="TOPLEFT" x="0" y="0"/>
  223.               </Anchors>
  224.               <Color r="0.35" g="0.35" b="0.35"/>
  225.             </FontString>
  226.           </Layer>
  227.         </Layers>
  228.         <Scripts>
  229.           <OnTabPressed function="InputScrollFrame_OnTabPressed"/>
  230.           <OnTextChanged function="InputScrollFrame_OnTextChanged"/>
  231.           <OnCursorChanged function="ScrollingEdit_OnCursorChanged"/>
  232.           <OnUpdate function="InputScrollFrame_OnUpdate"/>
  233.           <OnEscapePressed function="InputScrollFrame_OnEscapePressed"/>
  234.         </Scripts>
  235.         <FontString inherits="GameFontHighlightSmall"/>
  236.       </EditBox>
  237.     </ScrollChild>
  238.   </ScrollFrame>
  239.   <ScrollFrame name="FauxScrollFrameTemplate" inherits="UIPanelScrollFrameTemplate" virtual="true">
  240.     <Scripts>
  241.       <OnScrollRangeChanged function=""/>
  242.     </Scripts>
  243.     <ScrollChild>
  244.       <Frame name="$parentScrollChildFrame" parentKey="ScrollChildFrame">
  245.         <Size x="300" y="334"/>
  246.       </Frame>
  247.     </ScrollChild>
  248.   </ScrollFrame>
  249.   <ScrollFrame name="ListScrollFrameTemplate" inherits="FauxScrollFrameTemplate" virtual="true">
  250.     <Layers>
  251.       <Layer level="BACKGROUND">
  252.         <Texture parentKey="ScrollBarTop" name="$parentTop" atlas="macropopup-scrollbar-top" useAtlasSize="true">
  253.           <Anchors>
  254.             <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" x="-2" y="5"/>
  255.           </Anchors>
  256.         </Texture>
  257.         <Texture parentKey="ScrollBarBottom" name="$parentBottom" atlas="macropopup-scrollbar-bottom" useAtlasSize="true">
  258.           <Anchors>
  259.             <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" x="-2" y="-2"/>
  260.           </Anchors>
  261.         </Texture>
  262.         <Texture name="$parentMiddle" atlas="!macropopup-scrollbar-middle" vertTile="true" useAtlasSize="true">
  263.           <Anchors>
  264.             <Anchor point="TOP" relativeTo="$parentTop" relativePoint="BOTTOM"/>
  265.             <Anchor point="BOTTOM" relativeTo="$parentBottom" relativePoint="TOP"/>
  266.           </Anchors>
  267.         </Texture>
  268.       </Layer>
  269.     </Layers>
  270.   </ScrollFrame>
  271.   <Button name="UIPanelButtonNoTooltipTemplate" virtual="true">
  272.     <Size x="40" y="22"/>
  273.     <Layers>
  274.       <Layer level="BACKGROUND">
  275.         <Texture parentKey="Left" file="Interface\Buttons\UI-Panel-Button-Up">
  276.           <Size x="12" y="22"/>
  277.           <Anchors>
  278.             <Anchor point="TOPLEFT"/>
  279.             <Anchor point="BOTTOMLEFT"/>
  280.           </Anchors>
  281.           <TexCoords left="0" right="0.09375" top="0" bottom="0.6875"/>
  282.         </Texture>
  283.         <Texture parentKey="Right" file="Interface\Buttons\UI-Panel-Button-Up">
  284.           <Size x="12" y="22"/>
  285.           <Anchors>
  286.             <Anchor point="TOPRIGHT"/>
  287.             <Anchor point="BOTTOMRIGHT"/>
  288.           </Anchors>
  289.           <TexCoords left="0.53125" right="0.625" top="0" bottom="0.6875"/>
  290.         </Texture>
  291.         <Texture parentKey="Middle" file="Interface\Buttons\UI-Panel-Button-Up">
  292.           <Size x="12" y="22"/>
  293.           <Anchors>
  294.             <Anchor point="TOPLEFT" relativeKey="$parent.Left" relativePoint="TOPRIGHT"/>
  295.             <Anchor point="BOTTOMRIGHT" relativeKey="$parent.Right" relativePoint="BOTTOMLEFT"/>
  296.           </Anchors>
  297.           <TexCoords left="0.09375" right="0.53125" top="0" bottom="0.6875"/>
  298.         </Texture>
  299.       </Layer>
  300.     </Layers>
  301.     <Scripts>
  302.       <OnLoad function="UIPanelButton_OnLoad"/>
  303.       <OnMouseDown function="UIPanelButton_OnMouseDown"/>
  304.       <OnMouseUp function="UIPanelButton_OnMouseUp"/>
  305.       <OnShow function="UIPanelButton_OnShow"/>
  306.       <OnDisable function="UIPanelButton_OnDisable"/>
  307.       <OnEnable function="UIPanelButton_OnEnable"/>
  308.     </Scripts>
  309.     <ButtonText name="$parentText" parentKey="Text"/>
  310.     <NormalFont style="GameFontNormal"/>
  311.     <HighlightFont style="GameFontHighlight"/>
  312.     <DisabledFont style="GameFontDisable"/>
  313.     <HighlightTexture inherits="UIPanelButtonHighlightTexture"/>
  314.   </Button>
  315.   <Button name="UIPanelButtonNoTooltipResizeToFitTemplate" inherits="UIPanelButtonNoTooltipTemplate, ResizeLayoutFrame" mixin="UIPanelButtonNoTooltipResizeToFitMixin" virtual="true">
  316.     <KeyValues>
  317.       <KeyValue key="fixedHeight" value="22" type="number"/>
  318.       <KeyValue key="minimumWidth" value="40" type="number"/>
  319.       <KeyValue key="widthPadding" value="20" type="number"/>
  320.     </KeyValues>
  321.     <Scripts>
  322.       <OnLoad method="OnLoad"/>
  323.     </Scripts>
  324.   </Button>
  325.   <Frame name="SelectionFrameTemplate" virtual="true">
  326.     <KeyValues>
  327.       <!--
  328.       <KeyValue key="OnOkay" value="FooFrame_OnOkay" type="global"/>
  329.       <KeyValue key="OnCancel" value="FooFrame_OnCancel" type="global"/>
  330.       -->
  331.     </KeyValues>
  332.     <Layers>
  333.       <Layer level="BORDER">
  334.         <Texture parentKey="TopLeft" atlas="macropopup-topleft" useAtlasSize="true">
  335.           <Anchors>
  336.             <Anchor point="TOPLEFT"/>
  337.           </Anchors>
  338.         </Texture>
  339.         <Texture parentKey="TopRight" atlas="macropopup-topright" useAtlasSize="true">
  340.           <Anchors>
  341.             <Anchor point="TOPRIGHT" x="0" y="0"/>
  342.           </Anchors>
  343.         </Texture>
  344.         <Texture atlas="_macropopup-top" horizTile="true" useAtlasSize="true">
  345.           <Anchors>
  346.             <Anchor point="TOPLEFT" relativeKey="$parent.TopLeft" relativePoint="TOPRIGHT" x="0" y="0"/>
  347.             <Anchor point="TOPRIGHT" relativeKey="$parent.TopRight" relativePoint="TOPLEFT" x="0" y="0"/>
  348.           </Anchors>
  349.         </Texture>
  350.         <Texture parentKey="BottomLeft" atlas="macropopup-bottomleft" useAtlasSize="true">
  351.           <Anchors>
  352.             <Anchor point="BOTTOMLEFT" x="0" y="0"/>
  353.           </Anchors>
  354.         </Texture>
  355.         <Texture parentKey="BottomRight" atlas="macropopup-bottomright" useAtlasSize="true">
  356.           <Anchors>
  357.             <Anchor point="BOTTOMRIGHT" x="0" y="0"/>
  358.           </Anchors>
  359.         </Texture>
  360.         <Texture atlas="_macropopup-bottom" horizTile="true" useAtlasSize="true">
  361.           <Anchors>
  362.             <Anchor point="BOTTOMLEFT" relativeKey="$parent.BottomLeft" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
  363.             <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomRight" relativePoint="BOTTOMLEFT" x="0" y="0"/>
  364.           </Anchors>
  365.         </Texture>
  366.         <Texture atlas="!macropopup-left" vertTile="true" useAtlasSize="true">
  367.           <Anchors>
  368.             <Anchor point="TOPLEFT" relativeKey="$parent.TopLeft" relativePoint="BOTTOMLEFT" x="0" y="0"/>
  369.             <Anchor point="BOTTOMLEFT" relativeKey="$parent.BottomLeft" relativePoint="TOPLEFT" x="0" y="0"/>
  370.           </Anchors>
  371.         </Texture>
  372.         <Texture atlas="!macropopup-right" vertTile="true" useAtlasSize="true">
  373.           <Anchors>
  374.             <Anchor point="TOPRIGHT" relativeKey="$parent.TopRight" relativePoint="BOTTOMRIGHT" x="0" y="0"/>
  375.             <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomRight" relativePoint="TOPRIGHT" x="0" y="0"/>
  376.           </Anchors>
  377.         </Texture>
  378.       </Layer>
  379.     </Layers>
  380.     <Frames>
  381.       <Button parentKey="CancelButton" inherits="UIPanelButtonNoTooltipTemplate" text="CANCEL">
  382.         <Size x="78" y="22"/>
  383.         <Anchors>
  384.           <Anchor point="BOTTOMRIGHT" x="-11" y="13"/>
  385.         </Anchors>
  386.         <Scripts>
  387.           <OnClick function="SelectionFrameCancelButton_OnClick"/>
  388.         </Scripts>
  389.       </Button>
  390.       <Button parentKey="OkayButton" inherits="UIPanelButtonNoTooltipTemplate" text="OKAY">
  391.         <Size x="78" y="22"/>
  392.         <Anchors>
  393.           <Anchor point="RIGHT" relativeKey="$parent.CancelButton" relativePoint="LEFT" x="-2" y="0"/>
  394.         </Anchors>
  395.         <Scripts>
  396.           <OnClick function="SelectionFrameOkayButton_OnClick"/>
  397.         </Scripts>
  398.       </Button>
  399.     </Frames>
  400.   </Frame>
  401.  
  402.   <!--
  403.   *******************************************************************************
  404.      Secure Frame border elements
  405.     This cannot be themed, would be ideal if it could leverage code, but since it's
  406.     used in forbidden/protected/restricted frames, the entire theme for the
  407.     standard dialog is just manually written here, keep this up to date
  408.     with other script using the dialog border.
  409.   *******************************************************************************
  410.   -->
  411.   <Frame name="SecureDialogBorderNoCenterTemplate" frameLevel="500" setAllPoints="true" useParentLevel="true" virtual="true">
  412.     <Layers>
  413.       <Layer level="BACKGROUND">
  414.         <Texture parentKey="TopLeftCorner" atlas="UI-Frame-DiamondMetal-CornerTopLeft" useAtlasSize="true">
  415.           <Anchors>
  416.             <Anchor point="TOPLEFT"/>
  417.           </Anchors>
  418.         </Texture>
  419.         <Texture parentKey="TopRightCorner" atlas="UI-Frame-DiamondMetal-CornerTopRight" useAtlasSize="true">
  420.           <Anchors>
  421.             <Anchor point="TOPRIGHT"/>
  422.           </Anchors>
  423.         </Texture>
  424.         <Texture parentKey="BottomLeftCorner" atlas="UI-Frame-DiamondMetal-CornerBottomLeft" useAtlasSize="true">
  425.           <Anchors>
  426.             <Anchor point="BOTTOMLEFT"/>
  427.           </Anchors>
  428.         </Texture>
  429.         <Texture parentKey="BottomRightCorner" atlas="UI-Frame-DiamondMetal-CornerBottomRight" useAtlasSize="true">
  430.           <Anchors>
  431.             <Anchor point="BOTTOMRIGHT"/>
  432.           </Anchors>
  433.         </Texture>
  434.         <Texture parentKey="TopEdge" atlas="_UI-Frame-DiamondMetal-EdgeTop" useAtlasSize="true" horizTile="true">
  435.           <Anchors>
  436.             <Anchor point="TOPLEFT" relativeKey="$parent.TopLeftCorner" relativePoint="TOPRIGHT"/>
  437.             <Anchor point="TOPRIGHT" relativeKey="$parent.TopRightCorner" relativePoint="TOPLEFT"/>
  438.           </Anchors>
  439.         </Texture>
  440.         <Texture parentKey="BottomEdge" atlas="_UI-Frame-DiamondMetal-EdgeBottom" useAtlasSize="true" horizTile="true">
  441.           <Anchors>
  442.             <Anchor point="BOTTOMLEFT" relativeKey="$parent.BottomLeftCorner" relativePoint="BOTTOMRIGHT"/>
  443.             <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomRightCorner" relativePoint="BOTTOMLEFT"/>
  444.           </Anchors>
  445.         </Texture>
  446.         <Texture parentKey="LeftEdge" atlas="!UI-Frame-DiamondMetal-EdgeLeft" useAtlasSize="true" vertTile="true">
  447.           <Anchors>
  448.             <Anchor point="TOPLEFT" relativeKey="$parent.TopLeftCorner" relativePoint="BOTTOMLEFT"/>
  449.             <Anchor point="BOTTOMLEFT" relativeKey="$parent.BottomLeftCorner" relativePoint="TOPLEFT"/>
  450.           </Anchors>
  451.         </Texture>
  452.         <Texture parentKey="RightEdge" atlas="!UI-Frame-DiamondMetal-EdgeRight" useAtlasSize="true" vertTile="true">
  453.           <Anchors>
  454.             <Anchor point="TOPRIGHT" relativeKey="$parent.TopRightCorner" relativePoint="BOTTOMRIGHT"/>
  455.             <Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomRightCorner" relativePoint="TOPRIGHT"/>
  456.           </Anchors>
  457.         </Texture>
  458.       </Layer>
  459.     </Layers>
  460.   </Frame>
  461.  
  462.   <Frame name="SecureDialogBorderTemplate" inherits="SecureDialogBorderNoCenterTemplate" virtual="true">
  463.     <Layers>
  464.       <Layer level="BACKGROUND" textureSubLevel="-5">
  465.         <!-- TODO: Convert this to atlas -->
  466.         <Texture parentKey="Bg" file="Interface\DialogFrame\UI-DialogBox-Background" horizTile="true" vertTile="true">
  467.           <Anchors>
  468.             <Anchor point="TOPLEFT" x="7" y="-7"/>
  469.             <Anchor point="BOTTOMRIGHT" x="-7" y="7"/>
  470.           </Anchors>
  471.         </Texture>
  472.       </Layer>
  473.     </Layers>
  474.   </Frame>
  475.  
  476.   <Frame name="SecureDialogBorderDarkTemplate" inherits="SecureDialogBorderNoCenterTemplate" virtual="true">
  477.     <Layers>
  478.       <Layer level="BACKGROUND" textureSubLevel="-5">
  479.         <!-- TODO: Convert this to atlas -->
  480.         <Texture parentKey="Bg" file="Interface\DialogFrame\UI-DialogBox-Background-Dark" horizTile="true" vertTile="true">
  481.           <Anchors>
  482.             <Anchor point="TOPLEFT" x="7" y="-7"/>
  483.             <Anchor point="BOTTOMRIGHT" x="-7" y="7"/>
  484.           </Anchors>
  485.         </Texture>
  486.       </Layer>
  487.     </Layers>
  488.   </Frame>
  489.  
  490.   <Frame name="SecureDialogBorderOpaqueTemplate" inherits="SecureDialogBorderNoCenterTemplate" virtual="true">
  491.     <Layers>
  492.       <Layer level="BACKGROUND" textureSubLevel="-5">
  493.         <Texture parentKey="Bg">
  494.           <Anchors>
  495.             <Anchor point="TOPLEFT" x="7" y="-7"/>
  496.             <Anchor point="BOTTOMRIGHT" x="-7" y="7"/>
  497.           </Anchors>
  498.           <Color r="0" g="0" b="0" a="1"/>
  499.         </Texture>
  500.       </Layer>
  501.     </Layers>
  502.   </Frame>
  503.  
  504.  
  505. </Ui>