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="Perl_Config.lua"/>


        <Frame name="Perl_Config_Frame" frameStrata="DIALOG" hidden="true" enableMouse="true">
                <Scripts>
                        <OnEvent>
                                Perl_Config_OnEvent(event);
                        </OnEvent>
                        <OnLoad>
                                Perl_Config_OnLoad();
                        </OnLoad>
                </Scripts>
                <Size>
                        <AbsDimension x="600" y="500"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER"/>
                </Anchors>
                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
                        <TileSize>
                                <AbsValue val="32"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="32"/>
                        </EdgeSize>
                        <BackgroundInsets>
                                <AbsInset left="11" right="12" top="12" bottom="11"/>
                        </BackgroundInsets>
                </Backdrop>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="Perl_Config_Header" file="Interface\DialogFrame\UI-DialogBox-Header">
                                        <Size>
                                                <AbsDimension x="256" y="64"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString inherits="GameFontNormal" text="Perl Config">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="Perl_Config_Header">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="$parent_Title_Text" inherits="GameFontNormal" text="Perl Classic Unit Frames">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="55" y="-15"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="$parent_Version_Text" inherits="GameFontNormal" text="Version 0.58">
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-90" y="-15"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>

                <Frames>
                        <Button name="Perl_Config_Close_Button" inherits="UIPanelButtonTemplate" text="Close">
                                <Size>
                                        <AbsDimension x="80" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-20" y="20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_Toggle();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Perl_Config_Close_X_Button" inherits="UIPanelCloseButton">
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-4" y="-4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_Toggle();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Perl_Config_All_Button" inherits="UIPanelButtonTemplate" text="All">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="CENTER">
                                                <Offset>
                                                        <AbsDimension x="0" y="215"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_All_Display();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Perl_Config_ArcaneBar_Button" inherits="UIPanelButtonTemplate" text="ArcaneBar">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="CENTER">
                                                <Offset>
                                                        <AbsDimension x="-210" y="185"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_ArcaneBar_Display();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Perl_Config_CombatDisplay_Button" inherits="UIPanelButtonTemplate" text="CombatDisplay">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_ArcaneBar_Button">
                                                <Offset>
                                                        <AbsDimension x="5" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_CombatDisplay_Display();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Perl_Config_Party_Button" inherits="UIPanelButtonTemplate" text="Party">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_CombatDisplay_Button">
                                                <Offset>
                                                        <AbsDimension x="5" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_Party_Display();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Perl_Config_Party_Pet_Button" inherits="UIPanelButtonTemplate" text="Party Pet">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_Party_Button">
                                                <Offset>
                                                        <AbsDimension x="5" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_Party_Pet_Display();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Perl_Config_Player_Button" inherits="UIPanelButtonTemplate" text="Player">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_Party_Pet_Button">
                                                <Offset>
                                                        <AbsDimension x="5" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_Player_Display();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Perl_Config_Player_Buff_Button" inherits="UIPanelButtonTemplate" text="Player Buff">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="Perl_Config_ArcaneBar_Button">
                                                <Offset>
                                                        <AbsDimension x="0" y="-5"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_Player_Buff_Display();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Perl_Config_Player_Pet_Button" inherits="UIPanelButtonTemplate" text="Player Pet">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_Player_Buff_Button">
                                                <Offset>
                                                        <AbsDimension x="5" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_Player_Pet_Display();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Perl_Config_Raid_Button" inherits="UIPanelButtonTemplate" text="Raid">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_Player_Pet_Button">
                                                <Offset>
                                                        <AbsDimension x="5" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_Raid_Display();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Perl_Config_Target_Button" inherits="UIPanelButtonTemplate" text="Target">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_Raid_Button">
                                                <Offset>
                                                        <AbsDimension x="5" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_Target_Display();
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <Button name="Perl_Config_Target_Target_Button" inherits="UIPanelButtonTemplate" text="Target Target">
                                <Size>
                                        <AbsDimension x="100" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="Perl_Config_Target_Button">
                                                <Offset>
                                                        <AbsDimension x="5" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_Target_Target_Display();
                                        </OnClick>
                                </Scripts>
                        </Button>
                </Frames>
        </Frame>


        <Frame name="Perl_Config_NotInstalled_Frame" frameStrata="DIALOG" hidden="true" enableMouse="true">
                <Size>
                        <AbsDimension x="600" y="380"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="Perl_Config_Frame">
                                <Offset>
                                        <AbsDimension x="0" y="-120"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="Perl_Config_NotInstalled_Header" file="Interface\DialogFrame\UI-DialogBox-Header">
                                        <Size>
                                                <AbsDimension x="256" y="64"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="0" y="12"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString inherits="GameFontNormal" text="Not Installed">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="Perl_Config_NotInstalled_Header">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString inherits="GameFontNormal" text="The requested mod is not installed or enabled.">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="Perl_Config_NotInstalled_Header">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-80"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>

                <Frames>
                        <Button name="Perl_Config_Close_Button" inherits="UIPanelButtonTemplate" text="Close">
                                <Size>
                                        <AbsDimension x="80" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-20" y="20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_Toggle();
                                        </OnClick>
                                </Scripts>
                        </Button>
                </Frames>
        </Frame>


        <Frame name="Perl_Config_ButtonFrame" parent="Minimap" enableMouse="true" hidden="false" frameStrata="LOW">
                <Size>
                        <AbsDimension x="32" y="32"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT">
                                <Offset>
                                        <AbsDimension x="2" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Button name="PerlButton">
                                <Size>
                                        <AbsDimension x="32" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <NormalTexture file="Interface\AddOns\Perl_Config\Perl_Minimap_Button"/>
                                <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
                                <Scripts>
                                        <OnClick>
                                                Perl_Config_Button_OnClick();
                                        </OnClick>
                                        <OnEnter>
                                                GameTooltip:SetOwner(this, "ANCHOR_LEFT");
                                                GameTooltip:SetText("Perl Options");
                                        </OnEnter>
                                        <OnLeave>
                                                GameTooltip:Hide();
                                        </OnLeave>
                                </Scripts>
                        </Button>
                </Frames>
        </Frame>

</Ui>

Generated by GNU Enscript 1.6.5.90.