2023-04-26 20:39:27 +00:00
|
|
|
<?xml-model href="UI.xsd" ?>
|
|
|
|
<Ui xmlns="http://www.blizzard.com/wow/ui/"
|
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
|
>
|
2023-04-27 17:27:22 +00:00
|
|
|
<Frame name="Poker_TableBrowser" parent="UIParent" hidden="true" movable="true" enableMouse="true" clampedToScreen="true">
|
|
|
|
<Scripts>
|
|
|
|
<OnLoad>
|
|
|
|
self:RegisterForDrag("LeftButton")
|
|
|
|
self:SetUserPlaced(1)
|
|
|
|
</OnLoad>
|
|
|
|
<OnDragStart>
|
|
|
|
self:StartMoving()
|
|
|
|
</OnDragStart>
|
|
|
|
<OnDragStop>
|
|
|
|
self:StopMovingOrSizing()
|
|
|
|
</OnDragStop>
|
|
|
|
</Scripts>
|
2023-04-26 20:39:27 +00:00
|
|
|
<Anchors>
|
|
|
|
<Anchor point="LEFT" relativePoint="CENTER">
|
|
|
|
<Offset>
|
|
|
|
<AbsDimension x="200" y="0"/>
|
|
|
|
</Offset>
|
|
|
|
</Anchor>
|
|
|
|
</Anchors>
|
|
|
|
<Size>
|
|
|
|
<AbsDimension x="384" y="350"/>
|
|
|
|
</Size>
|
|
|
|
<KeyValues>
|
|
|
|
<KeyValue key="backdropInfo" value="BACKDROP_DARK_DIALOG_32_32" type="global"/>
|
|
|
|
<KeyValue key="backdropColor" value="BLACK" type="global"/>
|
|
|
|
<KeyValue key="backdropBorderColor" value="WHITE" type="global"/>
|
|
|
|
</KeyValues>
|
|
|
|
<Layers>
|
2023-04-27 17:27:22 +00:00
|
|
|
<Layer level="BORDER">
|
|
|
|
<Texture parentKey="TopLeft" parentArray="Textures" file="Interface\Common\ThinBorder2-Corner">
|
|
|
|
<Size x="8" y="8"/>
|
2023-04-26 20:39:27 +00:00
|
|
|
<Anchors>
|
2023-04-27 17:27:22 +00:00
|
|
|
<Anchor point="TOPLEFT" x="-3" y="3"/>
|
2023-04-26 20:39:27 +00:00
|
|
|
</Anchors>
|
2023-04-27 17:27:22 +00:00
|
|
|
</Texture>
|
|
|
|
<Texture parentKey="TopRight" parentArray="Textures" file="Interface\Common\ThinBorder2-Corner">
|
|
|
|
<Size x="8" y="8"/>
|
|
|
|
<Anchors>
|
|
|
|
<Anchor point="TOPRIGHT" x="3" y="3"/>
|
|
|
|
</Anchors>
|
|
|
|
<TexCoords left="1" right="0" top="0" bottom="1"/>
|
|
|
|
</Texture>
|
|
|
|
<Texture parentKey="BottomLeft" parentArray="Textures" file="Interface\Common\ThinBorder2-Corner">
|
|
|
|
<Size x="8" y="8"/>
|
|
|
|
<Anchors>
|
|
|
|
<Anchor point="BOTTOMLEFT" x="-3" y="-3"/>
|
|
|
|
</Anchors>
|
|
|
|
<TexCoords left="0" right="1" top="1" bottom="0"/>
|
|
|
|
</Texture>
|
|
|
|
<Texture parentKey="BottomRight" parentArray="Textures" file="Interface\Common\ThinBorder2-Corner">
|
|
|
|
<Size x="8" y="8"/>
|
|
|
|
<Anchors>
|
|
|
|
<Anchor point="BOTTOMRIGHT" x="3" y="-3"/>
|
|
|
|
</Anchors>
|
|
|
|
<TexCoords left="1" right="0" top="1" bottom="0"/>
|
|
|
|
</Texture>
|
|
|
|
|
|
|
|
<Texture parentKey="Top" parentArray="Textures" file="Interface\Common\ThinBorder2-Top">
|
|
|
|
<Anchors>
|
|
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.TopLeft" relativePoint="TOPRIGHT"/>
|
|
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.TopRight" relativePoint="BOTTOMLEFT"/>
|
|
|
|
</Anchors>
|
|
|
|
</Texture>
|
|
|
|
<Texture parentKey="Bottom" parentArray="Textures" file="Interface\Common\ThinBorder2-Top">
|
|
|
|
<Anchors>
|
|
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.BottomLeft" relativePoint="TOPRIGHT"/>
|
|
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomRight" relativePoint="BOTTOMLEFT"/>
|
|
|
|
</Anchors>
|
|
|
|
<TexCoords left="0" right="1" top="1" bottom="0"/>
|
|
|
|
</Texture>
|
|
|
|
|
|
|
|
<Texture parentKey="Left" parentArray="Textures" file="Interface\Common\ThinBorder2-Left">
|
|
|
|
<Anchors>
|
|
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.TopLeft" relativePoint="BOTTOMLEFT"/>
|
|
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomLeft" relativePoint="TOPRIGHT"/>
|
|
|
|
</Anchors>
|
|
|
|
</Texture>
|
|
|
|
<Texture parentKey="Right" parentArray="Textures" file="Interface\Common\ThinBorder2-Left">
|
|
|
|
<Anchors>
|
|
|
|
<Anchor point="TOPLEFT" relativeKey="$parent.TopRight" relativePoint="BOTTOMLEFT"/>
|
|
|
|
<Anchor point="BOTTOMRIGHT" relativeKey="$parent.BottomRight" relativePoint="TOPRIGHT"/>
|
|
|
|
</Anchors>
|
|
|
|
<TexCoords left="1" right="0" top="0" bottom="1"/>
|
2023-04-26 20:39:27 +00:00
|
|
|
</Texture>
|
|
|
|
</Layer>
|
|
|
|
<Layer level="ARTWORK">
|
|
|
|
<Texture name="$parentTitle" file="Interface\DialogFrame\UI-DialogBox-Header">
|
|
|
|
<Size>
|
|
|
|
<AbsDimension x="375" y="64"/>
|
|
|
|
</Size>
|
|
|
|
<Anchors>
|
|
|
|
<Anchor point="TOP">
|
|
|
|
<Offset>
|
|
|
|
<AbsDimension x="0" y="12"/>
|
|
|
|
</Offset>
|
|
|
|
</Anchor>
|
|
|
|
</Anchors>
|
|
|
|
</Texture>
|
|
|
|
<FontString inherits="GameFontNormal" text="POKER_BROWSER_TITLE">
|
|
|
|
<Anchors>
|
|
|
|
<Anchor point="TOP" relativeTo="$parentTitle">
|
|
|
|
<Offset>
|
|
|
|
<AbsDimension x="0" y="-14"/>
|
|
|
|
</Offset>
|
|
|
|
</Anchor>
|
|
|
|
</Anchors>
|
|
|
|
</FontString>
|
|
|
|
</Layer>
|
|
|
|
</Layers>
|
2023-04-27 17:27:22 +00:00
|
|
|
<Frames>
|
|
|
|
<Button name="$parentTestButton" text="Test :)" inherits="UIPanelButtonTemplate">
|
|
|
|
<Size>
|
|
|
|
<AbsDimension x="96" y="32"/>
|
|
|
|
</Size>
|
|
|
|
<Anchors>
|
|
|
|
<Anchor point="CENTER"/>
|
|
|
|
</Anchors>
|
|
|
|
<Scripts>
|
|
|
|
<OnLoad>
|
|
|
|
self:RegisterForClicks(
|
|
|
|
"LeftButtonUp",
|
|
|
|
"RightButtonUp",
|
|
|
|
"MiddleButtonDown"
|
|
|
|
)
|
|
|
|
</OnLoad>
|
|
|
|
<OnClick>
|
|
|
|
print("Clicked with", button)
|
|
|
|
</OnClick>
|
|
|
|
</Scripts>
|
|
|
|
</Button>
|
|
|
|
</Frames>
|
2023-04-26 20:39:27 +00:00
|
|
|
</Frame>
|
|
|
|
</Ui>
|