1. <Ui xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.blizzard.com/wow/ui/">
  2.     <Script file="Frame.lua" />
  3.     <Frame name="Frame1" parent="UIParent" toplevel="true" movable="true" enableMouse="true">
  4.         <Size>
  5.             <AbsDimension x="200" y="200" />
  6.         </Size>
  7.         <Anchors>
  8.             <Anchor point="CENTER" />
  9.         </Anchors>
  10.         <TitleRegion setAllPoints="true">
  11.             <Size>
  12.                 <AbsDimension x="0" y="30" />
  13.             </Size>
  14.             <Anchors>
  15.                 <Anchor point="TOPLEFT" />
  16.                 <Anchor point="TOPRIGHT" />
  17.             </Anchors>
  18.         </TitleRegion>
  19.         <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
  20.             <BackgroundInsets>
  21.                 <AbsInset left="11" right="12" top="12" bottom="11" />
  22.             </BackgroundInsets>
  23.             <TileSize>
  24.                 <AbsValue val="32" />
  25.             </TileSize>
  26.             <EdgeSize>
  27.                 <AbsValue val="32" />
  28.             </EdgeSize>
  29.         </Backdrop>
  30.         <HitRectInsets>
  31.             <AbsInset left="1" right="1" top="1" bottom="1" />
  32.         </HitRectInsets>
  33.         <Frames>
  34.             <Button name="Button1" inherits="UIPanelButtonTemplate" text="Test">
  35.                 <Size>
  36.                     <AbsDimension x="75" y="23" />
  37.                 </Size>
  38.                 <Anchors>
  39.                     <Anchor point="TOPLEFT">
  40.                         <Offset x="12" y="-164" />
  41.                     </Anchor>
  42.                 </Anchors>
  43.                 <Scripts>
  44.                     <OnClick>Button1_OnClick();</OnClick>
  45.                 </Scripts>
  46.                 <ButtonText font="Fonts\FRIZQT__.TTF">
  47.                     <FontHeight>
  48.                         <AbsValue val="12" />
  49.                     </FontHeight>
  50.                     <Color r="1" g="1" b="0" />
  51.                 </ButtonText>
  52.             </Button>
  53.             <Button name="Button2" inherits="UIPanelButtonTemplate" text="Hide">
  54.                 <Size>
  55.                     <AbsDimension x="75" y="23" />
  56.                 </Size>
  57.                 <Anchors>
  58.                     <Anchor point="TOPLEFT">
  59.                         <Offset x="109" y="-164" />
  60.                     </Anchor>
  61.                 </Anchors>
  62.                 <Scripts>
  63.                     <OnClick>Button2_OnClick();</OnClick>
  64.                 </Scripts>
  65.                 <ButtonText font="Fonts\FRIZQT__.TTF">
  66.                     <FontHeight>
  67.                         <AbsValue val="12" />
  68.                     </FontHeight>
  69.                     <Color r="1" g="1" b="0" />
  70.                 </ButtonText>
  71.             </Button>
  72.         </Frames>
  73.         <Layers>
  74.             <Layer level="OVERLAY">
  75.                 <FontString name="FontString1" inherits="GameFontNormal" text="Players">
  76.                     <Size>
  77.                         <AbsDimension x="80" y="20" />
  78.                     </Size>
  79.                     <Anchors>
  80.                         <Anchor point="TOPLEFT">
  81.                             <Offset x="12" y="-18" />
  82.                         </Anchor>
  83.                     </Anchors>
  84.                 </FontString>
  85.                 <FontString name="FontString2" inherits="GameFontNormal" text="Rolling">
  86.                     <Size>
  87.                         <AbsDimension x="80" y="20" />
  88.                     </Size>
  89.                     <Anchors>
  90.                         <Anchor point="TOPLEFT">
  91.                             <Offset x="104" y="-18" />
  92.                         </Anchor>
  93.                     </Anchors>
  94.                 </FontString>
  95.                 <FontString name="FontString3" inherits="GameFontNormal" text="">
  96.                     <Size>
  97.                         <AbsDimension x="80" y="20" />
  98.                     </Size>
  99.                     <Anchors>
  100.                         <Anchor point="TOPLEFT">
  101.                             <Offset x="104" y="-44" />
  102.                         </Anchor>
  103.                     </Anchors>
  104.                 </FontString>
  105.                 <FontString name="FontString4" inherits="GameFontNormal" text="Arawyn">
  106.                     <Size>
  107.                         <AbsDimension x="80" y="20" />
  108.                     </Size>
  109.                     <Anchors>
  110.                         <Anchor point="TOPLEFT">
  111.                             <Offset x="12" y="-44" />
  112.                         </Anchor>
  113.                     </Anchors>
  114.                 </FontString>
  115.                 <FontString name="FontString5" inherits="GameFontNormal" text="TEST">
  116.                     <Size>
  117.                         <AbsDimension x="80" y="20" />
  118.                     </Size>
  119.                     <Anchors>
  120.                         <Anchor point="TOPLEFT">
  121.                             <Offset x="12" y="-70" />
  122.                         </Anchor>
  123.                     </Anchors>
  124.                 </FontString>
  125.                 <FontString name="FontString6" inherits="GameFontNormal" text="">
  126.                     <Size>
  127.                         <AbsDimension x="80" y="20" />
  128.                     </Size>
  129.                     <Anchors>
  130.                         <Anchor point="TOPLEFT">
  131.                             <Offset x="104" y="-70" />
  132.                         </Anchor>
  133.                     </Anchors>
  134.                 </FontString>
  135.             </Layer>
  136.         </Layers>
  137.         <Scripts>
  138.             <OnLoad>self:RegisterForDrag("LeftButton");</OnLoad>
  139.             <OnDragStart>self:StartMoving();</OnDragStart>
  140.             <OnDragStop>self:StopMovingOrSizing();</OnDragStop>
  141.         </Scripts>
  142.     </Frame>
  143. </Ui>