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


        <Frame name="Perl_Config_Party_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>
                <!--
                <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>
                
                <Scripts>
                        <OnLoad>
                                Perl_Config_Party_Set_Values();
                        </OnLoad>
                </Scripts>-->
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="Perl_Config_Party_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">
                                        <Anchors>
                                                <Anchor point="TOP" relativeTo="Perl_Config_Party_Header">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-14"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

                                <FontString name="$parent_Space_Text" inherits="GameFontNormal" text="Spacing (80 is default)">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="20" y="-270"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>

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

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

                                <FontString name="$parent_Misc2_Text" inherits="GameFontNormal" text=" ">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="230" y="-120"/>
                                                        </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_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 (16 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 (16 is default)">
                                        <Anchors>
                                                <Anchor point="LEFT" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="400" y="-270"/>
                                                        </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>
                        <CheckButton name="$parent_CheckButton1" inherits="UICheckButtonTemplate" id="1">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_Display_Mode_Text">
                                                <Offset>
                                                        <AbsDimension  x="20" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Always Shown");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Frame_CheckButton2:SetChecked(nil)    <!-- We need to uncheck Button 2 -->
                                                Perl_Config_Party_Frame_CheckButton3:SetChecked(nil)    <!-- We need to uncheck Button 3 -->
                                                Perl_Config_Party_Hidden_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="$parent_CheckButton2" inherits="UICheckButtonTemplate" id="2">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton1" >
                                                <Offset>
                                                        <AbsDimension  x="0" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Hidden In Raids");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Frame_CheckButton1:SetChecked(nil)    <!-- We need to uncheck Button 1 -->
                                                Perl_Config_Party_Frame_CheckButton3:SetChecked(nil)    <!-- We need to uncheck Button 3 -->
                                                Perl_Config_Party_Hidden_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="0" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Always Hidden");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Frame_CheckButton1:SetChecked(nil)    <!-- We need to uncheck Button 1 -->
                                                Perl_Config_Party_Frame_CheckButton2:SetChecked(nil)    <!-- We need to uncheck Button 2 -->
                                                Perl_Config_Party_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_Misc_Text">
                                                <Offset>
                                                        <AbsDimension x="20" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Compact Mode");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Compact_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="$parent_CheckButton11" inherits="UICheckButtonTemplate" id="11">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton4">
                                                <Offset>
                                                        <AbsDimension x="20" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Display Percents");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Compact_Percent_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_CheckButton4">
                                                <Offset>
                                                        <AbsDimension x="0" y="-40"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Healer Mode");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Healer_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="$parent_CheckButton8" inherits="UICheckButtonTemplate" id="8">
                                <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 Frames");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Lock_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

                        <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_Set_Scale(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <CheckButton name="$parent_CheckButton9" inherits="UICheckButtonTemplate" id="9">
                                <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_Set_Scale();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

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

                        <Slider name="$parent_Slider3" 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_Set_Transparency(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <Slider name="$parent_Slider4" 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_Set_Buff_Location(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <Slider name="$parent_Slider5" 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_Set_Debuff_Location(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_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_Set_Buff_Size(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <Slider name="$parent_Slider7" 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_Set_Debuff_Size(getglobal(this:GetName()):GetValue());
                                        </OnValueChanged>
                                </Scripts>
                        </Slider>

                        <CheckButton name="$parent_CheckButton6" inherits="UICheckButtonTemplate" id="6">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Misc2_Text">
                                                <Offset>
                                                        <AbsDimension x="20" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Party Pets");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Pets_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="$parent_CheckButton10" inherits="UICheckButtonTemplate" id="10">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton6">
                                                <Offset>
                                                        <AbsDimension x="0" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Vertical Party Frames");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_VerticalAlign_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

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

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

                        <CheckButton name="$parent_CheckButton13" inherits="UICheckButtonTemplate" id="13">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton15">
                                                <Offset>
                                                        <AbsDimension x="-20" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Display F Keys");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_FKeys_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>

                        <CheckButton name="$parent_CheckButton14" inherits="UICheckButtonTemplate" id="14">
                                <Size>
                                        <AbsDimension x="20" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent_CheckButton13">
                                                <Offset>
                                                        <AbsDimension x="0" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                getglobal(this:GetName().."Text"):SetText("Class Buffs/Debuffs");
                                        </OnLoad>
                                        <OnClick>
                                                Perl_Config_Party_Class_Buffs_Update();
                                        </OnClick>
                                </Scripts>
                        </CheckButton>
                </Frames>

        </Frame>
</Ui>

Generated by GNU Enscript 1.6.5.90.