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


        <Frame name="Perl_Config_Party_Pet_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_Party_Pet_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="Party Pet">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="Perl_Config_Party_Pet_Header">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="$parent_Buff_Location_Text" inherits="GameFontNormal" text="Buff Location">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="400" y="-90"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="$parent_Debuff_Location_Text" inherits="GameFontNormal" text="Debuff Location">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="400" y="-150"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="$parent_Buff_Size_Text" inherits="GameFontNormal" text="Buff Size (12 is default)">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="400" y="-210"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="$parent_Debuff_Size_Text" inherits="GameFontNormal" text="Debuff Size (12 is default)">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="400" y="-270"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="$parent_Buff_Text" inherits="GameFontNormal" text="# of Buffs">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="200" y="-210"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="$parent_Debuff_Text" inherits="GameFontNormal" text="# of Debuffs">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="200" y="-270"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="$parent_Misc_Text" inherits="GameFontNormal" text="Misc">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="20" y="-30"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="$parent_Transparency_Text" inherits="GameFontNormal" text="Transparency">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="350" y="-30"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="$parent_Scaling_Text" inherits="GameFontNormal" text="Scaling">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="20" y="-325"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>

                <Frames>
                        <Slider name="$parent_Slider1" inherits="OptionsSliderTemplate" minValue="1" maxValue="149" valueStep="1">
                                <Size>
                                        <AbsDimension x="200" y="15"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Scaling_Text">
                                                <Offset>
                                                        <AbsDimension x="20" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnValueChanged>
                                                getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
                                                Perl_Config_Party_Pet_Set_Scale(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <CheckButton name="$parent_CheckButton1" inherits="UICheckButtonTemplate" id="1">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Slider1">
                                                <Offset>
                                                        <AbsDimension x="20" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Set To Current UI Scale");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Pet_Set_Scale();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

                        <Slider name="$parent_Slider2" inherits="OptionsSliderTemplate" minValue="0" maxValue="100" valueStep="1">
                                <Size>
                                        <AbsDimension x="200" y="15"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Transparency_Text">
                                                <Offset>
                                                        <AbsDimension x="20" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnValueChanged>
                                                getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
                                                Perl_Config_Party_Pet_Set_Transparency(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <Slider name="$parent_Slider3" inherits="OptionsSliderTemplate" minValue="0" maxValue="16" valueStep="1">
                                <Size>
                                        <AbsDimension x="150" y="15"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Text">
                                                <Offset>
                                                        <AbsDimension x="20" y="-25"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnValueChanged>
                                                getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
                                                Perl_Config_Party_Pet_Set_Buffs(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <Slider name="$parent_Slider4" inherits="OptionsSliderTemplate" minValue="0" maxValue="16" valueStep="1">
                                <Size>
                                        <AbsDimension x="150" y="15"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Text">
                                                <Offset>
                                                        <AbsDimension x="20" y="-25"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnValueChanged>
                                                getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
                                                Perl_Config_Party_Pet_Set_Debuffs(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <Slider name="$parent_Slider5" inherits="OptionsSliderTemplate" minValue="1" maxValue="50" valueStep="1">
                                <Size>
                                        <AbsDimension x="150" y="15"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Size_Text">
                                                <Offset>
                                                        <AbsDimension x="20" y="-25"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnValueChanged>
                                                getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
                                                Perl_Config_Party_Pet_Set_Buff_Size(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <Slider name="$parent_Slider6" inherits="OptionsSliderTemplate" minValue="1" maxValue="50" valueStep="1">
                                <Size>
                                        <AbsDimension x="150" y="15"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Size_Text">
                                                <Offset>
                                                        <AbsDimension x="20" y="-25"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnValueChanged>
                                                getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
                                                Perl_Config_Party_Pet_Set_Debuff_Size(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <Slider name="$parent_Slider7" inherits="OptionsSliderTemplate" minValue="1" maxValue="5" valueStep="1">
                                <Size>
                                        <AbsDimension x="150" y="15"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Buff_Location_Text">
                                                <Offset>
                                                        <AbsDimension x="20" y="-25"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnValueChanged>
                                                getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
                                                Perl_Config_Party_Pet_Set_Buff_Location(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <Slider name="$parent_Slider8" inherits="OptionsSliderTemplate" minValue="1" maxValue="5" valueStep="1">
                                <Size>
                                        <AbsDimension x="150" y="15"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Debuff_Location_Text">
                                                <Offset>
                                                        <AbsDimension x="20" y="-25"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnValueChanged>
                                                getglobal(this:GetName().."Text"):SetText(getglobal(this:GetName()):GetValue());
                                                Perl_Config_Party_Pet_Set_Debuff_Location(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <Button name="$parent_Button1" inherits="UIPanelButtonTemplate" text="Reset Frame Positions">
                                <Size>
                                        <AbsDimension x="170" y="22"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Misc_Text">
                                                <Offset>
                                                        <AbsDimension x="175" y="-50"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Perl_Party_Pet_Allign();
                                                DEFAULT_CHAT_FRAME:AddMessage("|cffffff00Perl Classic Unit Frames: Party_Pet Frame Positions have been reset.");
                                        </OnClick>
                                </Scripts>
                        </Button>

                        <CheckButton name="$parent_CheckButton2" inherits="UICheckButtonTemplate" id="2">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Misc_Text">
                                                <Offset>
                                                        <AbsDimension x="20" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Display Portrait Frames");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Pet_Portrait_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="$parent_CheckButton3" inherits="UICheckButtonTemplate" id="3">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton2">
                                                <Offset>
                                                        <AbsDimension x="20" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("3D Portrait Frames");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Pet_3D_Portrait_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="$parent_CheckButton5" inherits="UICheckButtonTemplate" id="5">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton3">
                                                <Offset>
                                                        <AbsDimension x="-20" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Hidden In Raids");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Pet_Hidden_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="$parent_CheckButton4" inherits="UICheckButtonTemplate" id="4">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton5">
                                                <Offset>
                                                        <AbsDimension x="0" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Lock Party_Pet Frames");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Pet_Lock_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>
                </Frames>

        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.