Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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/">
- <Script file="Frame.lua" />
- <Frame name="Frame1" parent="UIParent" toplevel="true" movable="true" enableMouse="true">
- <Size>
- <AbsDimension x="200" y="200" />
- </Size>
- <Anchors>
- <Anchor point="CENTER" />
- </Anchors>
- <TitleRegion setAllPoints="true">
- <Size>
- <AbsDimension x="0" y="30" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT" />
- <Anchor point="TOPRIGHT" />
- </Anchors>
- </TitleRegion>
- <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
- <BackgroundInsets>
- <AbsInset left="11" right="12" top="12" bottom="11" />
- </BackgroundInsets>
- <TileSize>
- <AbsValue val="32" />
- </TileSize>
- <EdgeSize>
- <AbsValue val="32" />
- </EdgeSize>
- </Backdrop>
- <HitRectInsets>
- <AbsInset left="1" right="1" top="1" bottom="1" />
- </HitRectInsets>
- <Frames>
- <Button name="Button1" inherits="UIPanelButtonTemplate" text="Test">
- <Size>
- <AbsDimension x="75" y="23" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset x="12" y="-164" />
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>Button1_OnClick();</OnClick>
- </Scripts>
- <ButtonText font="Fonts\FRIZQT__.TTF">
- <FontHeight>
- <AbsValue val="12" />
- </FontHeight>
- <Color r="1" g="1" b="0" />
- </ButtonText>
- </Button>
- <Button name="Button2" inherits="UIPanelButtonTemplate" text="Hide">
- <Size>
- <AbsDimension x="75" y="23" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset x="109" y="-164" />
- </Anchor>
- </Anchors>
- <Scripts>
- <OnClick>Button2_OnClick();</OnClick>
- </Scripts>
- <ButtonText font="Fonts\FRIZQT__.TTF">
- <FontHeight>
- <AbsValue val="12" />
- </FontHeight>
- <Color r="1" g="1" b="0" />
- </ButtonText>
- </Button>
- </Frames>
- <Layers>
- <Layer level="OVERLAY">
- <FontString name="FontString1" inherits="GameFontNormal" text="Players">
- <Size>
- <AbsDimension x="80" y="20" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset x="12" y="-18" />
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="FontString2" inherits="GameFontNormal" text="Rolling">
- <Size>
- <AbsDimension x="80" y="20" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset x="104" y="-18" />
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="FontString3" inherits="GameFontNormal" text="">
- <Size>
- <AbsDimension x="80" y="20" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset x="104" y="-44" />
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="FontString4" inherits="GameFontNormal" text="Arawyn">
- <Size>
- <AbsDimension x="80" y="20" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset x="12" y="-44" />
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="FontString5" inherits="GameFontNormal" text="TEST">
- <Size>
- <AbsDimension x="80" y="20" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset x="12" y="-70" />
- </Anchor>
- </Anchors>
- </FontString>
- <FontString name="FontString6" inherits="GameFontNormal" text="">
- <Size>
- <AbsDimension x="80" y="20" />
- </Size>
- <Anchors>
- <Anchor point="TOPLEFT">
- <Offset x="104" y="-70" />
- </Anchor>
- </Anchors>
- </FontString>
- </Layer>
- </Layers>
- <Scripts>
- <OnLoad>self:RegisterForDrag("LeftButton");</OnLoad>
- <OnDragStart>self:StartMoving();</OnDragStart>
- <OnDragStop>self:StopMovingOrSizing();</OnDragStop>
- </Scripts>
- </Frame>
- </Ui>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement