Advertisement
j311yf1sh

Auctionator.xml

Mar 27th, 2013
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 59.16 KB | None | 0 0
  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.  
  3.  
  4.    <!-- Frame to handle all core events -->
  5.    <Frame name="Atr_core">
  6.       <Scripts>
  7.          <OnLoad>
  8.             Atr_RegisterEvents(self);
  9.  
  10.             self.TimeSinceLastUpdate = 0;
  11.          </OnLoad>
  12.         <OnUpdate>
  13.             Atr_OnUpdate(self, elapsed);
  14.         </OnUpdate>
  15.          <OnEvent>
  16.             Atr_EventHandler(self, event, ...);
  17.          </OnEvent>
  18.       </Scripts>
  19.    </Frame>
  20.  
  21.     <Button name="Atr_SmallButtonTemplate" inherits="UIPanelButtonTemplate" virtual="true">
  22.         <NormalFont style="GameFontNormalSmall"/>
  23.         <HighlightFont style="GameFontHighlightSmall"/>
  24.         <DisabledFont style="GameFontDisableSmall"/>
  25.     </Button>
  26.  
  27.  
  28.     <Frame name="Atr_Error_Frame" toplevel="true" parent="UIParent" enableMouse="true" frameStrata="FULLSCREEN_DIALOG" hidden="true">
  29.         <Size><AbsDimension x="340" y="160" /></Size>
  30.         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="290" y="-190"/></Offset></Anchor></Anchors>
  31.  
  32.         <Backdrop bgFile="Interface\MERCHANTFRAME\UI-BuyBack-TopLeft" edgeFile="Interface\DialogFrame\UI-DialogBox-Border">
  33.             <BackgroundInsets><AbsInset left="2" right="0" top="2" bottom="2"/></BackgroundInsets>
  34.             <TileSize><AbsValue val="256"/></TileSize>
  35.             <EdgeSize><AbsValue val="32"/></EdgeSize>
  36.         </Backdrop>
  37.  
  38.         <Scripts>
  39.             <OnLoad>
  40.                 self:SetBackdropColor(0.3, 0.3, 0.7);
  41.             </OnLoad>
  42.             <OnShow>
  43.                 if (self.withMask) then
  44.                     Atr_Mask:Show();
  45.                 end
  46.             </OnShow>
  47.             <OnHide>
  48.                 if (self.withMask) then
  49.                     Atr_Mask:Hide();
  50.                     self.withMask = nil;
  51.                 end
  52.             </OnHide>
  53.         </Scripts>
  54.  
  55.         <Layers>
  56.             <Layer level="BACKGROUND">
  57.                 <FontString inherits="GameFontNormal" name="Atr_Error_Text">
  58.                     <Anchors><Anchor point="CENTER"><Offset><AbsDimension y="20"/></Offset></Anchor></Anchors>
  59.                 </FontString>
  60.             </Layer>
  61.         </Layers>
  62.  
  63.         <Frames>
  64.             <Button inherits="UIPanelButtonTemplate" text="OKAY">
  65.                 <Size><AbsDimension x="60" y="22"/></Size>
  66.                 <Anchors><Anchor point="BOTTOM"><Offset><AbsDimension  y="20"/></Offset></Anchor></Anchors>
  67.                 <Scripts><OnClick>Atr_Error_Frame:Hide();</OnClick></Scripts>
  68.             </Button>
  69.         </Frames>
  70.  
  71.     </Frame>
  72.  
  73.  
  74.     <Frame name="Atr_LUA_Error" inherits="UIPanelDialogTemplate" toplevel="true" enableMouse="true" hidden="true">
  75.         <Size x="500" y="340"/>
  76.         <Anchors><Anchor point="CENTER"/></Anchors>
  77.  
  78.         <Scripts>
  79.             <OnShow>
  80.             </OnShow>
  81.         </Scripts>
  82.  
  83.         <Layers>
  84.             <Layer level="BACKGROUND">
  85.                 <FontString inherits="GameFontNormal" text="Auctionator">
  86.                     <Anchors><Anchor point="TOP"><Offset y="-10"/></Anchor></Anchors>
  87.                 </FontString>
  88.                 <FontString name="Atr_LUA_explanation" inherits="GameFontNormalSmall">
  89.                     <Size x="460" y="110"/>
  90.                     <Anchors><Anchor point="TOPLEFT"><Offset x="20" y="-30"/></Anchor></Anchors>
  91.                 </FontString>
  92.                 <FontString name="Atr_LUA_CntrlC" inherits="GameFontNormalSmall" text="Type control-C to copy to your clipboard" justifyH="LEFT" hidden="true">
  93.                     <Size x="460" y="20"/>
  94.                     <Anchors><Anchor point="BOTTOMLEFT"><Offset x="30" y="25"/></Anchor></Anchors>
  95.                 </FontString>
  96.             </Layer>
  97.         </Layers>
  98.  
  99.         <Frames>
  100.  
  101.             <ScrollFrame name="$parentScrollFrame" inherits="UIPanelScrollFrameTemplate">
  102.                 <Size x="430" y="145" />
  103.                 <Anchors><Anchor point="TOPLEFT"><Offset x="30" y="-150"/></Anchor></Anchors>
  104.                 <ScrollChild>
  105.                     <EditBox name="Atr_LUA_ErrorMsg" multiLine="true" letters="10000" autoFocus="false">
  106.                         <Size x="430" y="145" />
  107.                         <Scripts>
  108.                             <OnCursorChanged function="ScrollingEdit_OnCursorChanged"/>
  109.                             <OnUpdate>
  110.                                 ScrollingEdit_OnUpdate(self, elapsed, self:GetParent());
  111.                             </OnUpdate>
  112.                             <OnEditFocusGained>
  113.                                 self:HighlightText(0);
  114.                             </OnEditFocusGained>
  115.                             <OnEscapePressed function="EditBox_ClearFocus"/>
  116.                         </Scripts>
  117.                         <FontString inherits="GameFontHighlightSmall"/>
  118.                     </EditBox>
  119.                 </ScrollChild>
  120.             </ScrollFrame>
  121.  
  122.  
  123.             <Button inherits="UIPanelButtonTemplate" text="OKAY">
  124.                 <Size x="60" y="22"/>
  125.                 <Anchors><Anchor point="BOTTOMRIGHT"><Offset x="-20" y="20"/></Anchor></Anchors>
  126.                 <Scripts><OnClick>Atr_LUA_Error:Hide()</OnClick></Scripts>
  127.             </Button>
  128.  
  129.             <Button inherits="UIPanelButtonTemplate" text="Select All">
  130.                 <Size><AbsDimension x="100" y="22"/></Size>
  131.                 <Anchors><Anchor point="BOTTOMRIGHT"><Offset x="-90" y="20"/></Anchor></Anchors>
  132.                 <Scripts>
  133.                     <OnClick>
  134.                         Atr_LUA_ErrorMsg:HighlightText()
  135.                         Atr_LUA_ErrorMsg:SetFocus()
  136.  
  137.                         Atr_LUA_CntrlC:Show()
  138.                     </OnClick>
  139.                 </Scripts>
  140.             </Button>
  141.         </Frames>
  142.  
  143.     </Frame>
  144.  
  145.  
  146.  
  147.     <Frame name="Atr_Confirm_Frame" toplevel="true" parent="UIParent" enableMouse="true" frameStrata="DIALOG" hidden="true">
  148.         <Size><AbsDimension x="300" y="150" /></Size>
  149.         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="290" y="-190"/></Offset></Anchor></Anchors>
  150.  
  151.         <Backdrop bgFile="Interface\MERCHANTFRAME\UI-BuyBack-TopLeft" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  152.             <BackgroundInsets><AbsInset left="2" right="0" top="2" bottom="2"/></BackgroundInsets>
  153.             <TileSize><AbsValue val="256"/></TileSize>
  154.             <EdgeSize><AbsValue val="32"/></EdgeSize>
  155.         </Backdrop>
  156.  
  157.         <Scripts>
  158.             <OnLoad>
  159.                 self:SetBackdropColor(0.3, 0.3, 0.7);
  160.             </OnLoad>
  161.             <OnShow>
  162.                 if (AuctionFrame and AuctionFrame:IsShown()) then Atr_Mask:Show(); end
  163.             </OnShow>
  164.             <OnHide>
  165.                 Atr_Mask:Hide();
  166.             </OnHide>
  167.         </Scripts>
  168.  
  169.         <Layers>
  170.             <Layer level="BACKGROUND">
  171.                 <FontString inherits="GameFontNormal" name="Atr_Confirm_Text" spacing="3">
  172.                     <Anchors><Anchor point="CENTER"><Offset><AbsDimension y="20"/></Offset></Anchor></Anchors>
  173.                 </FontString>
  174.             </Layer>
  175.         </Layers>
  176.  
  177.         <Frames>
  178.             <Button name="Atr_Confirm_Cancel" inherits="UIPanelButtonTemplate" text="CANCEL">
  179.                 <Size><AbsDimension x="60" y="22"/></Size>
  180.                 <Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-30" y="20"/></Offset></Anchor></Anchors>
  181.                 <Scripts><OnClick>Atr_Confirm_No();</OnClick></Scripts>
  182.             </Button>
  183.             <Button inherits="UIPanelButtonTemplate" text="OKAY">
  184.                 <Size><AbsDimension x="60" y="22"/></Size>
  185.                 <Anchors><Anchor point="RIGHT" relativeTo="Atr_Confirm_Cancel" relativePoint="LEFT"><Offset><AbsDimension x="-10"/></Offset></Anchor></Anchors>
  186.                 <Scripts><OnClick>Atr_Confirm_Yes();</OnClick></Scripts>
  187.             </Button>
  188.         </Frames>
  189.  
  190.     </Frame>
  191.  
  192.    <!-- The clickable column heading template -->
  193.  
  194.     <Button name="Atr_Col_Heading_Template" virtual="true">
  195.         <ButtonText name="$parentText">
  196.             <Anchors>
  197.                 <Anchor point="LEFT">
  198.                     <Offset><AbsDimension x="8" y="0"/></Offset>
  199.                 </Anchor>
  200.             </Anchors>
  201.         </ButtonText>
  202.         <NormalFont style="GameFontHighlightSmall"/>
  203.         <NormalTexture name="$parentArrow" file="Interface\Buttons\UI-SortArrow">
  204.             <Size><AbsDimension x="9" y="8"/></Size>
  205.             <Anchors>
  206.                 <Anchor point="LEFT" relativeTo="$parentText" relativePoint="RIGHT">
  207.                     <Offset><AbsDimension x="3" y="-1"/></Offset>
  208.                 </Anchor>
  209.             </Anchors>
  210.             <TexCoords left="0" right="0.5625" top="0" bottom="1.0"/>
  211.         </NormalTexture>
  212.         <HighlightTexture file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
  213.             <Size><AbsDimension x="5" y="24"/></Size>
  214.             <Anchors>
  215.                 <Anchor point="LEFT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor>
  216.                 <Anchor point="RIGHT"><Offset><AbsDimension x="4" y="0"/></Offset></Anchor>
  217.             </Anchors>
  218.         </HighlightTexture>
  219.     </Button>
  220.  
  221.    <!-- The Standard Auctionator Dialog template -->
  222.  
  223.     <Frame name="AuctionatorDialog" virtual="true">
  224.  
  225.         <Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  226.             <BackgroundInsets><AbsInset left="11" right="12" top="12" bottom="11"/></BackgroundInsets>
  227.             <TileSize><AbsValue val="32"/></TileSize>
  228.             <EdgeSize><AbsValue val="32"/></EdgeSize>
  229.         </Backdrop>
  230.  
  231.         <Scripts>
  232.             <OnShow>
  233.                 if (AuctionFrame and AuctionFrame:IsShown()) then Atr_Mask:Show(); end;
  234.             </OnShow>
  235.             <OnHide>
  236.                 if (AuctionFrame and AuctionFrame:IsShown()) then Atr_Mask:Hide(); end;
  237.             </OnHide>
  238.         </Scripts>
  239.  
  240.     </Frame>
  241.  
  242.  
  243.  
  244.     <Font name="NumberFontNormalRightATRblue" inherits="NumberFontNormalRight" virtual="true" >
  245.         <Color r="0.7" g="0.7" b="1.0"/>
  246.     </Font>
  247.  
  248.     <Font name="AtrFontOrange" inherits="SystemFont_Shadow_Small" virtual="true">
  249.         <Color r="1" g="0.5" b="0.25"/>
  250.     </Font>
  251.  
  252.     <Frame name="Atr_Mask" toplevel="true" parent="UIParent" enableMouse="true" hidden="true">
  253.         <Size><AbsDimension x="820" y="450" /></Size>
  254.         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="26" y="-129"/></Offset></Anchor></Anchors>
  255.  
  256.         <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" tile="true">
  257.             <TileSize><AbsValue val="16"/></TileSize>
  258.         </Backdrop>
  259.  
  260.         <Scripts>
  261.             <OnLoad>
  262.                 self:SetBackdropColor(0.2, 0.2, 0.2);
  263.             </OnLoad>
  264.         </Scripts>
  265.     </Frame>
  266.  
  267.  
  268.     <Button name="AuctionatorEntryTemplate" virtual="true" hidden="true">
  269.         <Size><AbsDimension x="584" y="16" /></Size>
  270.         <Frames>
  271.             <Frame>
  272.                 <Size><AbsDimension x="120" y="16" /></Size>
  273.                 <Anchors><Anchor point="LEFT"><Offset><AbsDimension x="22" y="0"/></Offset></Anchor></Anchors>
  274.                 <Layers>
  275.                     <Layer level="BACKGROUND">
  276.                         <FontString name="$parent_PerItem_Text" inherits="GameFontDarkGraySmall" justifyH="RIGHT">
  277.                             <Anchors><Anchor point="RIGHT"><Offset><AbsDimension y="1" x="-16"/></Offset></Anchor></Anchors>
  278.                         </FontString>
  279.                     </Layer>
  280.                 </Layers>
  281.                 <Frames>
  282.                     <Frame name="$parent_PerItem_Price" inherits="SmallMoneyFrameTemplate">
  283.                         <Anchors><Anchor point="RIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
  284.                         <Scripts>
  285.                             <OnLoad>
  286.                                 SmallMoneyFrame_OnLoad(self);
  287.                                 MoneyFrame_SetType(self, "AUCTION");
  288.                             </OnLoad>
  289.                         </Scripts>
  290.                     </Frame>
  291.                 </Frames>
  292.             </Frame>
  293.  
  294.             <Frame>
  295.                 <Size><AbsDimension x="240" y="16" /></Size>
  296.                 <Anchors><Anchor point="LEFT"><Offset><AbsDimension x="167" y="0"/></Offset></Anchor></Anchors>
  297.                 <Layers>
  298.                     <Layer level="BACKGROUND">
  299.                         <FontString name="$parent_EntryText" inherits="GameFontHighlightSmall" justifyH="LEFT"/>
  300.                     </Layer>
  301.                 </Layers>
  302.             </Frame>
  303.  
  304.  
  305.             <Frame>
  306.                 <Size><AbsDimension x="120" y="16" /></Size>
  307.                 <Anchors><Anchor point="LEFT"><Offset><AbsDimension x="440" y="0"/></Offset></Anchor></Anchors>
  308.                 <Layers>
  309.                     <Layer level="BACKGROUND">
  310.                         <FontString name="$parent_StackPrice" inherits="GameFontHighlightSmall" justifyH="RIGHT"/>
  311.                     </Layer>
  312.                 </Layers>
  313.             </Frame>
  314.  
  315.         </Frames>
  316.  
  317.         <PushedTexture file="Interface\HelpFrame\HelpFrameButton-Highlight">
  318.             <TexCoords left="0.25" right="0.35" top="0.0" bottom="0.6"/>
  319.         </PushedTexture>
  320.         <HighlightTexture file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD">
  321.             <TexCoords left="0.035" right="0.04" top="0.2" bottom="0.25"/>
  322.         </HighlightTexture>
  323.         <Scripts>
  324.             <OnClick>   Atr_EntryOnClick(self);     </OnClick>
  325.             <OnEnter>   Atr_ShowLineTooltip(self)   </OnEnter>
  326.             <OnLeave>   Atr_HideLineTooltip()       </OnLeave>
  327.         </Scripts>
  328.     </Button>
  329.  
  330.  
  331.     <Button name="Atr_HEntryTemplate" virtual="true" hidden="true">
  332.         <Size><AbsDimension x="174" y="16" /></Size>
  333.         <Layers>
  334.             <Layer level="BACKGROUND">
  335.                 <FontString name="$parent_EntryText" inherits="GameFontHighlightSmall" justifyH="LEFT">
  336.                     <Size><AbsDimension x="174" y="16" /></Size>
  337.                     <Anchors><Anchor point="LEFT"><Offset><AbsDimension x="2"/></Offset></Anchor></Anchors>
  338.                 </FontString>
  339.             </Layer>
  340.         </Layers>
  341.  
  342.         <PushedTexture file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD">
  343.             <TexCoords left="0.15" right="0.25" top="0.0" bottom="0.6"/>
  344.         </PushedTexture>
  345.         <HighlightTexture file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD">
  346.             <TexCoords left="0.05" right="0.07" top="0.1" bottom="0.5"/>
  347.         </HighlightTexture>
  348.         <Scripts>
  349.             <OnClick>
  350.                 Atr_HEntryOnClick(self);
  351.             </OnClick>
  352.         </Scripts>
  353.     </Button>
  354.  
  355.  
  356.  
  357.     <Frame name="Atr_Sell_Template" virtual="true">
  358.         <Size>
  359.             <AbsDimension x="548" y="447"/>
  360.         </Size>
  361.         <Anchors>
  362.             <Anchor point="TOPLEFT">
  363.                 <Offset>
  364.                     <AbsDimension x="210" y="0"/>
  365.                 </Offset>
  366.             </Anchor>
  367.         </Anchors>
  368.  
  369.         <Layers>
  370.             <Layer level="BACKGROUND">
  371.                 <FontString name="AuctionatorTitle" inherits="GameFontNormal">
  372.                     <Anchors><Anchor point="TOP" x="-100" y="-18"/></Anchors>
  373.                 </FontString>
  374.  
  375.                 <FontString name="Atr_ActiveItems_Text" inherits="GameFontHighlightSmall" text="Active Items" justifyH="CENTER">
  376.                     <Size x="300"/>
  377.                     <Anchors><Anchor point="TOP" x="-360" y="-57"/></Anchors>
  378.                 </FontString>
  379.  
  380.                 <FontString name="AuctionatorMessageFrame" inherits="GameFontNormal">
  381.                     <Anchors><Anchor point="TOP"><Offset><AbsDimension x="8" y="-100"/></Offset></Anchor></Anchors>
  382.                 </FontString>
  383.  
  384.                 <FontString name="AuctionatorMessage2Frame" inherits="GameFontNormalLeftOrange" justifyH="CENTER" justifyV="MIDDLE">
  385.                     <Size><AbsDimension y="100"/></Size>
  386.                     <Anchors><Anchor point="TOP"><Offset><AbsDimension x="8" y="-90"/></Offset></Anchor></Anchors>
  387.                     <Font>
  388.                         <Color r="0.1" g="1.0" b="0.1"/>
  389.                     </Font>
  390.                 </FontString>
  391.  
  392.                 <FontString name="Atr_Recommend_Text" inherits="GameFontNormal" text="Recommended buyout price">
  393.                     <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="77" y="-98"/></Offset></Anchor></Anchors>
  394.                 </FontString>
  395.  
  396.                 <FontString name="Atr_Recommend_Basis_Text" inherits="GameFontHighlightSmall" text="based on">
  397.                     <Anchors><Anchor point="LEFT" relativePoint="RIGHT" relativeTo="Atr_Recommend_Text"><Offset><AbsDimension x="20" y="-2"/></Offset></Anchor></Anchors>
  398.                 </FontString>
  399.  
  400.                 <FontString name="Atr_RecommendPerStack_Text" inherits="GameFontHighlightSmall" text="per stack">
  401.                     <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_Recommend_Text"><Offset><AbsDimension x="152" y="-28"/></Offset></Anchor></Anchors>
  402.                 </FontString>
  403.  
  404.                 <FontString name="Atr_RecommendPerItem_Text" inherits="GameFontHighlightSmall" text="per item">
  405.                     <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_Recommend_Text"><Offset><AbsDimension x="152" y="-51"/></Offset></Anchor></Anchors>
  406.                 </FontString>
  407.             </Layer>
  408.  
  409.         </Layers>
  410.  
  411.  
  412.  
  413.         <Frames>
  414.  
  415.  
  416.             <Frame name="Atr_DropDownSL" inherits="UIDropDownMenuTemplate">
  417.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-190" y="-49"/></Offset></Anchor></Anchors>
  418.                 <Scripts>
  419.                     <!-- no OnLoad as it can cause taint for long menus -->
  420.                     <OnShow function="Atr_DropDownSL_OnShow"/>
  421.                 </Scripts>
  422.             </Frame>
  423.  
  424.             <Button name="Atr_CheckActiveButton" inherits="Atr_SmallButtonTemplate" text="Check for Undercuts">
  425.                 <Size><AbsDimension x="165" y="20"/>    </Size>
  426.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-195" y="-413"/></Offset></Anchor></Anchors>
  427.                 <Scripts>
  428.                     <OnClick>Atr_CheckActive_OnClick(false);</OnClick>
  429.                 </Scripts>
  430.             </Button>
  431.  
  432.  
  433.             <EditBox name="Atr_Search_Box" autoFocus="false" inherits="InputBoxTemplate">
  434.                 <Size><AbsDimension x="260" y="20"/></Size>
  435.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="20" y="-45"/></Offset></Anchor></Anchors>
  436.                 <FontString inherits="ChatFontNormal" bytes="64"/>
  437.  
  438.                 <Scripts>
  439.                     <OnEnterPressed>
  440.                         Atr_Search_Onclick();
  441.                         self:ClearFocus();
  442.                     </OnEnterPressed>
  443.                     <OnCharComposition>
  444.                         Atr_Item_Autocomplete(self);
  445.                     </OnCharComposition>
  446.                     <OnChar>
  447.                         if ( not self:IsInIMECompositionMode() ) then
  448.                             Atr_Item_Autocomplete(self);
  449.                         end
  450.                     </OnChar>
  451.                     <OnEscapePressed>
  452.                         self:ClearFocus();
  453.                     </OnEscapePressed>
  454.                     <OnShow>
  455.                         self:SetFocus();
  456.                     </OnShow>
  457.                 </Scripts>
  458.  
  459.             </EditBox>
  460.  
  461.             <Button name="Atr_Search_Button" text="Search" inherits="UIPanelButtonTemplate" >
  462.                 <Size><AbsDimension x="80" y="22"/> </Size>
  463.                 <Anchors>
  464.                     <Anchor point="LEFT" relativeTo="Atr_Search_Box" relativePoint="RIGHT">
  465.                         <Offset><AbsDimension x="15" y="0"/></Offset>
  466.                     </Anchor>
  467.                 </Anchors>
  468.                 <Scripts>
  469.                     <OnClick>
  470.                         Atr_Search_Onclick();
  471.                     </OnClick>
  472.                 </Scripts>
  473.             </Button>
  474.  
  475.             <Button name="Atr_Adv_Search_Button" text="+" inherits="UIPanelButtonTemplate" >
  476.                 <Size><AbsDimension x="24" y="18"/> </Size>
  477.                 <Anchors>
  478.                     <Anchor point="LEFT" relativeTo="Atr_Search_Button" relativePoint="RIGHT">
  479.                         <Offset><AbsDimension x="4" y="0"/></Offset>
  480.                     </Anchor>
  481.                 </Anchors>
  482.                 <Scripts>
  483.                     <OnClick>
  484.                         Atr_Adv_Search_Onclick();
  485.                     </OnClick>
  486.                 </Scripts>
  487.             </Button>
  488.  
  489.             <Button name="Auctionator1Button" inherits="Atr_SmallButtonTemplate" text="Options">
  490.                 <Size><AbsDimension x="70" y="18"/> </Size>
  491.                 <Anchors><Anchor point="LEFT" relativeTo="Atr_Search_Button" relativePoint="RIGHT"><Offset><AbsDimension x="165" y="0"/></Offset></Anchor></Anchors>
  492.                 <Scripts>
  493.                     <OnClick>
  494.                         InterfaceOptionsFrame_OpenToCategory ("Auctionator");
  495.                     </OnClick>
  496.                 </Scripts>
  497.             </Button>
  498.  
  499.             <Button name="Atr_FullScanButton" inherits="Atr_SmallButtonTemplate" text="Full Scan...">
  500.                 <Size><AbsDimension x="74" y="18"/> </Size>
  501.                 <Anchors><Anchor point="RIGHT" relativeTo="Auctionator1Button" relativePoint="LEFT"><Offset><AbsDimension x="-2" y="0"/></Offset></Anchor></Anchors>
  502.                 <Scripts>
  503.                     <OnClick>Atr_ShowFullScanFrame();</OnClick>
  504.                 </Scripts>
  505.             </Button>
  506.  
  507.  
  508.             <ScrollFrame name="Atr_Hlist_ScrollFrame" inherits="FauxScrollFrameTemplate" hidden="true">
  509.                 <Size><AbsDimension x="170" y="335"/></Size>
  510.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-193" y="-75"/></Offset></Anchor></Anchors>
  511.                 <Scripts>
  512.                     <OnVerticalScroll>
  513.                         FauxScrollFrame_OnVerticalScroll(self, offset, 16, Atr_DisplayHlist);
  514.                     </OnVerticalScroll>
  515.                 </Scripts>
  516.             </ScrollFrame>
  517.  
  518.             <Frame name="Atr_Hlist" hidden="true">
  519.                 <Size><AbsDimension x="170" y="335"/></Size>
  520.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-193" y="-75"/></Offset></Anchor></Anchors>
  521.                 <Backdrop bgFile="Interface\CharacterFrame\UI-Party-Background" tile="true">
  522.                     <BackgroundInsets><AbsInset left="0" right="-24" top="0" bottom="0"/></BackgroundInsets>
  523.                     <TileSize><AbsValue val="256"/></TileSize>
  524.                 </Backdrop>
  525.                 <Layers>
  526.                     <Layer level="ARTWORK">
  527.                         <Texture file="Interface\Tooltips\UI-Tooltip-Border">
  528.                             <Size><AbsDimension x="5"/></Size>
  529.                             <Anchors>
  530.                                 <Anchor point="TOPLEFT"><Offset><AbsDimension x="174" y="0"/></Offset></Anchor>
  531.                                 <Anchor point="BOTTOM"><Offset><AbsDimension y="0"/></Offset></Anchor>
  532.                             </Anchors>
  533.                             <TexCoords left="0.15" right="0.25" top="0" bottom="1"/>
  534.                         </Texture>
  535.                     </Layer>
  536.                 </Layers>
  537.             </Frame>
  538.  
  539.             <Frame name="Atr_SellControls" hidden="true">
  540.                 <Size><AbsDimension x="170" y="335"/></Size>
  541.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-193" y="-75"/></Offset></Anchor></Anchors>
  542.                 <Layers>
  543.                     <Layer level="ARTWORK">
  544.  
  545.                         <FontString inherits="GameFontHighlightSmall" text="Sell">
  546.                             <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="93" y="18"/></Offset></Anchor></Anchors>
  547.                         </FontString>
  548.  
  549.                         <FontString name="Atr_StackPriceText" inherits="GameFontHighlightSmall" text="Buyout Price">
  550.                             <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-82"/></Offset></Anchor></Anchors>
  551.                         </FontString>
  552.  
  553.                         <FontString name="Atr_ItemPriceText" inherits="GameFontHighlightSmall" text="Item Price">
  554.                             <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-128"/></Offset></Anchor></Anchors>
  555.                         </FontString>
  556.  
  557.                         <FontString name="Atr_Batch_Stacksize_Text" inherits="GameFontNormal" text="stacks of" justifyH="CENTER">
  558.                             <Size><AbsDimension x="82" y="22"/></Size>
  559.                             <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="55" y="-208"/></Offset></Anchor></Anchors>
  560.                         </FontString>
  561.  
  562.                         <FontString name="Atr_Batch_MaxAuctions_Text" inherits="GameFontDarkGraySmall">
  563.                             <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_Batch_Stacksize_Text"><Offset><AbsDimension x="-34" y="-21"/></Offset></Anchor></Anchors>
  564.                         </FontString>
  565.  
  566.                         <FontString name="Atr_Batch_MaxStacksize_Text" inherits="GameFontDarkGraySmall">
  567.                             <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_Batch_Stacksize_Text"><Offset><AbsDimension x="79" y="-21"/></Offset></Anchor></Anchors>
  568.                         </FontString>
  569.  
  570.                         <FontString name="Atr_StartingPriceText" inherits="GameFontHighlightSmall" text="Starting Price" hidden="true">
  571.                             <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="13" y="-260"/></Offset></Anchor></Anchors>
  572.                         </FontString>
  573.  
  574.                         <FontString name="Atr_StartingPriceDiscountText" inherits="GameFontHighlightSmall" text="Starting Price">
  575.                             <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-270"/></Offset></Anchor></Anchors>
  576.                         </FontString>
  577.  
  578.                         <FontString name="Atr_Duration_Text" inherits="GameFontHighlightSmall" text="Duration">
  579.                             <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-304"/></Offset></Anchor></Anchors>
  580.                         </FontString>
  581.  
  582.                         <FontString name="Atr_Deposit_Text" inherits="GameFontHighlightSmall" text="">
  583.                             <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="10" y="-342"/></Offset></Anchor></Anchors>
  584.                         </FontString>
  585.  
  586.                     </Layer>
  587.                 </Layers>
  588.  
  589.                 <Frames>
  590.                     <Button name="$parent_Tex">
  591.                         <Size><AbsDimension x="37" y="37"/></Size>
  592.                         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="11" y="-23"/></Offset></Anchor></Anchors>
  593.                         <Layers>
  594.                             <Layer level="OVERLAY">
  595.                                 <FontString name="$parentName" inherits="GameFontNormal">
  596.                                     <Size><AbsDimension x="124" y="30"/></Size>
  597.                                     <Anchors><Anchor point="TOPLEFT" relativePoint="TOPRIGHT"><Offset><AbsDimension x="5" y="0"/></Offset></Anchor></Anchors>
  598.                                 </FontString>
  599.  
  600.                                 <FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
  601.                                     <Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-5" y="2"/></Offset></Anchor></Anchors>
  602.                                 </FontString>
  603.                             </Layer>
  604.                         </Layers>
  605.                         <Scripts>
  606.                             <OnLoad>
  607.                                 self:RegisterEvent("NEW_AUCTION_UPDATE");
  608.                                 self:RegisterForDrag("LeftButton");
  609.                             </OnLoad>
  610.                             <OnEvent function="Atr_SellItemButton_OnEvent"/>
  611.                             <OnClick function="Atr_SellItemButton_OnClick"/>
  612.                             <OnDragStart function="Atr_SellItemButton_OnClick"/>
  613.                             <OnReceiveDrag function="Atr_SellItemButton_OnClick"/>
  614.                         </Scripts>
  615.                         <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
  616.                     </Button>
  617.  
  618.                     <Frame name="Atr_StackPrice" inherits="MoneyInputFrameTemplate">
  619.                         <Anchors>
  620.                             <Anchor point="TOPLEFT" relativeTo="Atr_StackPriceText" relativePoint="BOTTOMLEFT">
  621.                                 <Offset><AbsDimension x="8" y="-2"/></Offset>
  622.                             </Anchor>
  623.                         </Anchors>
  624.                         <Scripts>
  625.                             <OnLoad>
  626.                                 MoneyInputFrame_SetOnValueChangedFunc(self, Atr_StackPriceChangedFunc);
  627.                                 Atr_StackPriceGold:SetJustifyH("CENTER");
  628.                             </OnLoad>
  629.                         </Scripts>
  630.                     </Frame>
  631.  
  632.                     <Frame name="Atr_ItemPrice" inherits="MoneyInputFrameTemplate">
  633.                         <Anchors>
  634.                             <Anchor point="TOPLEFT" relativeTo="Atr_ItemPriceText" relativePoint="BOTTOMLEFT">
  635.                                 <Offset><AbsDimension x="8" y="-2"/></Offset>
  636.                             </Anchor>
  637.                         </Anchors>
  638.                         <Scripts>
  639.                             <OnLoad>
  640.                                 MoneyInputFrame_SetOnValueChangedFunc(self, Atr_ItemPriceChangedFunc);
  641.                                 Atr_ItemPriceGold:SetJustifyH("CENTER");
  642.                             </OnLoad>
  643.                         </Scripts>
  644.                     </Frame>
  645.  
  646.                     <Frame name="Atr_StartingPrice" inherits="MoneyInputFrameTemplate" hidden="true">
  647.                         <Anchors>
  648.                             <Anchor point="TOPLEFT" relativeTo="Atr_StartingPriceText" relativePoint="BOTTOMLEFT">
  649.                                 <Offset><AbsDimension x="5" y="-2"/></Offset>
  650.                             </Anchor>
  651.                         </Anchors>
  652.                         <Scripts>
  653.                             <OnLoad>
  654.                                 Atr_StartingPriceGold:SetJustifyH("CENTER");
  655.                             </OnLoad>
  656.                         </Scripts>
  657.                     </Frame>
  658.  
  659.                     <EditBox name="Atr_Batch_NumAuctions" autoFocus="false" numeric="true" inherits="InputBoxTemplate">
  660.                         <Size><AbsDimension x="40" y="20"/></Size>
  661.                         <Anchors>
  662.                             <Anchor point="TOPLEFT" relativeTo="Atr_Batch_Stacksize_Text">
  663.                                 <Offset><AbsDimension x="-37" y="0"/></Offset>
  664.                             </Anchor>
  665.                         </Anchors>
  666.                         <FontString inherits="ChatFontNormal" bytes="64" justifyH="CENTER" />
  667.                         <Scripts>
  668.                             <OnTextChanged>     Atr_NumAuctionsChangedFunc()    </OnTextChanged>
  669.                             <OnTabPressed>  Atr_Batch_Stacksize:SetFocus()  </OnTabPressed>
  670.                         </Scripts>
  671.                     </EditBox>
  672.  
  673.  
  674.                     <EditBox name="Atr_Batch_Stacksize" autoFocus="false" numeric="true" inherits="InputBoxTemplate">
  675.                         <Size><AbsDimension x="40" y="20"/></Size>
  676.                         <Anchors>
  677.                             <Anchor point="TOPLEFT" relativeTo="Atr_Batch_Stacksize_Text">
  678.                                 <Offset><AbsDimension x="84" y="0"/></Offset>
  679.                             </Anchor>
  680.                         </Anchors>
  681.                         <FontString inherits="ChatFontNormal" bytes="64" justifyH="CENTER" />
  682.                         <Scripts>
  683.                             <OnTextChanged>     Atr_StackSizeChangedFunc()      </OnTextChanged>
  684.                             <OnTabPressed>      Atr_Batch_NumAuctions:SetFocus()    </OnTabPressed>
  685.                         </Scripts>
  686.                     </EditBox>
  687.  
  688.                     <Button name="Atr_CreateAuctionButton" inherits="UIPanelButtonTemplate"  text="Create Auction" disabled="true">
  689.                         <Size><AbsDimension x="185" y="30"/>    </Size>
  690.                         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="3" y="-170"/></Offset></Anchor></Anchors>
  691.                         <Scripts>
  692.                             <OnClick>
  693.                                 Atr_CreateAuction_OnClick();
  694.                             </OnClick>
  695.                         </Scripts>
  696.                     </Button>
  697.  
  698.                     <!-- modified code by j311yf1sh -->
  699.                     <Button name="Atr_SwitchSizeButton" inherits="UIPanelButtonTemplate"  text="Switch Sizes" disabled="false">
  700.                         <Size><AbsDimension x="150" y="20"/>    </Size>
  701.                         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-240"/></Offset></Anchor></Anchors>
  702.                         <Scripts>
  703.                             <OnClick>
  704.                                 Atr_SwitchSizeButton_OnClick();
  705.                             </OnClick>
  706.                         </Scripts>
  707.                     </Button>
  708.  
  709.                     <Frame name="Atr_Duration" inherits="UIDropDownMenuTemplate">
  710.                         <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_Duration_Text"><Offset><AbsDimension x="32" y="7"/></Offset></Anchor></Anchors>
  711.                         <Scripts>
  712.                             <OnLoad function="Atr_Duration_OnShow"/>
  713.                             <OnShow function="Atr_Duration_OnShow"/>
  714.                         </Scripts>
  715.                     </Frame>
  716.  
  717.  
  718.                 </Frames>
  719.             </Frame>
  720.  
  721.  
  722. <!--
  723.             <Button inherits="UIPanelButtonTemplate"  text="T1" disabled="true">
  724.                 <Size><AbsDimension x="30" y="20"/> </Size>
  725.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-5" y="-412"/></Offset></Anchor></Anchors>
  726.                 <Scripts>
  727.                     <OnClick>Atr_Test1()</OnClick>
  728.                 </Scripts>
  729.             </Button>
  730.  
  731.             <Button inherits="UIPanelButtonTemplate"  text="T2" disabled="true">
  732.                 <Size><AbsDimension x="30" y="20"/> </Size>
  733.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="25" y="-412"/></Offset></Anchor></Anchors>
  734.                 <Scripts>
  735.                     <OnClick>Atr_Test2()</OnClick>
  736.                 </Scripts>
  737.             </Button>
  738.  
  739.             <Button inherits="UIPanelButtonTemplate"  text="T3" disabled="true">
  740.                 <Size><AbsDimension x="30" y="20"/> </Size>
  741.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="55" y="-412"/></Offset></Anchor></Anchors>
  742.                 <Scripts>
  743.                     <OnClick>Atr_Test3()</OnClick>
  744.                 </Scripts>
  745.             </Button>
  746. -->
  747.  
  748.  
  749.             <Button name="Atr_RecommendItem_Tex">
  750.                 <Size><AbsDimension x="37" y="37"/></Size>
  751.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="24" y="-87"/></Offset></Anchor></Anchors>
  752.                 <Layers>
  753.                     <Layer level="OVERLAY">
  754.                         <FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true">
  755.                             <Anchors>
  756.                                 <Anchor point="BOTTOMRIGHT">
  757.                                     <Offset>
  758.                                         <AbsDimension x="-5" y="2"/>
  759.                                     </Offset>
  760.                                 </Anchor>
  761.                             </Anchors>
  762.                         </FontString>
  763.                     </Layer>
  764.                 </Layers>
  765.                 <Scripts>
  766.                     <OnEnter>Atr_ShowRecTooltip();</OnEnter>
  767.                     <OnLeave>Atr_HideRecTooltip();</OnLeave>
  768.                     <OnClick>Atr_ClickRecItemTexture()</OnClick>
  769.                 </Scripts>
  770.             </Button>
  771.  
  772.             <Button name="Atr_AddToSListButton" inherits="Atr_SmallButtonTemplate"  text="Add Item" disabled="true">
  773.                 <Size><AbsDimension x="97" y="20"/> </Size>
  774.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-195" y="-329"/></Offset></Anchor></Anchors>
  775.                 <Scripts>
  776.                     <OnClick>Atr_AddToSListOnClick();</OnClick>
  777.                 </Scripts>
  778.             </Button>
  779.  
  780.             <Button name="Atr_RemFromSListButton" inherits="Atr_SmallButtonTemplate"  text="Remove Item" disabled="true">
  781.                 <Size><AbsDimension x="101" y="20"/>    </Size>
  782.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-100" y="-329"/></Offset></Anchor></Anchors>
  783.                 <Scripts>
  784.                     <OnClick>Atr_RemFromSListOnClick();</OnClick>
  785.                 </Scripts>
  786.             </Button>
  787.  
  788.             <Button name="Atr_SrchSListButton" inherits="Atr_SmallButtonTemplate"  text="Search for All Items" disabled="true">
  789.                 <Size><AbsDimension x="195" y="20"/>    </Size>
  790.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-195" y="-349"/></Offset></Anchor></Anchors>
  791.                 <Scripts>
  792.                     <OnClick>Atr_SrchSList_OnClick();</OnClick>
  793.                 </Scripts>
  794.             </Button>
  795.  
  796.             <Button name="Atr_MngSListsButton" inherits="Atr_SmallButtonTemplate"  text="Manage Shopping Lists" disabled="true">
  797.                 <Size><AbsDimension x="195" y="20"/>    </Size>
  798.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-195" y="-369"/></Offset></Anchor></Anchors>
  799.                 <Scripts>
  800.                     <OnClick>Atr_MngSLists_OnClick();</OnClick>
  801.                 </Scripts>
  802.             </Button>
  803.  
  804.  
  805.             <Button name="Atr_NewSListButton" inherits="Atr_SmallButtonTemplate"  text="New Shopping List">
  806.                 <Size><AbsDimension x="195" y="20"/>    </Size>
  807.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="-195" y="-389"/></Offset></Anchor></Anchors>
  808.                 <Scripts>
  809.                     <OnClick>Atr_NewSlist_OnClick();</OnClick>
  810.                 </Scripts>
  811.             </Button>
  812.  
  813.  
  814.  
  815.             <Frame>
  816.                 <Size><AbsDimension x="120" y="20" /></Size>
  817.                 <Anchors>
  818.                     <Anchor point="TOPLEFT" relativeTo="Atr_Recommend_Text">
  819.                         <Offset><AbsDimension x="32" y="-24"/></Offset>
  820.                     </Anchor>
  821.                 </Anchors>
  822.                 <Frames>
  823.                     <Frame name="Atr_RecommendPerStack_Price" inherits="SmallMoneyFrameTemplate">
  824.                         <Size><AbsDimension x="120" y="16" /></Size>
  825.                         <Anchors><Anchor point="RIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
  826.                         <Scripts><OnLoad>AuctionatorMoneyFrame_OnLoad(self);</OnLoad></Scripts>
  827.                     </Frame>
  828.                 </Frames>
  829.             </Frame>
  830.  
  831.             <Frame>
  832.                 <Size><AbsDimension x="120" y="20" /></Size>
  833.                 <Anchors>
  834.                     <Anchor point="TOPLEFT" relativeTo="Atr_Recommend_Text">
  835.                         <Offset><AbsDimension x="32" y="-46"/></Offset>
  836.                     </Anchor>
  837.                 </Anchors>
  838.                 <Frames>
  839.                     <Frame name="Atr_RecommendPerItem_Price" inherits="SmallMoneyFrameTemplate">
  840.                         <Size><AbsDimension x="120" y="16" /></Size>
  841.                         <Anchors><Anchor point="RIGHT"><Offset><AbsDimension x="0" y="0"/></Offset></Anchor></Anchors>
  842.                         <Scripts><OnLoad>AuctionatorMoneyFrame_OnLoad(self);</OnLoad></Scripts>
  843.                     </Frame>
  844.                 </Frames>
  845.             </Frame>
  846.  
  847.  
  848.  
  849.             <Button name="AuctionatorCloseButton" inherits="UIPanelButtonTemplate" text="CLOSE">
  850.                 <Size><AbsDimension x="80" y="22"/></Size>
  851.                 <Anchors><Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"><Offset><AbsDimension x="66" y="14"/></Offset></Anchor></Anchors>
  852.                 <Scripts>
  853.                     <OnClick>HideUIPanel(self:GetParent():GetParent());</OnClick>
  854.                 </Scripts>
  855.             </Button>
  856.  
  857.             <Button name="Atr_CancelSelectionButton" inherits="Atr_SmallButtonTemplate"  text="Cancel Auctions">
  858.                 <Size><AbsDimension x="113" y="22"/>    </Size>
  859.                 <Anchors><Anchor point="RIGHT" relativeTo="AuctionatorCloseButton" relativePoint="LEFT"><Offset><AbsDimension x="2" y="0"/></Offset></Anchor></Anchors>
  860.                 <Scripts>
  861.                     <OnClick>
  862.                         Atr_CancelSelection_OnClick();
  863.                     </OnClick>
  864.                 </Scripts>
  865.             </Button>
  866.  
  867.             <Button name="Atr_Buy1_Button" text="Buy" inherits="UIPanelButtonTemplate" >
  868.                 <Size><AbsDimension x="90" y="22"/> </Size>
  869.                 <Anchors><Anchor point="RIGHT" relativeTo="Atr_CancelSelectionButton" relativePoint="LEFT"><Offset><AbsDimension x="4" y="0"/></Offset></Anchor></Anchors>
  870.                 <Scripts>
  871.                     <OnClick>Atr_Buy1_Onclick();</OnClick>
  872.                 </Scripts>
  873.             </Button>
  874.  
  875.  
  876.             <ScrollFrame name="AuctionatorScrollFrame" inherits="FauxScrollFrameTemplate">
  877.                 <Size><AbsDimension x="588" y="196"/></Size>
  878.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="0" y="-213"/></Offset></Anchor></Anchors>
  879.  
  880.                 <Scripts>
  881.                     <OnVerticalScroll>
  882.                         FauxScrollFrame_OnVerticalScroll(self, offset, 16, Atr_RedisplayAuctions);
  883.                     </OnVerticalScroll>
  884.                 </Scripts>
  885.             </ScrollFrame>
  886.  
  887.  
  888.  
  889.              <Button name="AuctionatorEntry1" inherits="AuctionatorEntryTemplate">
  890.                <Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorScrollFrame" relativePoint="TOPLEFT"><Offset><AbsDimension x="8" y="0"/></Offset></Anchor></Anchors>
  891.              </Button>
  892.              <Button name="AuctionatorEntry2"  inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry1"  relativePoint="BOTTOMLEFT"/></Anchors></Button>
  893.              <Button name="AuctionatorEntry3"  inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry2"  relativePoint="BOTTOMLEFT"/></Anchors></Button>
  894.              <Button name="AuctionatorEntry4"  inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry3"  relativePoint="BOTTOMLEFT"/></Anchors></Button>
  895.              <Button name="AuctionatorEntry5"  inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry4"  relativePoint="BOTTOMLEFT"/></Anchors></Button>
  896.              <Button name="AuctionatorEntry6"  inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry5"  relativePoint="BOTTOMLEFT"/></Anchors></Button>
  897.              <Button name="AuctionatorEntry7"  inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry6"  relativePoint="BOTTOMLEFT"/></Anchors></Button>
  898.              <Button name="AuctionatorEntry8"  inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry7"  relativePoint="BOTTOMLEFT"/></Anchors></Button>
  899.              <Button name="AuctionatorEntry9"  inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry8"  relativePoint="BOTTOMLEFT"/></Anchors></Button>
  900.              <Button name="AuctionatorEntry10" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry9"  relativePoint="BOTTOMLEFT"/></Anchors></Button>
  901.              <Button name="AuctionatorEntry11" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry10" relativePoint="BOTTOMLEFT"/></Anchors></Button>
  902.              <Button name="AuctionatorEntry12" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry11" relativePoint="BOTTOMLEFT"/></Anchors></Button>
  903.              <Button name="AuctionatorEntry13" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry12" relativePoint="BOTTOMLEFT"/></Anchors></Button>
  904.              <Button name="AuctionatorEntry14" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry13" relativePoint="BOTTOMLEFT"/></Anchors></Button>
  905.              <Button name="AuctionatorEntry15" inherits="AuctionatorEntryTemplate"><Anchors><Anchor point="TOPLEFT" relativeTo="AuctionatorEntry14" relativePoint="BOTTOMLEFT"/></Anchors></Button>
  906.  
  907.             <Frame name="Atr_HeadingsBar">
  908.                 <Size><AbsDimension x="605" y="64"/></Size>
  909.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="6" y="-163"/></Offset></Anchor></Anchors>
  910.                 <Layers>
  911.                     <Layer level="ARTWORK">
  912.  
  913.                         <Texture name="$parentMiddle" file="Interface\Glues\CharacterCreate\CharacterCreate-LabelFrame">
  914.                             <Size><AbsDimension x="605" y="64"/></Size>
  915.                             <TexCoords left="0.1953125" right="0.8046875" top="0" bottom="1"/>
  916.                         </Texture>
  917.  
  918.                         <FontString name="Atr_Col1_Heading" inherits="GameFontHighlightSmall" text="Item Price" hidden="true" justifyH="CENTER">
  919.                             <Size><AbsDimension x="100"/></Size>
  920.                             <Anchors><Anchor point="LEFT" relativePoint="LEFT" relativeTo="$parentMiddle"><Offset><AbsDimension x="40" y="1"/></Offset></Anchor></Anchors>
  921.                         </FontString>
  922.  
  923.                         <FontString name="Atr_Col3_Heading" inherits="GameFontHighlightSmall" text="Current Auctions" hidden="true">
  924.                             <Anchors><Anchor point="LEFT" relativePoint="LEFT" relativeTo="$parentMiddle"><Offset><AbsDimension x="175" y="1"/></Offset></Anchor></Anchors>
  925.                         </FontString>
  926.  
  927.                         <FontString name="Atr_Col4_Heading" inherits="GameFontHighlightSmall" text="Total Price" hidden="true">
  928.                             <Anchors><Anchor point="LEFT" relativePoint="LEFT" relativeTo="$parentMiddle"><Offset><AbsDimension x="500" y="1"/></Offset></Anchor></Anchors>
  929.                         </FontString>
  930.                     </Layer>
  931.                 </Layers>
  932.  
  933.                 <Frames>
  934.                     <Button name="Atr_Back_Button" text="Back" inherits="Atr_SmallButtonTemplate"  hidden="true">
  935.                         <Size><AbsDimension x="70" y="18"/></Size>
  936.                         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="8" y="5"/></Offset></Anchor></Anchors>
  937.                         <Scripts><OnClick>Atr_Onclick_Back()</OnClick></Scripts>
  938.                     </Button>
  939.  
  940.                     <Button name="Atr_SaveThisList_Button" text="Save this Shopping List" inherits="Atr_SmallButtonTemplate"  hidden="true">
  941.                         <Size><AbsDimension x="200" y="20"/></Size>
  942.                         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="8" y="8"/></Offset></Anchor></Anchors>
  943.                         <Scripts><OnClick>Atr_Onclick_SaveTempList()</OnClick></Scripts>
  944.                     </Button>
  945.  
  946.                     <Button name="Atr_Col1_Heading_Button" text="Lowest Price" inherits="Atr_Col_Heading_Template"  hidden="true">
  947.                         <Size><AbsDimension x="100" y="20"/></Size>
  948.                         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="46" y="-21"/></Offset></Anchor></Anchors>
  949.                         <Scripts><OnClick>Atr_Onclick_Col1()</OnClick></Scripts>
  950.                     </Button>
  951.  
  952.                     <Button name="Atr_Col3_Heading_Button" text="Item Name" inherits="Atr_Col_Heading_Template"  hidden="true">
  953.                         <Size><AbsDimension x="108" y="20"/></Size>
  954.                         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="172" y="-21"/></Offset></Anchor></Anchors>
  955.                         <Scripts><OnClick>Atr_Onclick_Col3()</OnClick></Scripts>
  956.                     </Button>
  957.  
  958.                 </Frames>
  959.             </Frame>
  960.  
  961.             <Frame name="Atr_ListTabs" hidden="true">
  962.                 <Size><AbsDimension x="250" y="40"/></Size>
  963.                 <Anchors><Anchor point="BOTTOMRIGHT" relativeTo="Atr_HeadingsBar" relativePoint="TOPRIGHT"><Offset><AbsDimension x="0" y="-22"/></Offset></Anchor></Anchors>
  964.  
  965.                 <Frames>
  966.                     <Button name="$parentTab3" inherits="TabButtonTemplate" id="3" text="Other">
  967.                         <Anchors><Anchor point="BOTTOMRIGHT" ><Offset><AbsDimension x="-8" y="0"/></Offset></Anchor></Anchors>
  968.                         <Scripts><OnClick>Atr_ListTabOnClick(3);</OnClick></Scripts>
  969.                     </Button>
  970.                     <Button name="$parentTab2" inherits="TabButtonTemplate" id="2" text="History">
  971.                         <Anchors><Anchor point="RIGHT" relativeTo="$parentTab3" relativePoint="LEFT"><Offset><AbsDimension x="-2" y="0"/></Offset></Anchor></Anchors>
  972.                         <Scripts><OnClick>Atr_ListTabOnClick(2);</OnClick></Scripts>
  973.                     </Button>
  974.                     <Button name="$parentTab1" inherits="TabButtonTemplate" id="1" text="Current">
  975.                         <Anchors><Anchor point="RIGHT" relativeTo="$parentTab2" relativePoint="LEFT"><Offset><AbsDimension x="-2" y="0"/></Offset></Anchor></Anchors>
  976.                         <Scripts><OnClick>Atr_ListTabOnClick(1);</OnClick></Scripts>
  977.                     </Button>
  978.                 </Frames>
  979.                 <Scripts>
  980.                     <OnLoad>
  981.                         PanelTemplates_SetNumTabs(Atr_ListTabs, 3);
  982.                         PanelTemplates_SetTab(Atr_ListTabs, 1);
  983.                     </OnLoad>
  984.                     <OnShow>
  985.                         PlaySound("UChatScrollButton");
  986.                     </OnShow>
  987.                     <OnHide>
  988.                         PlaySound("UChatScrollButton");
  989.                     </OnHide>
  990.                 </Scripts>
  991.             </Frame>
  992.  
  993.  
  994.             <Frame name="Atr_Hilite1" hidden="true">
  995.                 <Size><AbsDimension y="111" /></Size>
  996.                 <Anchors>
  997.                     <Anchor point="TOPLEFT"><Offset><AbsDimension x="5" y="-72"/></Offset></Anchor>
  998.                     <Anchor point="RIGHT"><Offset><AbsDimension x="63"/></Offset></Anchor>
  999.                 </Anchors>
  1000.  
  1001.                 <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border">
  1002.                     <EdgeSize>
  1003.                         <AbsValue val="16"/>
  1004.                     </EdgeSize>
  1005.                 </Backdrop>
  1006.             </Frame>
  1007.  
  1008.             <Button>
  1009.                 <Size><AbsDimension y="110" /></Size>
  1010.                 <Anchors>
  1011.                     <Anchor point="TOPLEFT"><Offset><AbsDimension x="60" y="-72"/></Offset></Anchor>
  1012.                     <Anchor point="RIGHT"><Offset><AbsDimension x="63"/></Offset></Anchor>
  1013.                 </Anchors>
  1014.  
  1015.                 <Scripts>
  1016.                     <OnLoad>
  1017.                         self:RegisterEvent("NEW_AUCTION_UPDATE");
  1018.                         self:RegisterForDrag("LeftButton");
  1019.                     </OnLoad>
  1020.                     <OnEvent>
  1021.                         if ( event == "NEW_AUCTION_UPDATE") then
  1022.                             Atr_Hilite1:Hide();
  1023.                         end
  1024.                     </OnEvent>
  1025.                     <OnClick>           Atr_OnDropItem();       </OnClick>
  1026.                     <OnReceiveDrag>     Atr_OnDropItem();       </OnReceiveDrag>
  1027.                     <OnEnter>
  1028.                         if (GetCursorInfo() == "item") then
  1029.                             Atr_Hilite1:Show();
  1030.                         end;
  1031.                     </OnEnter>
  1032.                     <OnLeave>
  1033.                         Atr_Hilite1:Hide();
  1034.                     </OnLeave>
  1035.                 </Scripts>
  1036.  
  1037.             </Button>
  1038.  
  1039.  
  1040.         </Frames>
  1041.     </Frame>
  1042.  
  1043.  
  1044.  
  1045.    <!-- Buy Confirmation screen -->
  1046.  
  1047.     <Frame name="Atr_Buy_Confirm_Frame" inherits="AuctionatorDialog" toplevel="true" parent="UIParent" frameStrata="FULLSCREEN_DIALOG" enableMouse="true" hidden="true">
  1048.         <Size><AbsDimension x="390" y="180" /></Size>
  1049.         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="270" y="-290"/></Offset></Anchor></Anchors>
  1050.  
  1051.         <Scripts>
  1052.             <OnUpdate>
  1053.                 Atr_Buy_Confirm_Update();
  1054.             </OnUpdate>
  1055.         </Scripts>
  1056.  
  1057.         <Layers>
  1058.             <Layer level="BACKGROUND">
  1059.                 <FontString name="Atr_Buy_Confirm_ItemName" inherits="GameFontNormal">
  1060.                     <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="40" y="-35"/></Offset></Anchor></Anchors>
  1061.                 </FontString>
  1062.             </Layer>
  1063.         </Layers>
  1064.  
  1065.         <Frames>
  1066.  
  1067.             <Frame name="Atr_Buy_Confirm_TotalPrice" inherits="SmallMoneyFrameTemplate">
  1068.                 <Size><AbsDimension x="125" y="16" /></Size>
  1069.                 <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_Buy_Confirm_ItemName"><Offset><AbsDimension x="20" y="-25"/></Offset></Anchor></Anchors>
  1070.                 <Scripts><OnLoad>AuctionatorMoneyFrame_OnLoad(self);</OnLoad></Scripts>
  1071.             </Frame>
  1072.  
  1073.             <Frame name="Atr_Buy_Part1">
  1074.                 <Anchors>
  1075.                     <Anchor point="TOPLEFT">    <Offset><AbsDimension x="0" y="0" /></Offset></Anchor>
  1076.                     <Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="0" y="40"/></Offset></Anchor>
  1077.                 </Anchors>
  1078.  
  1079.                 <Layers>
  1080.                     <Layer level="BACKGROUND">
  1081.                         <FontString name="Atr_Buy_Confirm_Text1" inherits="GameFontNormal" text="Buy">
  1082.                             <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="70" y="-79"/></Offset></Anchor></Anchors>
  1083.                         </FontString>
  1084.  
  1085.                         <FontString name="Atr_Buy_Confirm_Max_Text" inherits="GameFontDarkGraySmall">
  1086.                             <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="110" y="-97"/></Offset></Anchor></Anchors>
  1087.                         </FontString>
  1088.  
  1089.                         <FontString name="Atr_Buy_Confirm_Text2" inherits="GameFontNormal" text="stacks for:">
  1090.                             <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="160" y="-79"/></Offset></Anchor></Anchors>
  1091.                         </FontString>
  1092.                     </Layer>
  1093.                 </Layers>
  1094.  
  1095.                 <Frames>
  1096.  
  1097.  
  1098.                     <EditBox name="Atr_Buy_Confirm_Numstacks" autoFocus="false" numeric="true" inherits="InputBoxTemplate">
  1099.                         <Size><AbsDimension x="40" y="20"/></Size>
  1100.                         <Anchors>
  1101.                             <Anchor point="TOPLEFT" relativeTo="Atr_Buy_Confirm_Text1">
  1102.                                 <Offset><AbsDimension x="40" y="4"/></Offset>
  1103.                             </Anchor>
  1104.                         </Anchors>
  1105.                         <FontString inherits="ChatFontNormal" bytes="64" justifyH="CENTER" />
  1106.                     </EditBox>
  1107.                 </Frames>
  1108.             </Frame>
  1109.  
  1110.             <Frame name="Atr_Buy_Part2">
  1111.                 <Anchors>
  1112.                     <Anchor point="TOPLEFT">    <Offset><AbsDimension x="0" y="0" /></Offset></Anchor>
  1113.                     <Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="0" y="40"/></Offset></Anchor>
  1114.                 </Anchors>
  1115.  
  1116.                 <Layers>
  1117.                     <Layer level="BACKGROUND">
  1118.                         <FontString name="Atr_Buy_NumAvail_Text" inherits="GameFontNormal">
  1119.                             <Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-30" y="-90"/></Offset></Anchor></Anchors>
  1120.                         </FontString>
  1121.                         <FontString name="Atr_Buy_Continue_Text" inherits="GameFontNormal">
  1122.                             <Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-30" y="-110"/></Offset></Anchor></Anchors>
  1123.                         </FontString>
  1124.                     </Layer>
  1125.                 </Layers>
  1126.             </Frame>
  1127.  
  1128.             <Button name="Atr_Buy_Confirm_CancelBut" inherits="UIPanelButtonTemplate" text="Cancel">
  1129.                 <Size><AbsDimension x="120" y="22"/></Size>
  1130.                 <Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="25"/></Offset></Anchor></Anchors>
  1131.                 <Scripts>
  1132.                     <OnClick>
  1133.                         Atr_Buy_Cancel();
  1134.                     </OnClick>
  1135.                 </Scripts>
  1136.             </Button>
  1137.  
  1138.             <Button name="Atr_Buy_Confirm_OKBut" inherits="UIPanelButtonTemplate" text="Buy">
  1139.                 <Size><AbsDimension x="120" y="22"/></Size>
  1140.                 <Anchors><Anchor point="RIGHT" relativeTo="Atr_Buy_Confirm_CancelBut" relativePoint="LEFT"><Offset><AbsDimension x="-10"/></Offset></Anchor></Anchors>
  1141.                 <Scripts>
  1142.                     <OnClick>
  1143.                         Atr_Buy_Confirm_OK();
  1144.                     </OnClick>
  1145.                 </Scripts>
  1146.             </Button>
  1147.         </Frames>
  1148.     </Frame>
  1149.  
  1150.  
  1151.    <!-- Check Active screen -->
  1152.  
  1153.     <Frame name="Atr_CheckActives_Frame" inherits="AuctionatorDialog" toplevel="true" parent="UIParent" frameStrata="FULLSCREEN_DIALOG" enableMouse="true" hidden="true">
  1154.         <Size><AbsDimension x="350" y="190" /></Size>
  1155.         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="190" y="-220"/></Offset></Anchor></Anchors>
  1156.  
  1157.         <Layers>
  1158.             <Layer level="BACKGROUND">
  1159.                 <FontString name="Atr_CheckActives_Text" inherits="GameFontNormal" text="">
  1160.                     <Size><AbsDimension x="320" y="50"/></Size>
  1161.                     <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="5" y="-34"/></Offset></Anchor></Anchors>
  1162.                 </FontString>
  1163.             </Layer>
  1164.         </Layers>
  1165.  
  1166.         <Frames>
  1167.             <Button name="Atr_CheckActives_Yes_Button" inherits="UIPanelButtonTemplate" text="Yes, let's get started">
  1168.                 <Size><AbsDimension x="210" y="22"/></Size>
  1169.                 <Anchors><Anchor point="BOTTOM"><Offset><AbsDimension y="65"/></Offset></Anchor></Anchors>
  1170.                 <Scripts>
  1171.                     <OnClick>Atr_Cancel_Undercuts_OnClick();</OnClick>
  1172.                 </Scripts>
  1173.             </Button>
  1174.  
  1175.             <Button name="Atr_CheckActives_No_Button" inherits="UIPanelButtonTemplate" text="No, leave them">
  1176.                 <Size><AbsDimension x="210" y="22"/></Size>
  1177.                 <Anchors><Anchor point="BOTTOM"><Offset><AbsDimension y="30"/></Offset></Anchor></Anchors>
  1178.                 <Scripts>
  1179.                     <OnClick>Atr_CheckActives_Frame:Hide();</OnClick>
  1180.                 </Scripts>
  1181.             </Button>
  1182.         </Frames>
  1183.     </Frame>
  1184.  
  1185.    <!-- Confirm Cancel Auction screen -->
  1186.  
  1187.     <Frame name="Atr_CancelAuction_Confirm_Frame" inherits="AuctionatorDialog" toplevel="true" parent="UIParent" enableMouse="true" frameStrata="DIALOG" hidden="true">
  1188.         <Size><AbsDimension x="340" y="115" /></Size>
  1189.         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="40" y="-390"/></Offset></Anchor></Anchors>
  1190.  
  1191.         <Layers>
  1192.             <Layer level="BACKGROUND">
  1193.                 <FontString inherits="GameFontNormal" name="$parent_text" spacing="3" text="Really cancel?">
  1194.                     <Anchors><Anchor point="CENTER"><Offset><AbsDimension y="10"/></Offset></Anchor></Anchors>
  1195.                 </FontString>
  1196.             </Layer>
  1197.         </Layers>
  1198.  
  1199.         <Frames>
  1200.             <Button inherits="UIPanelButtonTemplate" text="Leave it">
  1201.                 <Size><AbsDimension x="60" y="22"/></Size>
  1202.                 <Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-50" y="16"/></Offset></Anchor></Anchors>
  1203.                 <Scripts><OnClick>Atr_CancelUndercut_Confirm(false);</OnClick></Scripts>
  1204.             </Button>
  1205.             <Button inherits="UIPanelButtonTemplate" text="Cancel My Auction">
  1206.                 <Size><AbsDimension x="60" y="22"/></Size>
  1207.                 <Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-150" y="16"/></Offset></Anchor></Anchors>
  1208.                 <Scripts><OnClick>Atr_CancelUndercut_Confirm(true);</OnClick></Scripts>
  1209.             </Button>
  1210.         </Frames>
  1211.  
  1212.     </Frame>
  1213.  
  1214.  
  1215.  
  1216.  
  1217.     <!-- -->
  1218.  
  1219.     <Font name="GameFontLightGraySmall" inherits="GameFontNormal" virtual="true">
  1220.         <Color r="0.8" g="0.8" b="0.8"/>
  1221.         <FontHeight>
  1222.             <AbsValue val="11"/>
  1223.         </FontHeight>
  1224.     </Font>
  1225.  
  1226.  
  1227.     <Frame name="Atr_FullScanFrame" inherits="AuctionatorDialog" toplevel="true" parent="UIParent" frameStrata="DIALOG" enableMouse="true" hidden="true">
  1228.         <Size><AbsDimension x="600" y="420" /></Size>
  1229.         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="150" y="-130"/></Offset></Anchor></Anchors>
  1230.  
  1231.         <Layers>
  1232.             <Layer level="ARTWORK">
  1233.                 <Texture file="Interface\DialogFrame\UI-DialogBox-Header">
  1234.                     <Size x="310" y="64"/>
  1235.                     <Anchors><Anchor point="TOP"><Offset x="0" y="12"/></Anchor></Anchors>
  1236.                 </Texture>
  1237.                 <FontString inherits="GameFontNormal" text="Full Scan">
  1238.                     <Anchors><Anchor point="TOP"><Offset x="0" y="-2"/></Anchor></Anchors>
  1239.                 </FontString>
  1240.                 <FontString name="Atr_FullScanNextLabel" inherits="GameFontNormal" text="Next scan allowed:">
  1241.                     <Anchors><Anchor point="TOPLEFT"><Offset x="27" y="-55"/></Anchor></Anchors>
  1242.                 </FontString>
  1243.                 <FontString name="Atr_FullScanNext" inherits="GameFontHighlight">
  1244.                     <Anchors><Anchor point="TOPLEFT"><Offset x="150" y="-55"/></Anchor></Anchors>
  1245.                 </FontString>
  1246.                 <FontString name="Atr_FullScanDBwhenLabel" inherits="GameFontNormal" text="Last scan:">
  1247.                     <Anchors><Anchor point="TOPLEFT"><Offset x="27" y="-80"/></Anchor></Anchors>
  1248.                 </FontString>
  1249.                 <FontString name="Atr_FullScanDBwhen" inherits="GameFontHighlight">
  1250.                     <Anchors><Anchor point="TOPLEFT"><Offset x="150" y="-80"/></Anchor></Anchors>
  1251.                 </FontString>
  1252.                 <FontString name="Atr_FullScanDBsizeLabel" inherits="GameFontNormal" text="Items in database:">
  1253.                     <Anchors><Anchor point="TOPLEFT"><Offset x="27" y="-105"/></Anchor></Anchors>
  1254.                 </FontString>
  1255.                 <FontString name="Atr_FullScanDBsize" inherits="GameFontHighlight">
  1256.                     <Anchors><Anchor point="TOPLEFT"><Offset x="150" y="-105"/></Anchor></Anchors>
  1257.                 </FontString>
  1258.                 <FontString name="Atr_FullScanStatus" inherits="GameFontNormal" text="">
  1259.                     <Anchors><Anchor point="TOPLEFT"><Offset x="27" y="-140"/></Anchor></Anchors>
  1260.                 </FontString>
  1261.             </Layer>
  1262.  
  1263.         </Layers>
  1264.  
  1265.         <Frames>
  1266.  
  1267.             <Button name="Atr_FullScanDone" inherits="UIPanelButtonTemplate" text="DONE">
  1268.                 <Size><AbsDimension x="80" y="22"/> </Size>
  1269.                 <Anchors><Anchor point="TOPRIGHT"><Offset><AbsDimension x="-30" y="-140"/></Offset></Anchor></Anchors>
  1270.                 <Scripts>
  1271.                     <OnClick>
  1272.                         Atr_FullScanFrame:Hide();
  1273.                     </OnClick>
  1274.                 </Scripts>
  1275.             </Button>
  1276.  
  1277.             <Button name="Atr_FullScanStartButton" inherits="UIPanelButtonTemplate" text="Start Scanning">
  1278.                 <Size><AbsDimension x="120" y="22"/>    </Size>
  1279.                 <Anchors><Anchor point="RIGHT" relativeTo="Atr_FullScanDone" relativePoint="LEFT"><Offset><AbsDimension x="-4" y="0"/></Offset></Anchor></Anchors>
  1280.                 <Scripts>
  1281.                     <OnClick>
  1282.                         Atr_FullScanStart();
  1283.                     </OnClick>
  1284.                 </Scripts>
  1285.             </Button>
  1286.  
  1287.             <SimpleHTML name="Atr_FullScanHTML">
  1288.                 <Size><AbsDimension x="545" y="300" /></Size>
  1289.                 <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="27" y="-175"/></Offset></Anchor></Anchors>
  1290.                 <FontString inherits="GameFontLightGraySmall"/>
  1291.                 <FontStringHeader1 inherits="GameFontNormal"/>
  1292.             </SimpleHTML>
  1293.  
  1294.             <Frame name="Atr_FullScanResults" hidden="true">
  1295.                 <Anchors>
  1296.                     <Anchor point="TOPLEFT"><Offset><AbsDimension y="-195" x="70"/></Offset></Anchor>
  1297.                     <Anchor point="BOTTOMRIGHT"><Offset><AbsDimension y="30" x="-70"/></Offset></Anchor>
  1298.                 </Anchors>
  1299.  
  1300.                 <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border">
  1301.                     <EdgeSize><AbsValue val="16"/></EdgeSize>
  1302.                 </Backdrop>
  1303.  
  1304.                 <Layers>
  1305.                     <Layer level="ARTWORK">
  1306.  
  1307.                         <FontString name="Atr_FSR_scanned_text" inherits="GameFontNormal" text="Auctions scanned:">
  1308.                             <Anchors><Anchor point="TOPRIGHT"><Offset x="-170" y="-40"/></Anchor></Anchors>
  1309.                         </FontString>
  1310.  
  1311.                         <FontString name="Atr_FSR_scanned_count" inherits="GameFontHighlight" text="">
  1312.                             <Anchors><Anchor point="LEFT" relativeTo="Atr_FSR_scanned_text" relativePoint="RIGHT"><Offset x="15"/></Anchor></Anchors>
  1313.                         </FontString>
  1314.  
  1315.                         <FontString name="Atr_FSR_added_text" inherits="GameFontNormal" text="Items added:">
  1316.                             <Anchors><Anchor point="TOPRIGHT"><Offset x="-170" y="-65"/></Anchor></Anchors>
  1317.                         </FontString>
  1318.  
  1319.                         <FontString name="Atr_FSR_added_count" inherits="GameFontHighlight">
  1320.                             <Anchors><Anchor point="LEFT" relativeTo="Atr_FSR_added_text" relativePoint="RIGHT"><Offset x="15"/></Anchor></Anchors>
  1321.                         </FontString>
  1322.  
  1323.                         <FontString name="Atr_FSR_updated_text" inherits="GameFontNormal" text="Items updated:">
  1324.                             <Anchors><Anchor point="TOPRIGHT"><Offset x="-170" y="-90"/></Anchor></Anchors>
  1325.                         </FontString>
  1326.  
  1327.                         <FontString name="Atr_FSR_updated_count" inherits="GameFontHighlight">
  1328.                             <Anchors><Anchor point="LEFT" relativeTo="Atr_FSR_updated_text" relativePoint="RIGHT"><Offset x="15"/></Anchor></Anchors>
  1329.                         </FontString>
  1330.  
  1331.                         <FontString name="Atr_FSR_ignored_text" inherits="GameFontNormal" text="Items ignored:">
  1332.                             <Anchors><Anchor point="TOPRIGHT"><Offset x="-170" y="-115"/></Anchor></Anchors>
  1333.                         </FontString>
  1334.  
  1335.                         <FontString name="Atr_FSR_ignored_count" inherits="GameFontHighlight">
  1336.                             <Anchors><Anchor point="LEFT" relativeTo="Atr_FSR_ignored_text" relativePoint="RIGHT"><Offset x="15"/></Anchor></Anchors>
  1337.                         </FontString>
  1338.  
  1339.                     </Layer>
  1340.                 </Layers>
  1341.  
  1342.  
  1343.             </Frame>
  1344.  
  1345.         </Frames>
  1346.  
  1347.     </Frame>
  1348.  
  1349.  
  1350.    <!-- Buy Confirmation screen -->
  1351.  
  1352.     <Frame name="Atr_Adv_Search_Dialog" inherits="AuctionatorDialog" toplevel="true" parent="UIParent" frameStrata="FULLSCREEN_DIALOG" enableMouse="true" hidden="true">
  1353.         <Size><AbsDimension x="480" y="320" /></Size>
  1354.         <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="270" y="-160"/></Offset></Anchor></Anchors>
  1355.  
  1356.         <Layers>
  1357.             <Layer level="ARTWORK">
  1358.  
  1359.                 <Texture file="Interface\DialogFrame\UI-DialogBox-Header">
  1360.                     <Size x="310" y="64"/>
  1361.                     <Anchors><Anchor point="TOP"><Offset x="0" y="12"/></Anchor></Anchors>
  1362.                 </Texture>
  1363.  
  1364.                 <FontString inherits="GameFontNormal" text="Advanced Search">
  1365.                     <Anchors><Anchor point="TOP"><Offset x="0" y="-2"/></Anchor></Anchors>
  1366.                 </FontString>
  1367.  
  1368.                 <FontString name="Atr_AS_Searchtext_Label" inherits="GameFontNormalSmall" text="Search For">
  1369.                     <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="40" y="-50"/></Offset></Anchor></Anchors>
  1370.                 </FontString>
  1371.  
  1372.                 <FontString name="Atr_AS_Cat_Label" inherits="GameFontNormalSmall" text="Category">
  1373.                     <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="40" y="-120"/></Offset></Anchor></Anchors>
  1374.                 </FontString>
  1375.  
  1376.                 <FontString name="Atr_AS_SubCat_Label" inherits="GameFontNormalSmall" text="Subcategory">
  1377.                     <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="240" y="-120"/></Offset></Anchor></Anchors>
  1378.                 </FontString>
  1379.  
  1380.                 <FontString name="Atr_AS_LevRange_Label" inherits="GameFontNormalSmall" text="Level Range">
  1381.                     <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="40" y="-190"/></Offset></Anchor></Anchors>
  1382.                 </FontString>
  1383.  
  1384.                 <FontString inherits="GameFontHighlightLarge" text="-">
  1385.                     <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_AS_LevRange_Label" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="41" y="-6"/></Offset></Anchor></Anchors>
  1386.                 </FontString>
  1387.  
  1388.                 <FontString name="Atr_AS_ILevRange_Label" inherits="GameFontNormalSmall" text="Item Level Range" hidden="true">
  1389.                     <Anchors><Anchor point="TOPLEFT"><Offset><AbsDimension x="240" y="-190"/></Offset></Anchor></Anchors>
  1390.                 </FontString>
  1391.  
  1392.                 <FontString name="Atr_AS_ILevRange_Dash" inherits="GameFontHighlightLarge" text="-" hidden="true">
  1393.                     <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_AS_ILevRange_Label" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="41" y="-6"/></Offset></Anchor></Anchors>
  1394.                 </FontString>
  1395.  
  1396.             </Layer>
  1397.         </Layers>
  1398.  
  1399.         <Frames>
  1400.  
  1401.             <EditBox name="Atr_AS_Searchtext" autoFocus="false" inherits="InputBoxTemplate">
  1402.                 <Size><AbsDimension x="240" y="20"/></Size>
  1403.                 <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_AS_Searchtext_Label" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="2" y="-4"/></Offset></Anchor></Anchors>
  1404.             </EditBox>
  1405.  
  1406.             <Frame name="Atr_ASDD_Class" inherits="UIDropDownMenuTemplate">
  1407.                 <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_AS_Cat_Label" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="-20" y="-4"/></Offset></Anchor></Anchors>
  1408.                 <Scripts>
  1409.                     <OnShow function="Atr_ASDD_Class_OnShow"/>
  1410.                 </Scripts>
  1411.             </Frame>
  1412.  
  1413.             <Frame name="Atr_ASDD_Subclass" inherits="UIDropDownMenuTemplate">
  1414.                 <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_AS_SubCat_Label" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="-20" y="-4"/></Offset></Anchor></Anchors>
  1415.                 <Scripts>
  1416.                     <OnShow function="Atr_ASDD_Subclass_OnShow"/>
  1417.                 </Scripts>
  1418.             </Frame>
  1419.  
  1420.             <EditBox name="Atr_AS_Minlevel" autoFocus="false" numeric="true" inherits="InputBoxTemplate">
  1421.                 <Size x="30" y="20"/>
  1422.                 <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_AS_LevRange_Label" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="5" y="-4"/></Offset></Anchor></Anchors>
  1423.                 <FontString inherits="ChatFontNormal" bytes="64" justifyH="CENTER" />
  1424.             </EditBox>
  1425.  
  1426.             <EditBox name="Atr_AS_Maxlevel" autoFocus="false" numeric="true" inherits="InputBoxTemplate">
  1427.                 <Size x="30" y="20"/>
  1428.                 <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_AS_LevRange_Label" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="59" y="-4"/></Offset></Anchor></Anchors>
  1429.                 <FontString inherits="ChatFontNormal" bytes="64" justifyH="CENTER" />
  1430.             </EditBox>
  1431.  
  1432.  
  1433.             <EditBox name="Atr_AS_MinItemlevel" autoFocus="false" numeric="true" inherits="InputBoxTemplate" hidden="true">
  1434.                 <Size x="30" y="20"/>
  1435.                 <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_AS_ILevRange_Label" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="5" y="-4"/></Offset></Anchor></Anchors>
  1436.                 <FontString inherits="ChatFontNormal" bytes="64" justifyH="CENTER" />
  1437.             </EditBox>
  1438.  
  1439.             <EditBox name="Atr_AS_MaxItemlevel" autoFocus="false" numeric="true" inherits="InputBoxTemplate" hidden="true">
  1440.                 <Size x="30" y="20"/>
  1441.                 <Anchors><Anchor point="TOPLEFT" relativeTo="Atr_AS_ILevRange_Label" relativePoint="BOTTOMLEFT"><Offset><AbsDimension x="59" y="-4"/></Offset></Anchor></Anchors>
  1442.                 <FontString inherits="ChatFontNormal" bytes="64" justifyH="CENTER" />
  1443.             </EditBox>
  1444.  
  1445.             <Button name="Atr_Adv_Search_ResetBut" inherits="Atr_SmallButtonTemplate" text="RESET">
  1446.                 <Size><AbsDimension x="60" y="18"/></Size>
  1447.                 <Anchors><Anchor point="BOTTOMLEFT"><Offset><AbsDimension x="40" y="25"/></Offset></Anchor></Anchors>
  1448.                 <Scripts>
  1449.                     <OnClick>
  1450.                         Atr_Adv_Search_Reset();
  1451.                     </OnClick>
  1452.                 </Scripts>
  1453.             </Button>
  1454.  
  1455.             <Button name="Atr_Adv_Search_CancelBut" inherits="UIPanelButtonTemplate" text="CANCEL">
  1456.                 <Size><AbsDimension x="80" y="22"/></Size>
  1457.                 <Anchors><Anchor point="BOTTOMRIGHT"><Offset><AbsDimension x="-20" y="25"/></Offset></Anchor></Anchors>
  1458.                 <Scripts>
  1459.                     <OnClick>
  1460.                         Atr_Adv_Search_Dialog:Hide();
  1461.                     </OnClick>
  1462.                 </Scripts>
  1463.             </Button>
  1464.  
  1465.             <Button name="Atr_Adv_Search_OKBut" inherits="UIPanelButtonTemplate" text="Search">
  1466.                 <Size><AbsDimension x="80" y="22"/></Size>
  1467.                 <Anchors><Anchor point="RIGHT" relativeTo="Atr_Adv_Search_CancelBut" relativePoint="LEFT"><Offset><AbsDimension x="-10"/></Offset></Anchor></Anchors>
  1468.                 <Scripts>
  1469.                     <OnClick>
  1470.                         Atr_Adv_Search_Do();
  1471.                     </OnClick>
  1472.                 </Scripts>
  1473.             </Button>
  1474.         </Frames>
  1475.  
  1476.  
  1477.  
  1478.     </Frame>
  1479.  
  1480.  
  1481.  
  1482. </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement