vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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">

        <Script file="AceGUIDialog.lua"/>

         <!-- Basic dialog template -->
        <Frame name="AceGUIBasicDialogTemplate" inherits="AceGUIBorderFrameTemplate"
                   parent="UIParent" toplevel="true" frameStrata="DIALOG" movable="true"
                   enableMouse="true" enableKeyboard="true" hidden="true" virtual="true">
                <Anchors>
                        <Anchor point="CENTER"/>
                </Anchors>
        </Frame>


        <Frame name="AceGUIDialogHeaderTemplate" hidden="true" virtual="true">
                <Size>
                        <AbsDimension x="384" y="64"/>
                </Size>
                <Anchors>
                        <Anchor point="TOP">
                                <Offset>
                                        <AbsDimension x="0" y="12"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="$parentBar" file="Interface\DialogFrame\UI-DialogBox-Header">
                                        <Size>
                                                <AbsDimension x="384" y="64"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="LEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                        </Layer>
                        <Layer level="ARTWORK">
                                <FontString name="$parentTitle" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
        </Frame>

        <!-- Standard dialog template -->
        <Frame name="AceGUIDialogTemplate" inherits="AceGUIBasicDialogTemplate" virtual="true">
                <TitleRegion setAllPoints="true"/>
                <Size>
                        <AbsDimension x="440" y="400"/>
                </Size>
                <Frames>
                        <Frame name="$parentHeader" inherits="AceGUIDialogHeaderTemplate"/>
                        <Button name="$parentClose" inherits="AceGUIPanelButtonTemplate">
                                <Size>
                                        <AbsDimension x="98" y="26"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-16" y="18"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                this:GetParent():Hide()
                                        </OnClick>
                                </Scripts>
                        </Button>
                </Frames>
        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.