Advertisement
j311yf1sh

asdasdasasdasd

Nov 15th, 2012
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 4.97 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/ ..\FrameXML\UI.xsd">
  2.     <Frame name="PriceReply" movable="true" enableMouse="true" hidden="true">
  3.         <Size x="200" y="150"/>
  4.         <TitleRegion setAllPoints="true" />
  5.         <Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  6.             <EdgeSize>
  7.                 <AbsValue val="16"/>
  8.             </EdgeSize>
  9.             <TileSize>
  10.                     <AbsValue val="32"/>
  11.             </TileSize>
  12.             <BackgroundInsets>
  13.                     <AbsInset left="5" right="5" top="5" bottom="5"/>
  14.             </BackgroundInsets>
  15.         </Backdrop>
  16.  
  17.         <Anchors>
  18.             <Anchor point="CENTER"/>
  19.         </Anchors>
  20.         <Layers>
  21.             <Layer>
  22.             <!-- TITLE TEXTURE -->
  23.                 <Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header">
  24.                   <Size>
  25.                     <AbsDimension x="160" y="32" />
  26.                   </Size>
  27.                   <Anchors>
  28.                     <Anchor point="TOP">
  29.                       <Offset>
  30.                         <AbsDimension x="0" y="11" />
  31.                       </Offset>
  32.                     </Anchor>
  33.                   </Anchors>
  34.                   <TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
  35.                 </Texture>
  36.             <!--Create Title for frame-->
  37.                 <FontString name="TITLE" font="GameFontNormal" text="Price Reply: options">
  38.                   <Size>
  39.                     <AbsDimension x="140" y="0" />
  40.                   </Size>
  41.                   <Anchors>
  42.                     <Anchor point="TOP">
  43.                       <Offset>
  44.                         <AbsDimension x="0" y="0" />
  45.                       </Offset>
  46.                     </Anchor>
  47.                   </Anchors>
  48.                   <FontHeight>
  49.                     <AbsValue val="12" />
  50.                   </FontHeight>
  51.                   <Color r="1" g="0.8196079" b="0" />
  52.                   <Shadow>
  53.                     <Color r="0" g="0" b="0" />
  54.                     <Offset>
  55.                       <AbsDimension x="1" y="-1" />
  56.                     </Offset>
  57.                   </Shadow>
  58.                 </FontString>
  59.             </Layer>
  60.         </Layers>
  61.         <!-- button to close the frame -->
  62.         <Frames>
  63.             <Button name="$parentButtonClose" inherits="OptionsButtonTemplate" text="X">
  64.                 <Size>
  65.                     <AbsDimension x="20" y="20"/>
  66.                 </Size>
  67.                 <Anchors>
  68.                     <Anchor point="TOPRIGHT">
  69.                         <Offset x="0" y="0"/>
  70.                     </Anchor>
  71.                 </Anchors>
  72.                 <Scripts>
  73.                     <OnClick>
  74.                         self:GetParent():Hide();
  75.  
  76.                     </OnClick>
  77.                 </Scripts>
  78.             </Button>
  79.         </Frames>
  80.         <Frames>
  81.             <CheckButton name="PREnableDisable" inherits="OptionsCheckButtonTemplate">
  82.                 <Anchors>
  83.                     <Anchor point="TOP">
  84.                         <Offset x="-40" y="-20"/>
  85.                     </Anchor>
  86.                 </Anchors>
  87.                 <Layers>
  88.                     <Layer>
  89.                         <FontString name="$parentText" font="GameFontNormal" text="Enable/Disable">
  90.                             <Anchors>
  91.                                 <Anchor point="LEFT" relativePoint="RIGHT">
  92.                                     <Offset x="1" y="0"/>
  93.                                 </Anchor>
  94.                             </Anchors>
  95.                             <FontHeight>
  96.                                 <AbsValue val="10"/>
  97.                             </FontHeight>
  98.                         </FontString>
  99.                     </Layer>
  100.                 </Layers>
  101.             </CheckButton>
  102.             <!-- Command -->
  103.             <EditBox name="PRCommandBox" autoFocus="false" font="GameFontNormal" letters="5">
  104.                 <Scripts>
  105.                     <OnEscapePressed>PRCommandBox:ClearFocus();</OnEscapePressed>
  106.                 </Scripts>
  107.                 <Size x="60" y="20"/>
  108.                 <Anchors>
  109.                     <Anchor point="TOP">
  110.                         <Offset x="-30" y="-50"/>
  111.                     </Anchor>
  112.                 </Anchors>
  113.                 <Layers>
  114.                     <Layer level="BACKGROUND">
  115.                         <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
  116.                             <Anchors>
  117.                                 <Anchor point="CENTER">
  118.                                     <Offset>
  119.                                         <AbsDimension x="0" y="-4"/>
  120.                                     </Offset>
  121.                                 </Anchor>
  122.                             </Anchors>
  123.                             <Size>
  124.                                 <AbsDimension x="50" y="25"/>
  125.                             </Size>
  126.                         </Texture>
  127.                     </Layer>
  128.                     <Layer>
  129.                         <FontString name="$parentPriceLabel" font="GameFontNormal" text="Trigger">
  130.                             <Anchors>
  131.                                 <Anchor point="LEFT" relativePoint="RIGHT">
  132.                                     <Offset x="1" y="0"/>
  133.                                 </Anchor>
  134.                             </Anchors>
  135.                         </FontString>
  136.                     </Layer>
  137.                 </Layers>
  138.             </EditBox>
  139.             <!-- Time out -->
  140.             <EditBox name="PRTimeOutBox" autoFocus="false" font="GameFontNormal" letters="2" numeric="true">
  141.                 <Scripts>
  142.                     <OnEscapePressed>PRTimeOutBox:ClearFocus();</OnEscapePressed>
  143.                 </Scripts>
  144.                 <Size x="60" y="20"/>
  145.                 <Anchors>
  146.                     <Anchor point="TOP">
  147.                         <Offset x="-30" y="-70"/>
  148.                     </Anchor>
  149.                 </Anchors>
  150.                 <Layers>
  151.                     <Layer level="BACKGROUND">
  152.                         <Texture name="$parentRight" file="Interface\Common\Common-Input-Border">
  153.                             <Anchors>
  154.                                 <Anchor point="CENTER">
  155.                                     <Offset>
  156.                                         <AbsDimension x="0" y="-4"/>
  157.                                     </Offset>
  158.                                 </Anchor>
  159.                             </Anchors>
  160.                             <Size>
  161.                                 <AbsDimension x="50" y="25"/>
  162.                             </Size>
  163.                         </Texture>
  164.                     </Layer>
  165.                     <Layer>
  166.                         <FontString name="$parentPriceLabel" font="GameFontNormal" text="Timeout(Seconds)">
  167.                             <Anchors>
  168.                                 <Anchor point="LEFT" relativePoint="RIGHT">
  169.                                     <Offset x="1" y="0"/>
  170.                                 </Anchor>
  171.                             </Anchors>
  172.                         </FontString>
  173.                     </Layer>
  174.                 </Layers>
  175.             </EditBox>
  176.         </Frames>
  177.         <Scripts>
  178.             <OnShow>
  179.                 PR_LoadVariables()
  180.             </OnShow>
  181.             <OnHide>
  182.                 PR_SetVariables()
  183.             </OnHide>
  184.         </Scripts>
  185.    </Frame>
  186. </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement